From Tom Sealey, 1 Year ago, written in Plain Text.
This paste is a reply to from - view diff
Embed
  1. LibreNMS Discovery
  2. Version info:
  3. Commit SHA: 75d62aa068944e17948253781b3805140a98f813
  4. DB Schema: 186
  5. PHP: 7.0.15-0ubuntu0.16.04.4
  6. MySQL: 10.0.29-MariaDB-0ubuntu0.16.04.1
  7. RRDTool: 1.5.5
  8. SNMP: NET-SNMP 5.7.3
  9. DEBUG!
  10. SQL[[0;33mSELECT version FROM `dbSchema` ORDER BY version DESC LIMIT 1[0m]
  11. DB Schema already up to date.
  12. SQL[[0;33mSELECT * FROM `devices` WHERE status = 1 AND disabled = 0 AND `hostname` LIKE 'lg-testucp' ORDER BY device_id DESC[0m]
  13. SQL[[0;33mSELECT * FROM devices_attribs WHERE `device_id` = '49'[0m]
  14. lg-testucp 49 ELG-UCP100 SQL[[0;33mINSERT INTO `device_perf` (`xmt`,`rcv`,`loss`,`min`,`max`,`avg`,`device_id`,`timestamp`)  VALUES ('3','3','0','0.59','0.96','0.76','49',NOW())[0m]
  15. SNMP Check response code: 0
  16.  
  17. Modules status: Global+ OS  Device  
  18. #### Load disco module os ####
  19. SNMP[[0;36m/usr/bin/snmpget -v2c -c COMMUNITY -Ovq -M /opt/librenms/mibs udp:HOSTNAME:161 SNMPv2-MIB::sysDescr.0[0m]
  20. Ericsson-LG,UCP100,UCP-R2.0.16&Boot Version-1.0Da JAN/16
  21.  
  22. SNMP[[0;36m/usr/bin/snmpget -v2c -c COMMUNITY -Ovqn -M /opt/librenms/mibs udp:HOSTNAME:161 SNMPv2-MIB::sysObjectID.0[0m]
  23. .*.4.1.572.16838
  24.  
  25. | Ericsson-LG,UCP100,UCP-R2.0.16&Boot Version-1.0Da JAN/16 | .1.3.6.1.4.1.572.16838 |
  26. SNMP[[0;36m/usr/bin/snmpget -v2c -c COMMUNITY -Oqvn -M /opt/librenms/mibs udp:HOSTNAME:161 ENTITY-MIB::entPhysicalDescr.1[0m]
  27. No Such Object available on this agent at this OID
  28.  
  29.  
  30. >> Runtime for discovery module 'os': 0.1550 seconds with 89696 bytes
  31. #### Unload disco module os ####
  32.  
  33. Modules status: Global+ OS  Device  
  34. #### Load disco module ports ####
  35. SNMP[[0;36m/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m IF-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 ifDescr[0m]
  36. ifDescr.1 = lo
  37. ifDescr.2 = eth1
  38. ifDescr.3 = eth0
  39. ifDescr.4 = eth2
  40. ifDescr.5 = gre0
  41. ifDescr.6 = sit0
  42. ifDescr.7 = ip6tnl0
  43. ifDescr.8 = ethipip6tnl0
  44. ifDescr.9 = ippp0
  45.  
  46. SNMP[[0;36m/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m IF-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 ifName[0m]
  47. ifName.1 = lo
  48. ifName.2 = eth1
  49. ifName.3 = eth0
  50. ifName.4 = eth2
  51. ifName.5 = gre0
  52. ifName.6 = sit0
  53. ifName.7 = ip6tnl0
  54. ifName.8 = ethipip6tnl0
  55. ifName.9 = ippp0
  56.  
  57. SNMP[[0;36m/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m IF-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 ifAlias[0m]
  58. ifAlias.1 =
  59. ifAlias.2 =
  60. ifAlias.3 =
  61. ifAlias.4 =
  62. ifAlias.5 =
  63. ifAlias.6 =
  64. ifAlias.7 =
  65. ifAlias.8 =
  66. ifAlias.9 =
  67.  
  68. SNMP[[0;36m/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m IF-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 ifType[0m]
  69. ifType.1 = softwareLoopback
  70. ifType.2 = ethernetCsmacd
  71. ifType.3 = ethernetCsmacd
  72. ifType.4 = ethernetCsmacd
  73. ifType.5 = tunnel
  74. ifType.6 = tunnel
  75. ifType.7 = tunnel
  76. ifType.8 = ethernetCsmacd
  77. ifType.9 = ppp
  78.  
  79. Array
  80. (
  81.     [1] => Array
  82.         (
  83.             [ifDescr] => lo
  84.             [ifName] => lo
  85.             [ifAlias] =>
  86.             [ifType] => softwareLoopback
  87.         )
  88.  
  89.     [2] => Array
  90.         (
  91.             [ifDescr] => eth1
  92.             [ifName] => eth1
  93.             [ifAlias] =>
  94.             [ifType] => ethernetCsmacd
  95.         )
  96.  
  97.     [3] => Array
  98.         (
  99.             [ifDescr] => eth0
  100.             [ifName] => eth0
  101.             [ifAlias] =>
  102.             [ifType] => ethernetCsmacd
  103.         )
  104.  
  105.     [4] => Array
  106.         (
  107.             [ifDescr] => eth2
  108.             [ifName] => eth2
  109.             [ifAlias] =>
  110.             [ifType] => ethernetCsmacd
  111.         )
  112.  
  113.     [5] => Array
  114.         (
  115.             [ifDescr] => gre0
  116.             [ifName] => gre0
  117.             [ifAlias] =>
  118.             [ifType] => tunnel
  119.         )
  120.  
  121.     [6] => Array
  122.         (
  123.             [ifDescr] => sit0
  124.             [ifName] => sit0
  125.             [ifAlias] =>
  126.             [ifType] => tunnel
  127.         )
  128.  
  129.     [7] => Array
  130.         (
  131.             [ifDescr] => ip6tnl0
  132.             [ifName] => ip6tnl0
  133.             [ifAlias] =>
  134.             [ifType] => tunnel
  135.         )
  136.  
  137.     [8] => Array
  138.         (
  139.             [ifDescr] => ethipip6tnl0
  140.             [ifName] => ethipip6tnl0
  141.             [ifAlias] =>
  142.             [ifType] => ethernetCsmacd
  143.         )
  144.  
  145.     [9] => Array
  146.         (
  147.             [ifDescr] => ippp0
  148.             [ifName] => ippp0
  149.             [ifAlias] =>
  150.             [ifType] => ppp
  151.         )
  152.  
  153. )
  154. SQL[[0;33mSELECT `name` FROM `port_association_mode` WHERE pom_id = '1'[0m]
  155. SQL[[0;33mSELECT * FROM `ports` WHERE `device_id` = '49' ORDER BY port_id[0m]
  156. .........
  157.  
  158. >> Runtime for discovery module 'ports': 0.0720 seconds with 2104 bytes
  159. #### Unload disco module ports ####
  160.  
  161. Modules status: Global+ OS  Device  
  162. #### Load disco module ports-stack ####
  163. SQL[[0;33mSELECT * FROM `ports_stack` WHERE `device_id` = '49'[0m]
  164. SNMP[[0;36m/usr/bin/snmpbulkwalk -v2c -c COMMUNITY  -OQUs -M /opt/librenms/mibs udp:HOSTNAME:161 ifStackStatus[0m]
  165.  
  166.  
  167.  
  168. >> Runtime for discovery module 'ports-stack': 0.0110 seconds with 640 bytes
  169. #### Unload disco module ports-stack ####
  170.  
  171. Modules status: Global+ OS  Device  
  172. #### Load disco module entity-physical ####
  173.  
  174. Caching OIDs: entPhysicalEntrySNMP[[0;36m/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m ENTITY-MIB:CISCO-ENTITY-VENDORTYPE-OID-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 entPhysicalEntry[0m]
  175. entPhysicalEntry = No Such Object available on this agent at this OID
  176.  
  177.  entAliasMappingIdentifierSNMP[[0;36m/usr/bin/snmpbulkwalk -v2c -c COMMUNITY  -OQUs -m ENTITY-MIB:IF-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 entAliasMappingIdentifier[0m]
  178. entAliasMappingIdentifier = No Such Object available on this agent at this OID
  179.  
  180.  
  181. SQL[[0;33mSELECT * FROM `entPhysical` WHERE `device_id` = '49'[0m]
  182.  
  183. >> Runtime for discovery module 'entity-physical': 0.0740 seconds with 2928 bytes
  184. #### Unload disco module entity-physical ####
  185.  
  186. Modules status: Global+ OS  Device  
  187. #### Load disco module processors ####
  188.  hrDevice: SNMP[[0;36m/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES -M /opt/librenms/mibs udp:HOSTNAME:161 hrDevice[0m]
  189. hrDevice = No Such Object available on this agent at this OID
  190.  
  191. SNMP[[0;36m/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES -M /opt/librenms/mibs udp:HOSTNAME:161 hrProcessorLoad[0m]
  192. hrProcessorLoad = No Such Object available on this agent at this OID
  193.  
  194. SQL[[0;33mSELECT COUNT(*) FROM `processors` WHERE `device_id` = '49' AND `processor_type` != 'ucd-old'[0m]
  195. SQL[[0;33mSELECT * FROM `processors` WHERE `device_id`  = '49'[0m]
  196.  
  197.  
  198. >> Runtime for discovery module 'processors': 0.0390 seconds with 33792 bytes
  199. #### Unload disco module processors ####
  200.  
  201. Modules status: Global+ OS  Device  
  202. #### Load disco module mempools ####
  203. SQL[[0;33mSELECT COUNT(*) FROM `mempools` WHERE `device_id` = '49' AND `mempool_type` = 'cemp'[0m]
  204. SNMP[[0;36m/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m NETSWITCH-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/hp udp:HOSTNAME:161 hpLocal[0m]
  205. hpLocalMem = No Such Object available on this agent at this OID
  206.  
  207. SNMP[[0;36m/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m NETSWITCH-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/hp udp:HOSTNAME:161 hpGlobal[0m]
  208. hpGlobalMem = No Such Object available on this agent at this OID
  209.  
  210. SNMP[[0;36m/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:NetWare-Host-Ext-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 hrStorageEntry[0m]
  211. hrStorageEntry = No Such Object available on this agent at this OID
  212.  
  213. SQL[[0;33mSELECT * FROM `mempools` WHERE `device_id`  = '49'[0m]
  214.  
  215.  
  216. >> Runtime for discovery module 'mempools': 0.0860 seconds with 22560 bytes
  217. #### Unload disco module mempools ####
  218.  
  219. Modules status: Global+ OS  Device  
  220. #### Load disco module cisco-vrf-lite ####
  221. SQL[[0;33mSELECT * FROM vrf_lite_cisco WHERE device_id = '49' [0m]
  222.  
  223. >> Runtime for discovery module 'cisco-vrf-lite': 0.0000 seconds with 1544 bytes
  224. #### Unload disco module cisco-vrf-lite ####
  225.  
  226. Modules status: Global- OS  Device  Module [ cisco-mac-accounting ] disabled globally.
  227.  
  228. Modules status: Global- OS  Device  Module [ cisco-pw ] disabled globally.
  229.  
  230. Modules status: Global- OS  Device  Module [ cisco-vrf ] disabled globally.
  231.  
  232. Modules status: Global- OS  Device  Module [ cisco-cef ] disabled globally.
  233.  
  234. Modules status: Global- OS  Device  Module [ cisco-sla ] disabled globally.
  235.  
  236. Modules status: Global- OS  Device  Module [ cisco-cbqos ] disabled globally.
  237.  
  238. Modules status: Global- OS  Device  Module [ cisco-otv ] disabled globally.
  239.  
  240. Modules status: Global+ OS  Device  
  241. #### Load disco module ipv4-addresses ####
  242. SNMP[[0;36m/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -Osq -m IP-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 ipAdEntIfIndex[0m]
  243. ipAdEntIfIndex.* 9
  244. ipAdEntIfIndex.* 1
  245. ipAdEntIfIndex.* 3
  246.  
  247. SNMP[[0;36m/usr/bin/snmpget -v2c -c COMMUNITY -Oqv -m IP-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 ipAdEntNetMask.10.0.0.3[0m]
  248. *
  249.  
  250. SQL[[0;33mSELECT COUNT(*) FROM `ports` WHERE device_id = '49' AND `ifIndex` = '9'[0m]
  251. SQL[[0;33mSELECT `port_id` FROM `ports` WHERE `device_id` = '49' AND `ifIndex` = '9'[0m]
  252. SQL[[0;33mSELECT COUNT(*) FROM `ipv4_networks` WHERE `ipv4_network` = '10.0.0.3/32'[0m]
  253. SQL[[0;33mUPDATE `ipv4_networks` set `context_name` ='' WHERE `ipv4_network` = '10.0.0.3/32'[0m]
  254. sSQL[[0;33mSELECT `ipv4_network_id` FROM `ipv4_networks` WHERE `ipv4_network` = '10.0.0.3/32'[0m]
  255. SQL[[0;33mSELECT COUNT(*) FROM `ipv4_addresses` WHERE `ipv4_address` = '10.0.0.3' AND `ipv4_prefixlen` = '32' AND `port_id` = '837' [0m]
  256. SQL[[0;33mUPDATE `ipv4_addresses` set `context_name` ='' WHERE `ipv4_address` = '10.0.0.3' AND `ipv4_prefixlen` = '32' AND `port_id` = '837'[0m]
  257. .SNMP[[0;36m/usr/bin/snmpget -v2c -c COMMUNITY -Oqv -m IP-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 ipAdEntNetMask.127.0.0.1[0m]
  258. *
  259.  
  260. SQL[[0;33mSELECT COUNT(*) FROM `ports` WHERE device_id = '49' AND `ifIndex` = '1'[0m]
  261. SQL[[0;33mSELECT `port_id` FROM `ports` WHERE `device_id` = '49' AND `ifIndex` = '1'[0m]
  262. SQL[[0;33mSELECT COUNT(*) FROM `ipv4_networks` WHERE `ipv4_network` = '127.0.0.0/8'[0m]
  263. SQL[[0;33mUPDATE `ipv4_networks` set `context_name` ='' WHERE `ipv4_network` = '127.0.0.0/8'[0m]
  264. sSQL[[0;33mSELECT `ipv4_network_id` FROM `ipv4_networks` WHERE `ipv4_network` = '127.0.0.0/8'[0m]
  265. SQL[[0;33mSELECT COUNT(*) FROM `ipv4_addresses` WHERE `ipv4_address` = '127.0.0.1' AND `ipv4_prefixlen` = '8' AND `port_id` = '829' [0m]
  266. SQL[[0;33mUPDATE `ipv4_addresses` set `context_name` ='' WHERE `ipv4_address` = '127.0.0.1' AND `ipv4_prefixlen` = '8' AND `port_id` = '829'[0m]
  267. .SNMP[[0;36m/usr/bin/snmpget -v2c -c COMMUNITY -Oqv -m IP-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 ipAdEntNetMask.192.168.50.150[0m]
  268. *
  269.  
  270. SQL[[0;33mSELECT COUNT(*) FROM `ports` WHERE device_id = '49' AND `ifIndex` = '3'[0m]
  271. SQL[[0;33mSELECT `port_id` FROM `ports` WHERE `device_id` = '49' AND `ifIndex` = '3'[0m]
  272. SQL[[0;33mSELECT COUNT(*) FROM `ipv4_networks` WHERE `ipv4_network` = '192.168.50.0/24'[0m]
  273. SQL[[0;33mUPDATE `ipv4_networks` set `context_name` ='' WHERE `ipv4_network` = '192.168.50.0/24'[0m]
  274. sSQL[[0;33mSELECT `ipv4_network_id` FROM `ipv4_networks` WHERE `ipv4_network` = '192.168.50.0/24'[0m]
  275. SQL[[0;33mSELECT COUNT(*) FROM `ipv4_addresses` WHERE `ipv4_address` = '192.168.50.150' AND `ipv4_prefixlen` = '24' AND `port_id` = '831' [0m]
  276. SQL[[0;33mUPDATE `ipv4_addresses` set `context_name` ='' WHERE `ipv4_address` = '192.168.50.150' AND `ipv4_prefixlen` = '24' AND `port_id` = '831'[0m]
  277. .SQL[[0;33mSELECT * FROM ipv4_addresses AS A, ports AS I WHERE I.device_id = '49' AND  A.port_id = I.port_id[0m]
  278.  
  279.  
  280. >> Runtime for discovery module 'ipv4-addresses': 0.0860 seconds with 16696 bytes
  281. #### Unload disco module ipv4-addresses ####
  282.  
  283. Modules status: Global+ OS  Device  
  284. #### Load disco module ipv6-addresses ####
  285. SNMP[[0;36m/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -Ln -Osq -m IP-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 ipAddressIfIndex.ipv6[0m]
  286. ipAddressIfIndex.ipv6 No Such Object available on this agent at this OID
  287.  
  288. SNMP[[0;36m/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -Ln -Osq -OnU -m IPV6-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 ipv6AddrPfxLength[0m]
  289. .*.*.8.1.2 No Such Object available on this agent at this OID
  290.  
  291. SQL[[0;33mSELECT * FROM ipv6_addresses AS A, ports AS I WHERE I.device_id = '49' AND  A.port_id = I.port_id[0m]
  292.  
  293.  
  294. >> Runtime for discovery module 'ipv6-addresses': 0.0470 seconds with 6624 bytes
  295. #### Unload disco module ipv6-addresses ####
  296.  
  297. Modules status: Global- OS  Device  Module [ route ] disabled globally.
  298.  
  299. Modules status: Global+ OS  Device  
  300. #### Load disco module sensors ####
  301.  ENTITY-SENSOR: Caching OIDs: entPhysicalDescrSNMP[[0;36m/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m CISCO-ENTITY-SENSOR-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 entPhysicalDescr[0m]
  302. entPhysicalDescr = No Such Object available on this agent at this OID
  303.  
  304.  entPhysicalNameSNMP[[0;36m/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m CISCO-ENTITY-SENSOR-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 entPhysicalName[0m]
  305. entPhysicalName = No Such Object available on this agent at this OID
  306.  
  307.  entPhySensorTypeSNMP[[0;36m/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m ENTITY-SENSOR-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 entPhySensorType[0m]
  308. entPhySensorType = No Such Object available on this agent at this OID
  309.  
  310.  entPhySensorScaleSNMP[[0;36m/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m ENTITY-SENSOR-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 entPhySensorScale[0m]
  311. entPhySensorScale = No Such Object available on this agent at this OID
  312.  
  313.  entPhySensorPrecisionSNMP[[0;36m/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m ENTITY-SENSOR-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 entPhySensorPrecision[0m]
  314. entPhySensorPrecision = No Such Object available on this agent at this OID
  315.  
  316.  entPhySensorValueSNMP[[0;36m/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m ENTITY-SENSOR-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 entPhySensorValue[0m]
  317. entPhySensorValue = No Such Object available on this agent at this OID
  318.  
  319.  
  320. SQL[[0;33mSELECT attrib_value FROM devices_attribs WHERE `device_id` = '49' AND `attrib_type` = 'ipmi_hostname' [0m]
  321. SQL[[0;33mSELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class='voltage' AND S.device_id = D.device_id AND D.device_id = '49' AND S.poller_type = 'ipmi'[0m]
  322. SQL[[0;33mSELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class='temperature' AND S.device_id = D.device_id AND D.device_id = '49' AND S.poller_type = 'ipmi'[0m]
  323. SQL[[0;33mSELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class='fanspeed' AND S.device_id = D.device_id AND D.device_id = '49' AND S.poller_type = 'ipmi'[0m]
  324. SQL[[0;33mSELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class='power' AND S.device_id = D.device_id AND D.device_id = '49' AND S.poller_type = 'ipmi'[0m]
  325. Airflow: SQL[[0;33mSELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class='airflow' AND S.device_id = D.device_id AND D.device_id = '49' AND S.poller_type = 'snmp'[0m]
  326.  
  327. Current: SQL[[0;33mSELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class='current' AND S.device_id = D.device_id AND D.device_id = '49' AND S.poller_type = 'snmp'[0m]
  328.  
  329. Charge: SQL[[0;33mSELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class='charge' AND S.device_id = D.device_id AND D.device_id = '49' AND S.poller_type = 'snmp'[0m]
  330.  
  331. Dbm: SQL[[0;33mSELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class='dbm' AND S.device_id = D.device_id AND D.device_id = '49' AND S.poller_type = 'snmp'[0m]
  332.  
  333. Fanspeed: SQL[[0;33mSELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class='fanspeed' AND S.device_id = D.device_id AND D.device_id = '49' AND S.poller_type = 'snmp'[0m]
  334.  
  335. Frequency: SQL[[0;33mSELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class='frequency' AND S.device_id = D.device_id AND D.device_id = '49' AND S.poller_type = 'snmp'[0m]
  336.  
  337. Humidity: SQL[[0;33mSELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class='humidity' AND S.device_id = D.device_id AND D.device_id = '49' AND S.poller_type = 'snmp'[0m]
  338.  
  339. Load: SQL[[0;33mSELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class='load' AND S.device_id = D.device_id AND D.device_id = '49' AND S.poller_type = 'snmp'[0m]
  340.  
  341. Power: SQL[[0;33mSELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class='power' AND S.device_id = D.device_id AND D.device_id = '49' AND S.poller_type = 'snmp'[0m]
  342.  
  343. Runtime: SQL[[0;33mSELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class='runtime' AND S.device_id = D.device_id AND D.device_id = '49' AND S.poller_type = 'snmp'[0m]
  344.  
  345. Signal: SQL[[0;33mSELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class='signal' AND S.device_id = D.device_id AND D.device_id = '49' AND S.poller_type = 'snmp'[0m]
  346.  
  347. State: SQL[[0;33mSELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class='state' AND S.device_id = D.device_id AND D.device_id = '49' AND S.poller_type = 'snmp'[0m]
  348.  
  349. Temperature: SQL[[0;33mSELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class='temperature' AND S.device_id = D.device_id AND D.device_id = '49' AND S.poller_type = 'snmp'[0m]
  350.  
  351. Voltage: SQL[[0;33mSELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class='voltage' AND S.device_id = D.device_id AND D.device_id = '49' AND S.poller_type = 'snmp'[0m]
  352.  
  353.  
  354. >> Runtime for discovery module 'sensors': 0.1770 seconds with 7760 bytes
  355. #### Unload disco module sensors ####
  356.  
  357. Modules status: Global+ OS  Device  
  358. #### Load disco module storage ####
  359. SNMP[[0;36m/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m EQLVOLUME-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/equallogic udp:HOSTNAME:161 EqliscsiVolumeEntry[0m]
  360. eqliscsiVolumeEntry = No Such Object available on this agent at this OID
  361.  
  362. SNMP[[0;36m/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:NetWare-Host-Ext-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 hrStorageEntry[0m]
  363. hrStorageEntry = No Such Object available on this agent at this OID
  364.  
  365. SNMP[[0;36m/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m NETAPP-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 dfEntry[0m]
  366. dfEntry = No Such Object available on this agent at this OID
  367.  
  368. SNMP[[0;36m/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m UCD-SNMP-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 dskTable[0m]
  369. dskTable = No Such Object available on this agent at this OID
  370.  
  371. SQL[[0;33mSELECT `storage_descr` FROM `storage` WHERE `device_id`  = '49' AND `storage_type` != 'dsk'[0m]
  372. SQL[[0;33mSELECT * FROM `storage` WHERE `device_id`  = '49'[0m]
  373.  
  374.  
  375. >> Runtime for discovery module 'storage': 0.1180 seconds with 3400 bytes
  376. #### Unload disco module storage ####
  377.  
  378. Modules status: Global+ OS  Device  
  379. #### Load disco module hr-device ####
  380. SNMP[[0;36m/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES -M /opt/librenms/mibs udp:HOSTNAME:161 hrDeviceEntry[0m]
  381. hrDeviceEntry = No Such Object available on this agent at this OID
  382.  
  383. SNMP[[0;36m/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES -M /opt/librenms/mibs udp:HOSTNAME:161 hrProcessorEntry[0m]
  384. hrProcessorEntry = No Such Object available on this agent at this OID
  385.  
  386. Array
  387. (
  388. )
  389. SQL[[0;33mSELECT * FROM `hrDevice` WHERE `device_id`  = '49'[0m]
  390.  
  391.  
  392. >> Runtime for discovery module 'hr-device': 0.0340 seconds with 792 bytes
  393. #### Unload disco module hr-device ####
  394.  
  395. Modules status: Global+ OS  Device  
  396. #### Load disco module discovery-protocols ####
  397.  CISCO-CDP-MIB: SNMP[[0;36m/usr/bin/snmpbulkwalk -v2c -c COMMUNITY  -OQUs -m CISCO-CDP-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 cdpCache[0m]
  398. cdpCache = No Such Object available on this agent at this OID
  399.  
  400. Array
  401. (
  402. )
  403.  LLDP-MIB: SNMP[[0;36m/usr/bin/snmpbulkwalk -v2c -c COMMUNITY  -OQUs -m LLDP-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 lldpRemoteSystemsData[0m]
  404. lldpRemoteSystemsData = No Such Object available on this agent at this OID
  405.  
  406. lldpRemoteSystemsData = No Such Object available on this agent at this OID || lldpRemoteSystemsData ||  ||  ||
  407. Array
  408. (
  409. )
  410. SNMP[[0;36m/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m BRIDGE-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 dot1dBasePortIfIndex[0m]
  411. dot1dBasePortIfIndex = No Such Object available on this agent at this OID
  412.  
  413. Array
  414. (
  415. )
  416.  OSPF Discovery: enabled
  417. SQL[[0;33mSELECT DISTINCT(`ospfNbrIpAddr`),`device_id` FROM `ospf_nbrs` WHERE `device_id`='49'[0m]
  418. SQL[[0;33mSELECT * FROM `links` AS L, `ports` AS I WHERE L.local_port_id = I.port_id AND I.device_id = '49'[0m]
  419.  
  420.  
  421. >> Runtime for discovery module 'discovery-protocols': 0.0760 seconds with 4208 bytes
  422. #### Unload disco module discovery-protocols ####
  423.  
  424. Modules status: Global+ OS  Device  
  425. #### Load disco module arp-table ####
  426. SNMP[[0;36m/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m IP-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 ipNetToPhysicalPhysAddress[0m]
  427. ipNetToPhysicalPhysAddress = No Such Object available on this agent at this OID
  428.  
  429. SNMP[[0;36m/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m IP-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 ipNetToMediaPhysAddress[0m]
  430. ipNetToMediaPhysAddress.*.1 = e4:8d:8c:17:b8:1
  431.  
  432. SQL[[0;33mSELECT M.* from ipv4_mac AS M, ports AS I WHERE M.port_id=I.port_id AND I.device_id='49' AND M.context_name=''[0m]
  433. SQL[[0;33mSELECT * FROM `ports` WHERE `device_id` = '49' AND `ifIndex` = '3'[0m]
  434.  
  435.  
  436. >> Runtime for discovery module 'arp-table': 0.0380 seconds with 16672 bytes
  437. #### Unload disco module arp-table ####
  438.  
  439. Modules status: Global- OS  Device  Module [ discovery-arp ] disabled globally.
  440.  
  441. Modules status: Global- OS  Device  Module [ junose-atm-vp ] disabled globally.
  442.  
  443. Modules status: Global+ OS  Device  
  444. #### Load disco module bgp-peers ####
  445. SNMP[[0;36m/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -Oqvn -m BGP4-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 .1.3.6.1.2.1.15.2[0m]
  446. No Such Object available on this agent at this OID
  447.  
  448. No BGP on hostPeers :
  449. SQL[[0;33mSELECT * FROM bgpPeers WHERE device_id = '49' AND (context_name = '' OR context_name IS NULL)[0m]
  450.  
  451.  
  452. >> Runtime for discovery module 'bgp-peers': 0.0150 seconds with 2672 bytes
  453. #### Unload disco module bgp-peers ####
  454.  
  455. Modules status: Global+ OS  Device  
  456. #### Load disco module vlans ####
  457. SQL[[0;33mSELECT * FROM `vlans` WHERE `device_id` = '49'[0m]
  458. SNMP[[0;36m/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m BRIDGE-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 dot1dBasePortIfIndex[0m]
  459. dot1dBasePortIfIndex = No Such Object available on this agent at this OID
  460.  
  461. IEEE8021-Q-BRIDGE-MIB VLANs: SNMP[[0;36m/usr/bin/snmpget -v2c -c COMMUNITY -Oqv -m IEEE8021-Q-BRIDGE-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 dot1qVlanVersionNumber.0[0m]
  462. No Such Object available on this agent at this OID
  463.  
  464.  
  465.  
  466. >> Runtime for discovery module 'vlans': 0.0470 seconds with 4320 bytes
  467. #### Unload disco module vlans ####
  468.  
  469. Modules status: Global- OS  Device  Module [ vmware-vminfo ] disabled globally.
  470.  
  471. Modules status: Global- OS  Device  Module [ libvirt-vminfo ] disabled globally.
  472.  
  473. Modules status: Global- OS  Device  Module [ toner ] disabled globally.
  474.  
  475. Modules status: Global+ OS  Device  
  476. #### Load disco module ucd-diskio ####
  477. SNMP[[0;36m/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m UCD-DISKIO-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 diskIOEntry[0m]
  478. diskIOEntry = No Such Object available on this agent at this OID
  479.  
  480. Array
  481. (
  482. )
  483. SQL[[0;33mSELECT * FROM `ucd_diskio` where `device_id`  = '49'[0m]
  484.  
  485.  
  486. >> Runtime for discovery module 'ucd-diskio': 0.0180 seconds with 736 bytes
  487. #### Unload disco module ucd-diskio ####
  488.  
  489. Modules status: Global- OS  Device  Module [ applications ] disabled globally.
  490.  
  491. Modules status: Global+ OS  Device  
  492. #### Load disco module services ####
  493.  
  494. >> Runtime for discovery module 'services': 0.0000 seconds with 328 bytes
  495. #### Unload disco module services ####
  496.  
  497. Modules status: Global+ OS  Device  
  498. #### Load disco module stp ####
  499. SQL[[0;33mSELECT * FROM `stp` WHERE `device_id` = '49'[0m]
  500. SNMP[[0;36m/usr/bin/snmpget -v2c -c COMMUNITY -Oqv -m RSTP-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 dot1dStpProtocolSpecification.0[0m]
  501. No Such Object available on this agent at this OID
  502.  
  503.  
  504.  
  505. >> Runtime for discovery module 'stp': 0.0150 seconds with 3648 bytes
  506. #### Unload disco module stp ####
  507.  
  508. Modules status: Global+ OS  Device  
  509. #### Load disco module ntp ####
  510.  
  511. >> Runtime for discovery module 'ntp': 0.0000 seconds with 144 bytes
  512. #### Unload disco module ntp ####
  513.  
  514. Modules status: Global- OS  Device  Module [ loadbalancers ] disabled globally.
  515.  
  516. Modules status: Global- OS  Device  Module [ mef ] disabled globally.
  517.  
  518. SQL[[0;33mSELECT attrib_value FROM devices_attribs WHERE `device_id` = '49' AND `attrib_type` = 'poll_mib' [0m]
  519. SQL[[0;33mUPDATE `devices` set `last_discovered` =NOW(),`last_discovered_timetaken` ='1.538' WHERE `device_id` = '49'[0m]
  520. Discovered in 1.538 seconds
  521.  
  522. SQL[[0;33mINSERT INTO `perf_times` (`type`,`doing`,`start`,`duration`,`devices`,`poller`)  VALUES ('discover','lg-testucp','1492671433.6698','1.563','1','librenms
  523. ')[0m]
  524. ./discovery.php lg-testucp 2017-04-20 07:57:15 - 1 devices discovered in 1.563 secs
  525. SNMP: Get[9/0.15s] Walk [31/0.70s]
  526. MySQL: Cell[20/0.01s] Row[5/0.00s] Rows[38/0.02s] Column[1/0.00s] Update[7/0.00s] Insert[2/0.00s] Delete[0/0.00s]
  527.