From Andreas Wittmers, 1 Year ago, written in Plain Text.
Embed
  1. LibreNMS Discovery
  2. ===================================
  3. Version info:
  4. Commit SHA: 6914666004ada36086e018a9be50b7f78e1adac9
  5. Commit Date: 1504131211
  6. DB Schema: 205
  7. PHP: 7.0.22-0ubuntu0.16.04.1
  8. MySQL: 5.7.19-0ubuntu0.16.04.1
  9. RRDTool: 1.5.5
  10. SNMP: NET-SNMP 5.7.3
  11. ==================================DEBUG!
  12. SQL[SELECT * FROM `devices` WHERE status = 1 AND disabled = 0 AND `hostname` LIKE '172.16.0.1' ORDER BY device_id DESC]
  13. 172.16.0.1 13 generic SQL[INSERT INTO `device_perf` (`xmt`,`rcv`,`loss`,`min`,`max`,`avg`,`device_id`,`timestamp`)  VALUES ('3','3','0','0.45','1.32','0.74','13',NOW())]
  14. SNMP Check response code: 0
  15. SNMP[/usr/bin/snmpget -v2c -c COMMUNITY -Ovq -M /opt/librenms/mibs -t 5 -r 5 udp:HOSTNAME:161 SNMPv2-MIB::sysDescr.0]
  16. Digi Connect Device, Version Unknown
  17.  
  18. SNMP[/usr/bin/snmpget -v2c -c COMMUNITY -Ovqn -M /opt/librenms/mibs -t 5 -r 5 udp:HOSTNAME:161 SNMPv2-MIB::sysObjectID.0]
  19. .*.4.1.332.11.6
  20.  
  21. | Digi Connect Device, Version Unknown | .1.3.6.1.4.1.332.11.6 |
  22. SNMP[/usr/bin/snmpget -v2c -c COMMUNITY -Oqv -M /opt/librenms/mibs -t 5 -r 5 udp:HOSTNAME:161 SML-MIB::product-Name.0]
  23. No Such Object available on this agent at this OID
  24.  
  25.  
  26. Modules status: Global+ OS  Device  
  27. #### Load disco module os ####
  28. SNMP[/usr/bin/snmpget -v2c -c COMMUNITY -Ovq -M /opt/librenms/mibs -t 5 -r 5 udp:HOSTNAME:161 SNMPv2-MIB::sysDescr.0]
  29. Digi Connect Device, Version Unknown
  30.  
  31. SNMP[/usr/bin/snmpget -v2c -c COMMUNITY -Ovqn -M /opt/librenms/mibs -t 5 -r 5 udp:HOSTNAME:161 SNMPv2-MIB::sysObjectID.0]
  32. .*.4.1.332.11.6
  33.  
  34. | Digi Connect Device, Version Unknown | .1.3.6.1.4.1.332.11.6 |
  35. SNMP[/usr/bin/snmpget -v2c -c COMMUNITY -Oqv -M /opt/librenms/mibs -t 5 -r 5 udp:HOSTNAME:161 SML-MIB::product-Name.0]
  36. No Such Object available on this agent at this OID
  37.  
  38.  
  39. >> Runtime for discovery module 'os': 0.1430 seconds with 1168 bytes
  40. #### Unload disco module os ####
  41.  
  42. Modules status: Global+ OS  Device  
  43. #### Load disco module ports ####
  44. SNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m IF-MIB -M /opt/librenms/mibs -t 5 -r 5 udp:HOSTNAME:161 ifDescr]
  45. ifDescr.1 = eth0
  46. ifDescr.2 = LOOPBACK
  47.  
  48. SNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m IF-MIB -M /opt/librenms/mibs -t 5 -r 5 udp:HOSTNAME:161 ifName]
  49. ifName = No Such Object available on this agent at this OID
  50.  
  51. SNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m IF-MIB -M /opt/librenms/mibs -t 5 -r 5 udp:HOSTNAME:161 ifAlias]
  52. ifAlias = No Such Object available on this agent at this OID
  53.  
  54. SNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m IF-MIB -M /opt/librenms/mibs -t 5 -r 5 udp:HOSTNAME:161 ifType]
  55. ifType.1 = softwareLoopback
  56. ifType.2 = ethernetCsmacd
  57.  
  58. Array
  59. (
  60.     [1] => Array
  61.         (
  62.             [ifDescr] => eth0
  63.             [ifType] => softwareLoopback
  64.         )
  65.  
  66.     [2] => Array
  67.         (
  68.             [ifDescr] => LOOPBACK
  69.             [ifType] => ethernetCsmacd
  70.         )
  71.  
  72. )
  73. SQL[SELECT * FROM `ports` WHERE `device_id` = '13' ORDER BY port_id]
  74. ..
  75.  
  76. >> Runtime for discovery module 'ports': 0.0660 seconds with 2032 bytes
  77. #### Unload disco module ports ####
  78.  
  79. Modules status: Global+ OS  Device  
  80. #### Load disco module ports-stack ####
  81. SQL[SELECT * FROM `ports_stack` WHERE `device_id` = '13']
  82. SNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY  -OQUs -M /opt/librenms/mibs -t 5 -r 5 udp:HOSTNAME:161 ifStackStatus]
  83. ifStackStatus = No Such Object available on this agent at this OID
  84.  
  85.  
  86.  
  87. >> Runtime for discovery module 'ports-stack': 0.0270 seconds with 640 bytes
  88. #### Unload disco module ports-stack ####
  89.  
  90. Modules status: Global+ OS  Device  
  91. #### Load disco module entity-physical ####
  92.  
  93. Caching OIDs: entPhysicalEntrySNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m ENTITY-MIB:CISCO-ENTITY-VENDORTYPE-OID-MIB -M /opt/librenms/mibs -t 5 -r 5 udp:HOSTNAME:161 entPhysicalEntry]
  94. entPhysicalEntry = No Such Object available on this agent at this OID
  95.  
  96.  entAliasMappingIdentifierSNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY  -OQUs -m ENTITY-MIB:IF-MIB -M /opt/librenms/mibs -t 5 -r 5 udp:HOSTNAME:161 entAliasMappingIdentifier]
  97. entAliasMappingIdentifier = No Such Object available on this agent at this OID
  98.  
  99.  
  100. SQL[SELECT * FROM `entPhysical` WHERE `device_id` = '13']
  101.  
  102. >> Runtime for discovery module 'entity-physical': 0.0470 seconds with 2928 bytes
  103. #### Unload disco module entity-physical ####
  104.  
  105. Modules status: Global+ OS  Device  
  106. #### Load disco module processors ####
  107.  hrDevice: SNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES -M /opt/librenms/mibs -t 5 -r 5 udp:HOSTNAME:161 hrDevice]
  108. hrDevice = No Such Object available on this agent at this OID
  109.  
  110. SNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES -M /opt/librenms/mibs -t 5 -r 5 udp:HOSTNAME:161 hrProcessorLoad]
  111. hrProcessorLoad = No Such Object available on this agent at this OID
  112.  
  113. SQL[SELECT COUNT(*) FROM `processors` WHERE `device_id` = '13' AND `processor_type` != 'ucd-old']
  114. SQL[SELECT * FROM `processors` WHERE `device_id`  = '13']
  115.  
  116.  
  117. >> Runtime for discovery module 'processors': 0.0930 seconds with 36928 bytes
  118. #### Unload disco module processors ####
  119.  
  120. Modules status: Global+ OS  Device  
  121. #### Load disco module mempools ####
  122. SQL[SELECT COUNT(*) FROM `mempools` WHERE `device_id` = '13' AND `mempool_type` = 'cemp']
  123. SNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m NETSWITCH-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/hp -t 5 -r 5 udp:HOSTNAME:161 hpLocal]
  124. hpLocalMem = No Such Object available on this agent at this OID
  125.  
  126. SNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m NETSWITCH-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/hp -t 5 -r 5 udp:HOSTNAME:161 hpGlobal]
  127. hpGlobalMem = No Such Object available on this agent at this OID
  128.  
  129. SNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:NetWare-Host-Ext-MIB -M /opt/librenms/mibs -t 5 -r 5 udp:HOSTNAME:161 hrStorageEntry]
  130. hrStorageEntry = No Such Object available on this agent at this OID
  131.  
  132. SQL[SELECT * FROM `mempools` WHERE `device_id`  = '13']
  133.  
  134.  
  135. >> Runtime for discovery module 'mempools': 0.0830 seconds with 24728 bytes
  136. #### Unload disco module mempools ####
  137.  
  138. Modules status: Global- OS  Device  Module [ cisco-vrf-lite ] disabled globally.
  139.  
  140. Modules status: Global- OS  Device  Module [ cisco-mac-accounting ] disabled globally.
  141.  
  142. Modules status: Global- OS  Device  Module [ cisco-pw ] disabled globally.
  143.  
  144. Modules status: Global- OS  Device  Module [ cisco-vrf ] disabled globally.
  145.  
  146. Modules status: Global- OS  Device  Module [ cisco-cef ] disabled globally.
  147.  
  148. Modules status: Global- OS  Device  Module [ cisco-sla ] disabled globally.
  149.  
  150. Modules status: Global- OS  Device  Module [ cisco-cbqos ] disabled globally.
  151.  
  152. Modules status: Global- OS  Device  Module [ cisco-otv ] disabled globally.
  153.  
  154. Modules status: Global+ OS  Device  
  155. #### Load disco module ipv4-addresses ####
  156. SNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -Osq -m IP-MIB -M /opt/librenms/mibs -t 5 -r 5 udp:HOSTNAME:161 ipAdEntIfIndex]
  157. ipAdEntIfIndex.* 1
  158. ipAdEntIfIndex.* 2
  159. ipAdEntIfIndex.* 2
  160.  
  161. SNMP[/usr/bin/snmpget -v2c -c COMMUNITY -Oqv -m IP-MIB -M /opt/librenms/mibs -t 5 -r 5 udp:HOSTNAME:161 ipAdEntNetMask.127.0.0.1]
  162. *
  163.  
  164. SQL[SELECT COUNT(*) FROM `ports` WHERE device_id = '13' AND `ifIndex` = '1']
  165. SQL[SELECT `port_id` FROM `ports` WHERE `device_id` = '13' AND `ifIndex` = '1']
  166. SQL[SELECT COUNT(*) FROM `ipv4_networks` WHERE `ipv4_network` = '127.0.0.1/32']
  167. SQL[UPDATE `ipv4_networks` set `context_name` ='' WHERE `ipv4_network` = '127.0.0.1/32']
  168. sSQL[SELECT `ipv4_network_id` FROM `ipv4_networks` WHERE `ipv4_network` = '127.0.0.1/32']
  169. SQL[SELECT COUNT(*) FROM `ipv4_addresses` WHERE `ipv4_address` = '127.0.0.1' AND `ipv4_prefixlen` = '32' AND `port_id` = '160' ]
  170. SQL[UPDATE `ipv4_addresses` set `context_name` ='' WHERE `ipv4_address` = '127.0.0.1' AND `ipv4_prefixlen` = '32' AND `port_id` = '160']
  171. .SNMP[/usr/bin/snmpget -v2c -c COMMUNITY -Oqv -m IP-MIB -M /opt/librenms/mibs -t 5 -r 5 udp:HOSTNAME:161 ipAdEntNetMask.169.254.106.27]
  172. *
  173.  
  174. SQL[SELECT COUNT(*) FROM `ports` WHERE device_id = '13' AND `ifIndex` = '2']
  175. SQL[SELECT `port_id` FROM `ports` WHERE `device_id` = '13' AND `ifIndex` = '2']
  176. SQL[SELECT COUNT(*) FROM `ipv4_networks` WHERE `ipv4_network` = '169.254.106.27/16']
  177. SQL[UPDATE `ipv4_networks` set `context_name` ='' WHERE `ipv4_network` = '169.254.106.27/16']
  178. sSQL[SELECT `ipv4_network_id` FROM `ipv4_networks` WHERE `ipv4_network` = '169.254.106.27/16']
  179. SQL[SELECT COUNT(*) FROM `ipv4_addresses` WHERE `ipv4_address` = '169.254.106.27' AND `ipv4_prefixlen` = '16' AND `port_id` = '161' ]
  180. SQL[UPDATE `ipv4_addresses` set `context_name` ='' WHERE `ipv4_address` = '169.254.106.27' AND `ipv4_prefixlen` = '16' AND `port_id` = '161']
  181. .SNMP[/usr/bin/snmpget -v2c -c COMMUNITY -Oqv -m IP-MIB -M /opt/librenms/mibs -t 5 -r 5 udp:HOSTNAME:161 ipAdEntNetMask.172.16.0.1]
  182. *
  183.  
  184. SQL[SELECT COUNT(*) FROM `ipv4_networks` WHERE `ipv4_network` = '172.16.0.1/18']
  185. SQL[UPDATE `ipv4_networks` set `context_name` ='' WHERE `ipv4_network` = '172.16.0.1/18']
  186. sSQL[SELECT `ipv4_network_id` FROM `ipv4_networks` WHERE `ipv4_network` = '172.16.0.1/18']
  187. SQL[SELECT COUNT(*) FROM `ipv4_addresses` WHERE `ipv4_address` = '172.16.0.1' AND `ipv4_prefixlen` = '18' AND `port_id` = '161' ]
  188. SQL[UPDATE `ipv4_addresses` set `context_name` ='' WHERE `ipv4_address` = '172.16.0.1' AND `ipv4_prefixlen` = '18' AND `port_id` = '161']
  189. .SQL[SELECT `ipv4_addresses`.*, `ports`.`device_id`, `ports`.`ifIndex` FROM `ipv4_addresses` LEFT JOIN `ports` ON `ipv4_addresses`.`port_id` = `ports`.`port_id` WHERE `ports`.device_id = '13' OR `ports`.`device_id` IS NULL]
  190.  
  191.  
  192. >> Runtime for discovery module 'ipv4-addresses': 0.0740 seconds with 31136 bytes
  193. #### Unload disco module ipv4-addresses ####
  194.  
  195. Modules status: Global+ OS  Device  
  196. #### Load disco module ipv6-addresses ####
  197. SNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -Ln -Osq -m IP-MIB -M /opt/librenms/mibs -t 5 -r 5 udp:HOSTNAME:161 ipAddressIfIndex.ipv6]
  198. ipAddressIfIndex.ipv6 No Such Object available on this agent at this OID
  199.  
  200. SNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -Ln -Osq -OnU -m IPV6-MIB -M /opt/librenms/mibs -t 5 -r 5 udp:HOSTNAME:161 ipv6AddrPfxLength]
  201. .*.*.8.1.2 No Such Object available on this agent at this OID
  202.  
  203. SQL[SELECT `ipv6_addresses`.*, `ports`.`device_id`, `ports`.`ifIndex` FROM `ipv6_addresses` LEFT JOIN `ports` ON `ipv6_addresses`.`port_id` = `ports`.`port_id` WHERE `ports`.device_id = '13' OR `ports`.`device_id` IS NULL]
  204.  
  205.  
  206. >> Runtime for discovery module 'ipv6-addresses': 0.0510 seconds with 1096 bytes
  207. #### Unload disco module ipv6-addresses ####
  208.  
  209. Modules status: Global- OS  Device  Module [ route ] disabled globally.
  210.  
  211. Modules status: Global+ OS  Device  
  212. #### Load disco module sensors ####
  213.  ENTITY-SENSOR: Caching OIDs: entPhysicalDescrSNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m CISCO-ENTITY-SENSOR-MIB -M /opt/librenms/mibs -t 5 -r 5 udp:HOSTNAME:161 entPhysicalDescr]
  214. entPhysicalDescr = No Such Object available on this agent at this OID
  215.  
  216.  entPhysicalNameSNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m CISCO-ENTITY-SENSOR-MIB -M /opt/librenms/mibs -t 5 -r 5 udp:HOSTNAME:161 entPhysicalName]
  217. entPhysicalName = No Such Object available on this agent at this OID
  218.  
  219.  entPhySensorTypeSNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m ENTITY-SENSOR-MIB -M /opt/librenms/mibs -t 5 -r 5 udp:HOSTNAME:161 entPhySensorType]
  220. entPhySensorType = No Such Object available on this agent at this OID
  221.  
  222.  entPhySensorScaleSNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m ENTITY-SENSOR-MIB -M /opt/librenms/mibs -t 5 -r 5 udp:HOSTNAME:161 entPhySensorScale]
  223. entPhySensorScale = No Such Object available on this agent at this OID
  224.  
  225.  entPhySensorPrecisionSNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m ENTITY-SENSOR-MIB -M /opt/librenms/mibs -t 5 -r 5 udp:HOSTNAME:161 entPhySensorPrecision]
  226. entPhySensorPrecision = No Such Object available on this agent at this OID
  227.  
  228.  entPhySensorValueSNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m ENTITY-SENSOR-MIB -M /opt/librenms/mibs -t 5 -r 5 udp:HOSTNAME:161 entPhySensorValue]
  229. entPhySensorValue = No Such Object available on this agent at this OID
  230.  
  231.  
  232. SQL[SELECT attrib_value FROM devices_attribs WHERE `device_id` = '13' AND `attrib_type` = 'ipmi_hostname' ]
  233. SQL[SELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class='voltage' AND S.device_id = D.device_id AND D.device_id = '13' AND S.poller_type = 'ipmi']
  234. SQL[SELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class='temperature' AND S.device_id = D.device_id AND D.device_id = '13' AND S.poller_type = 'ipmi']
  235. SQL[SELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class='fanspeed' AND S.device_id = D.device_id AND D.device_id = '13' AND S.poller_type = 'ipmi']
  236. SQL[SELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class='power' AND S.device_id = D.device_id AND D.device_id = '13' AND S.poller_type = 'ipmi']
  237. Airflow: SQL[SELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class='airflow' AND S.device_id = D.device_id AND D.device_id = '13' AND S.poller_type = 'snmp']
  238.  
  239. Current: SQL[SELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class='current' AND S.device_id = D.device_id AND D.device_id = '13' AND S.poller_type = 'snmp']
  240.  
  241. Charge: SQL[SELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class='charge' AND S.device_id = D.device_id AND D.device_id = '13' AND S.poller_type = 'snmp']
  242.  
  243. Dbm: SQL[SELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class='dbm' AND S.device_id = D.device_id AND D.device_id = '13' AND S.poller_type = 'snmp']
  244.  
  245. Fanspeed: SQL[SELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class='fanspeed' AND S.device_id = D.device_id AND D.device_id = '13' AND S.poller_type = 'snmp']
  246.  
  247. Frequency: SQL[SELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class='frequency' AND S.device_id = D.device_id AND D.device_id = '13' AND S.poller_type = 'snmp']
  248.  
  249. Humidity: SQL[SELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class='humidity' AND S.device_id = D.device_id AND D.device_id = '13' AND S.poller_type = 'snmp']
  250.  
  251. Load: SQL[SELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class='load' AND S.device_id = D.device_id AND D.device_id = '13' AND S.poller_type = 'snmp']
  252.  
  253. Power: SQL[SELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class='power' AND S.device_id = D.device_id AND D.device_id = '13' AND S.poller_type = 'snmp']
  254.  
  255. Runtime: SQL[SELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class='runtime' AND S.device_id = D.device_id AND D.device_id = '13' AND S.poller_type = 'snmp']
  256.  
  257. Signal: SQL[SELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class='signal' AND S.device_id = D.device_id AND D.device_id = '13' AND S.poller_type = 'snmp']
  258.  
  259. State: SQL[SELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class='state' AND S.device_id = D.device_id AND D.device_id = '13' AND S.poller_type = 'snmp']
  260.  
  261. Temperature: SQL[SELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class='temperature' AND S.device_id = D.device_id AND D.device_id = '13' AND S.poller_type = 'snmp']
  262.  
  263. Voltage: SQL[SELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class='voltage' AND S.device_id = D.device_id AND D.device_id = '13' AND S.poller_type = 'snmp']
  264.  
  265. Snr: SQL[SELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class='snr' AND S.device_id = D.device_id AND D.device_id = '13' AND S.poller_type = 'snmp']
  266.  
  267.  
  268. >> Runtime for discovery module 'sensors': 0.1230 seconds with 13768 bytes
  269. #### Unload disco module sensors ####
  270.  
  271. Modules status: Global+ OS  Device  
  272. #### Load disco module storage ####
  273. SNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m EQLVOLUME-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/equallogic -t 5 -r 5 udp:HOSTNAME:161 EqliscsiVolumeEntry]
  274. eqliscsiVolumeEntry = No Such Object available on this agent at this OID
  275.  
  276. SNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:NetWare-Host-Ext-MIB -M /opt/librenms/mibs -t 5 -r 5 udp:HOSTNAME:161 hrStorageEntry]
  277. hrStorageEntry = No Such Object available on this agent at this OID
  278.  
  279. SNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m NETAPP-MIB -M /opt/librenms/mibs -t 5 -r 5 udp:HOSTNAME:161 dfEntry]
  280. dfEntry = No Such Object available on this agent at this OID
  281.  
  282. SNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m UCD-SNMP-MIB -M /opt/librenms/mibs -t 5 -r 5 udp:HOSTNAME:161 dskTable]
  283. dskTable = No Such Object available on this agent at this OID
  284.  
  285. SQL[SELECT `storage_descr` FROM `storage` WHERE `device_id`  = '13' AND `storage_type` != 'dsk']
  286. SQL[SELECT * FROM `storage` WHERE `device_id`  = '13']
  287.  
  288.  
  289. >> Runtime for discovery module 'storage': 0.2230 seconds with 3232 bytes
  290. #### Unload disco module storage ####
  291.  
  292. Modules status: Global+ OS  Device  
  293. #### Load disco module hr-device ####
  294. SNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES -M /opt/librenms/mibs -t 5 -r 5 udp:HOSTNAME:161 hrDeviceEntry]
  295. hrDeviceEntry = No Such Object available on this agent at this OID
  296.  
  297. SNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES -M /opt/librenms/mibs -t 5 -r 5 udp:HOSTNAME:161 hrProcessorEntry]
  298. hrProcessorEntry = No Such Object available on this agent at this OID
  299.  
  300. Array
  301. (
  302. )
  303. SQL[SELECT * FROM `hrDevice` WHERE `device_id`  = '13']
  304.  
  305.  
  306. >> Runtime for discovery module 'hr-device': 0.0360 seconds with 800 bytes
  307. #### Unload disco module hr-device ####
  308.  
  309. Modules status: Global+ OS  Device  
  310. #### Load disco module discovery-protocols ####
  311.  CISCO-CDP-MIB: SNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY  -OQUs -m CISCO-CDP-MIB -M /opt/librenms/mibs -t 5 -r 5 udp:HOSTNAME:161 cdpCache]
  312. cdpCache = No Such Object available on this agent at this OID
  313.  
  314. Array
  315. (
  316. )
  317.  LLDP-MIB: SNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY  -OQUs -m LLDP-MIB -M /opt/librenms/mibs -t 5 -r 5 udp:HOSTNAME:161 lldpRemoteSystemsData]
  318. lldpRemoteSystemsData = No Such Object available on this agent at this OID
  319.  
  320. lldpRemoteSystemsData = No Such Object available on this agent at this OID || lldpRemoteSystemsData ||  ||  ||
  321. Array
  322. (
  323. )
  324. SNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m BRIDGE-MIB -M /opt/librenms/mibs -t 5 -r 5 udp:HOSTNAME:161 dot1dBasePortIfIndex]
  325. dot1dBasePortIfIndex = No Such Object available on this agent at this OID
  326.  
  327. Array
  328. (
  329. )
  330.  OSPF Discovery: disabled
  331. SQL[SELECT * FROM `links` AS L, `ports` AS I WHERE L.local_port_id = I.port_id AND I.device_id = '13']
  332.  
  333.  
  334. >> Runtime for discovery module 'discovery-protocols': 0.0600 seconds with 4104 bytes
  335. #### Unload disco module discovery-protocols ####
  336.  
  337. Modules status: Global+ OS  Device  
  338. #### Load disco module arp-table ####
  339. SNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUsetX -m IP-MIB -M /opt/librenms/mibs -t 5 -r 5 udp:HOSTNAME:161 ipNetToPhysicalPhysAddress]
  340. ipNetToPhysicalPhysAddress[1] = 0
  341. ipNetToPhysicalPhysAddress[2] = 0
  342.  
  343. SNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUsetX -m IP-MIB -M /opt/librenms/mibs -t 5 -r 5 udp:HOSTNAME:161 ipNetToMediaPhysAddress]
  344. ipNetToMediaPhysAddress[2][*] = 0:40:9d:69:c2:b3
  345. ipNetToMediaPhysAddress[2][*] = 0:0:5e:0:3:2
  346. ipNetToMediaPhysAddress[2][*] = 0:1a:8c:f0:a2:a0
  347. ipNetToMediaPhysAddress[2][*] = 0:8:54:3f:ae:8d
  348. ipNetToMediaPhysAddress[2][*] = 0:1a:92:db:d:8e
  349. ipNetToMediaPhysAddress[2][*] = 78:ac:c0:95:50:eb
  350. ipNetToMediaPhysAddress[2][*] = 0:c0:ee:68:8a:35
  351. ipNetToMediaPhysAddress[2][*] = 3c:e:23:5d:c7:40
  352.  
  353. SQL[SELECT * from `ipv4_mac` WHERE `device_id`='13' AND `context_name`='']
  354. SQL[SELECT * FROM `ports` WHERE `device_id` = '13' AND `ifIndex` = '1']
  355. eth0:
  356.  
  357. SQL[SELECT * FROM `ports` WHERE `device_id` = '13' AND `ifIndex` = '2']
  358. LOOPBACK:
  359. 0:40:9d:69:c2:b3 => 172.16.0.2
  360. 0:0:5e:0:3:2 => 172.16.0.100
  361. 0:1a:8c:f0:a2:a0 => 172.16.0.254
  362. 0:8:54:3f:ae:8d => 172.16.1.103
  363. 0:1a:92:db:d:8e => 172.16.1.108
  364. 78:ac:c0:95:50:eb => 172.16.1.224
  365. 0:c0:ee:68:8a:35 => 172.16.3.30
  366. 3c:e:23:5d:c7:40 => 172.16.4.57
  367.  
  368. SQL[INSERT INTO `ipv4_mac` (`port_id`,`device_id`,`mac_address`,`ipv4_address`,`context_name`)  VALUES ('161','13','0008543fae8d','172.16.1.103',''),('161','13','001a92db0d8e','172.16.1.108',''),('161','13','78acc09550eb','172.16.1.224','')]
  369. SQL[DELETE FROM `ipv4_mac` WHERE `port_id` = '161' AND `mac_address`='00e0c53e81c4' AND `ipv4_address`='172.16.2.138' AND `context_name`='']
  370. SQL[DELETE `ipv4_mac` FROM `ipv4_mac`
  371.  LEFT JOIN `ports` ON `ipv4_mac`.`port_id` = `ports`.`port_id`
  372.  LEFT JOIN `devices` ON `ipv4_mac`.`device_id` = `devices`.`device_id`
  373.  WHERE `ports`.`port_id` IS NULL OR `devices`.`device_id` IS NULL]
  374.  
  375.  
  376. >> Runtime for discovery module 'arp-table': 0.0700 seconds with 32064 bytes
  377. #### Unload disco module arp-table ####
  378.  
  379. Modules status: Global- OS  Device  Module [ discovery-arp ] disabled globally.
  380.  
  381. Modules status: Global+ OS  Device  
  382. #### Load disco module junose-atm-vp ####
  383.  
  384. >> Runtime for discovery module 'junose-atm-vp': 0.0000 seconds with 488 bytes
  385. #### Unload disco module junose-atm-vp ####
  386.  
  387. Modules status: Global- OS  Device  Module [ bgp-peers ] disabled globally.
  388.  
  389. Modules status: Global+ OS  Device  
  390. #### Load disco module vlans ####
  391. SQL[SELECT * FROM `vlans` WHERE `device_id` = '13']
  392. SNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m BRIDGE-MIB -M /opt/librenms/mibs -t 5 -r 5 udp:HOSTNAME:161 dot1dBasePortIfIndex]
  393. dot1dBasePortIfIndex = No Such Object available on this agent at this OID
  394.  
  395. IEEE8021-Q-BRIDGE-MIB VLANs: SNMP[/usr/bin/snmpget -v2c -c COMMUNITY -Oqv -m IEEE8021-Q-BRIDGE-MIB -M /opt/librenms/mibs -t 5 -r 5 udp:HOSTNAME:161 dot1qVlanVersionNumber.0]
  396. No Such Object available on this agent at this OID
  397.  
  398.  
  399.  
  400. >> Runtime for discovery module 'vlans': 0.0470 seconds with 4456 bytes
  401. #### Unload disco module vlans ####
  402.  
  403. Modules status: Global- OS  Device  Module [ vmware-vminfo ] disabled globally.
  404.  
  405. Modules status: Global- OS  Device  Module [ libvirt-vminfo ] disabled globally.
  406.  
  407. Modules status: Global+ OS  Device  
  408. #### Load disco module toner ####
  409.  
  410.  Checking valid toner ...
  411. Array
  412. (
  413. )
  414. SQL[SELECT * FROM toner WHERE device_id = '13']
  415. Array
  416. (
  417. )
  418.  
  419.  
  420. >> Runtime for discovery module 'toner': 0.0010 seconds with 1264 bytes
  421. #### Unload disco module toner ####
  422.  
  423. Modules status: Global+ OS  Device  
  424. #### Load disco module ucd-diskio ####
  425. SNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m UCD-DISKIO-MIB -M /opt/librenms/mibs -t 5 -r 5 udp:HOSTNAME:161 diskIOEntry]
  426. diskIOEntry = No Such Object available on this agent at this OID
  427.  
  428. Array
  429. (
  430. )
  431. SQL[SELECT * FROM `ucd_diskio` where `device_id`  = '13']
  432.  
  433.  
  434. >> Runtime for discovery module 'ucd-diskio': 0.0170 seconds with 864 bytes
  435. #### Unload disco module ucd-diskio ####
  436.  
  437. Modules status: Global- OS  Device  Module [ applications ] disabled globally.
  438.  
  439. Modules status: Global+ OS  Device  
  440. #### Load disco module services ####
  441.  
  442. >> Runtime for discovery module 'services': 0.0000 seconds with 328 bytes
  443. #### Unload disco module services ####
  444.  
  445. Modules status: Global+ OS  Device  
  446. #### Load disco module stp ####
  447. SQL[SELECT * FROM `stp` WHERE `device_id` = '13']
  448. SNMP[/usr/bin/snmpget -v2c -c COMMUNITY -Oqv -m RSTP-MIB -M /opt/librenms/mibs -t 5 -r 5 udp:HOSTNAME:161 dot1dStpProtocolSpecification.0]
  449. No Such Object available on this agent at this OID
  450.  
  451.  
  452.  
  453. >> Runtime for discovery module 'stp': 0.0100 seconds with 3648 bytes
  454. #### Unload disco module stp ####
  455.  
  456. Modules status: Global+ OS  Device  
  457. #### Load disco module ntp ####
  458.  
  459. >> Runtime for discovery module 'ntp': 0.0000 seconds with 144 bytes
  460. #### Unload disco module ntp ####
  461.  
  462. Modules status: Global- OS  Device  Module [ loadbalancers ] disabled globally.
  463.  
  464. Modules status: Global- OS  Device  Module [ mef ] disabled globally.
  465.  
  466. Modules status: Global+ OS  Device  
  467. #### Load disco module wireless ####
  468. Attempting to initialize OS: generic
  469. OS initialized: LibreNMS\OS\Generic
  470. SQL[SELECT * FROM `wireless_sensors` WHERE `device_id`='13' AND `sensor_class`='ap-count']
  471. SQL[SELECT * FROM `wireless_sensors` WHERE `device_id`='13' AND `sensor_class`='clients']
  472. SQL[SELECT * FROM `wireless_sensors` WHERE `device_id`='13' AND `sensor_class`='quality']
  473. SQL[SELECT * FROM `wireless_sensors` WHERE `device_id`='13' AND `sensor_class`='capacity']
  474. SQL[SELECT * FROM `wireless_sensors` WHERE `device_id`='13' AND `sensor_class`='utilization']
  475. SQL[SELECT * FROM `wireless_sensors` WHERE `device_id`='13' AND `sensor_class`='rate']
  476. SQL[SELECT * FROM `wireless_sensors` WHERE `device_id`='13' AND `sensor_class`='ccq']
  477. SQL[SELECT * FROM `wireless_sensors` WHERE `device_id`='13' AND `sensor_class`='snr']
  478. SQL[SELECT * FROM `wireless_sensors` WHERE `device_id`='13' AND `sensor_class`='mse']
  479. SQL[SELECT * FROM `wireless_sensors` WHERE `device_id`='13' AND `sensor_class`='rssi']
  480. SQL[SELECT * FROM `wireless_sensors` WHERE `device_id`='13' AND `sensor_class`='power']
  481. SQL[SELECT * FROM `wireless_sensors` WHERE `device_id`='13' AND `sensor_class`='noise-floor']
  482. SQL[SELECT * FROM `wireless_sensors` WHERE `device_id`='13' AND `sensor_class`='error-ratio']
  483. SQL[SELECT * FROM `wireless_sensors` WHERE `device_id`='13' AND `sensor_class`='error-rate']
  484. SQL[SELECT * FROM `wireless_sensors` WHERE `device_id`='13' AND `sensor_class`='frequency']
  485. SQL[SELECT * FROM `wireless_sensors` WHERE `device_id`='13' AND `sensor_class`='distance']
  486.  
  487. >> Runtime for discovery module 'wireless': 0.0600 seconds with 132472 bytes
  488. #### Unload disco module wireless ####
  489.  
  490. Modules status: Global+ OS  Device  
  491. #### Load disco module fdb-table ####
  492. SQL[SELECT `vlan_id`, `vlan_vlan` from `vlans` WHERE `device_id` = '13']
  493. SQL[SELECT * FROM `ports_fdb` WHERE `device_id` = '13']
  494. SNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUsetX -m Q-BRIDGE-MIB -M /opt/librenms/mibs -t 5 -r 5 udp:HOSTNAME:161 dot1qTpFdbPort]
  495. dot1qTpFdbPort = No Such Object available on this agent at this OID
  496.  
  497. SNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUsetX -m BRIDGE-MIB -M /opt/librenms/mibs -t 5 -r 5 udp:HOSTNAME:161 dot1dTpFdbPort]
  498. dot1dTpFdbPort = No Such Object available on this agent at this OID
  499.  
  500.  
  501.  
  502. >> Runtime for discovery module 'fdb-table': 0.0440 seconds with 1528 bytes
  503. #### Unload disco module fdb-table ####
  504.  
  505. Modules status: Global+ OS  Device  
  506. #### Load disco module charge ####
  507.  
  508. >> Runtime for discovery module 'charge': 4.3860 seconds with 0 bytes
  509. #### Unload disco module charge ####
  510.  
  511. SQL[SELECT attrib_value FROM devices_attribs WHERE `device_id` = '13' AND `attrib_type` = 'poll_mib' ]
  512. SQL[UPDATE `devices` set `last_discovered` =NOW(),`last_discovered_timetaken` ='2.193' WHERE `device_id` = '13']
  513. Discovered in 2.193 seconds
  514.  
  515. SQL[INSERT INTO `perf_times` (`type`,`doing`,`start`,`duration`,`devices`,`poller`)  VALUES ('discover','172.16.0.1','1504271452.9932','4.413','1','SYS01\n')]
  516. /opt/librenms/discovery.php 172.16.0.1 2017-09-01 15:10:57 - 1 devices discovered in 4.413 secs
  517. SNMP: Get[12/0.18s] Walk [28/0.65s]
  518. MySQL: Cell[19/0.01s] Row[2/-0.00s] Rows[52/0.02s] Column[1/0.00s] Update[7/0.01s] Insert[3/0.01s] Delete[1/0.00s]