From Pawel GIGA, 1 Year ago, written in Plain Text.
This paste is a reply to Untitled from root - view diff
Embed
  1. LibreNMS Discovery
  2. ===================================
  3. Version info:
  4. Commit SHA: ad739252a292713b8f932df13cab6247ef19c532
  5. Commit Date: 1510006296
  6. DB Schema: 215
  7. PHP: 7.0.22-0ubuntu0.16.04.1
  8. MySQL: 10.0.31-MariaDB-0ubuntu0.16.04.2
  9. RRDTool: 1.5.5
  10. SNMP: NET-SNMP 5.7.3
  11. ==================================DEBUG!
  12. SQL[[0;33mSELECT * FROM `devices` WHERE status = 1 AND disabled = 0 AND `device_id` = '74' ORDER BY device_id DESC[0m]
  13. SQL[[0;33mSELECT * FROM devices_attribs WHERE `device_id` = '74'[0m]
  14. 192.168.254.36 74 generic SQL[[0;33mINSERT INTO `device_perf` (`xmt`,`rcv`,`loss`,`min`,`max`,`avg`,`device_id`,`timestamp`)  VALUES ('3','3','0','7.41','7.57','7.51','74',NOW())[0m]
  15. SNMP Check response code: 0
  16. SNMP[[0;36m/usr/bin/snmpget -v2c -c COMMUNITY -OUQn -M /opt/librenms/mibs udp:HOSTNAME:161 SNMPv2-MIB::sysDescr.0 SNMPv2-MIB::sysObjectID.0[0m]
  17. .*.*.0 = UPS Osiek
  18. .*.*.0 = .*.4.1.935
  19.  
  20. | UPS Osiek | .1.3.6.1.4.1.935 |
  21. SQL[[0;33mSELECT attrib_value FROM devices_attribs WHERE `device_id` = '74' AND `attrib_type` = 'poll_mib' [0m]
  22.  
  23. Modules status: Global+ OS+ Device  
  24. #### Load disco module os ####
  25. SNMP[[0;36m/usr/bin/snmpget -v2c -c COMMUNITY -OUQn -M /opt/librenms/mibs udp:HOSTNAME:161 SNMPv2-MIB::sysDescr.0 SNMPv2-MIB::sysObjectID.0[0m]
  26. .*.*.0 = UPS Osiek
  27. .*.*.0 = .*.4.1.935
  28.  
  29. | UPS Osiek | .1.3.6.1.4.1.935 |
  30. OS: Generic Device (generic)
  31.  
  32. >> Runtime for discovery module 'os': 0.0150 seconds with 1200 bytes
  33. #### Unload disco module os ####
  34.  
  35. Modules status: Global+ OS+ Device  
  36. #### Load disco module ports ####
  37. SNMP[[0;36m/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m IF-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 ifDescr[0m]
  38. ifDescr.1 = lo
  39. ifDescr.2 = eth0
  40. ifDescr.3 = sit0
  41.  
  42. SNMP[[0;36m/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m IF-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 ifName[0m]
  43. ifName.1 = lo
  44. ifName.2 = eth0
  45. ifName.3 = sit0
  46.  
  47. SNMP[[0;36m/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m IF-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 ifAlias[0m]
  48. ifAlias.1 =
  49. ifAlias.2 =
  50. ifAlias.3 =
  51.  
  52. SNMP[[0;36m/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m IF-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 ifType[0m]
  53. ifType.1 = softwareLoopback
  54. ifType.2 = ethernetCsmacd
  55. ifType.3 = tunnel
  56.  
  57. Array
  58. (
  59.     [1] => Array
  60.         (
  61.             [ifDescr] => lo
  62.             [ifName] => lo
  63.             [ifAlias] =>
  64.             [ifType] => softwareLoopback
  65.         )
  66.  
  67.     [2] => Array
  68.         (
  69.             [ifDescr] => eth0
  70.             [ifName] => eth0
  71.             [ifAlias] =>
  72.             [ifType] => ethernetCsmacd
  73.         )
  74.  
  75.     [3] => Array
  76.         (
  77.             [ifDescr] => sit0
  78.             [ifName] => sit0
  79.             [ifAlias] =>
  80.             [ifType] => tunnel
  81.         )
  82.  
  83. )
  84. SQL[[0;33mSELECT `name` FROM `port_association_mode` WHERE pom_id = '1'[0m]
  85. SQL[[0;33mSELECT * FROM `ports` WHERE `device_id` = '74' ORDER BY port_id[0m]
  86. ...
  87.  
  88. >> Runtime for discovery module 'ports': 0.1160 seconds with 2104 bytes
  89. #### Unload disco module ports ####
  90.  
  91. Modules status: Global+ OS+ Device  
  92. #### Load disco module ports-stack ####
  93. SQL[[0;33mSELECT * FROM `ports_stack` WHERE `device_id` = '74'[0m]
  94. SNMP[[0;36m/usr/bin/snmpbulkwalk -v2c -c COMMUNITY  -OQUs -M /opt/librenms/mibs udp:HOSTNAME:161 ifStackStatus[0m]
  95.  
  96.  
  97.  
  98. >> Runtime for discovery module 'ports-stack': 0.0040 seconds with 640 bytes
  99. #### Unload disco module ports-stack ####
  100.  
  101. Modules status: Global+ OS+ Device  
  102. #### Load disco module entity-physical ####
  103.  
  104. 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]
  105. entPhysicalEntry = No Such Object available on this agent at this OID
  106.  
  107.  entAliasMappingIdentifierSNMP[[0;36m/usr/bin/snmpbulkwalk -v2c -c COMMUNITY  -OQUs -m ENTITY-MIB:IF-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 entAliasMappingIdentifier[0m]
  108. entAliasMappingIdentifier = No Such Object available on this agent at this OID
  109.  
  110.  
  111. SQL[[0;33mSELECT * FROM `entPhysical` WHERE `device_id` = '74'[0m]
  112.  
  113. >> Runtime for discovery module 'entity-physical': 0.1680 seconds with 2928 bytes
  114. #### Unload disco module entity-physical ####
  115.  
  116. Modules status: Global+ OS+ Device  
  117. #### Load disco module processors ####
  118.  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]
  119. hrDevice = No Such Object available on this agent at this OID
  120.  
  121. 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]
  122. hrProcessorLoad = No Such Object available on this agent at this OID
  123.  
  124. SQL[[0;33mSELECT COUNT(*) FROM `processors` WHERE `device_id` = '74' AND `processor_type` != 'ucd-old'[0m]
  125. SQL[[0;33mSELECT * FROM `processors` WHERE `device_id`  = '74'[0m]
  126.  
  127.  
  128. >> Runtime for discovery module 'processors': 0.1500 seconds with 38520 bytes
  129. #### Unload disco module processors ####
  130.  
  131. Modules status: Global+ OS+ Device  
  132. #### Load disco module mempools ####
  133. SQL[[0;33mSELECT COUNT(*) FROM `mempools` WHERE `device_id` = '74' AND `mempool_type` = 'cemp'[0m]
  134. 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]
  135. hpLocalMem = No Such Object available on this agent at this OID
  136.  
  137. 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]
  138. hpGlobalMem = No Such Object available on this agent at this OID
  139.  
  140. 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]
  141. hrStorageEntry = No Such Object available on this agent at this OID
  142.  
  143. SQL[[0;33mSELECT * FROM `mempools` WHERE `device_id`  = '74'[0m]
  144.  
  145.  
  146. >> Runtime for discovery module 'mempools': 0.3780 seconds with 26256 bytes
  147. #### Unload disco module mempools ####
  148.  
  149. Modules status: Global+ OS+ Device  
  150. #### Load disco module cisco-vrf-lite ####
  151. SQL[[0;33mSELECT * FROM vrf_lite_cisco WHERE device_id = '74' [0m]
  152.  
  153. >> Runtime for discovery module 'cisco-vrf-lite': 0.0000 seconds with 1568 bytes
  154. #### Unload disco module cisco-vrf-lite ####
  155.  
  156. Modules status: Global- OS- Device  Module [ cisco-mac-accounting ] disabled on os.
  157.  
  158. Modules status: Global- OS- Device  Module [ cisco-pw ] disabled on os.
  159.  
  160. Modules status: Global- OS- Device  Module [ cisco-vrf ] disabled on os.
  161.  
  162. Modules status: Global- OS- Device  Module [ cisco-cef ] disabled on os.
  163.  
  164. Modules status: Global- OS- Device  Module [ cisco-sla ] disabled on os.
  165.  
  166. Modules status: Global- OS- Device  Module [ cisco-cbqos ] disabled on os.
  167.  
  168. Modules status: Global- OS- Device  Module [ cisco-otv ] disabled on os.
  169.  
  170. Modules status: Global+ OS+ Device  
  171. #### Load disco module ipv4-addresses ####
  172. SNMP[[0;36m/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -Osq -m IP-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 ipAdEntIfIndex[0m]
  173. ipAdEntIfIndex.* 1
  174. ipAdEntIfIndex.* 2
  175.  
  176. 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]
  177. *
  178.  
  179. SQL[[0;33mSELECT COUNT(*) FROM `ports` WHERE device_id = '74' AND `ifIndex` = '1'[0m]
  180. SQL[[0;33mSELECT `port_id` FROM `ports` WHERE `device_id` = '74' AND `ifIndex` = '1'[0m]
  181. SQL[[0;33mSELECT COUNT(*) FROM `ipv4_networks` WHERE `ipv4_network` = '127.0.0.1/8'[0m]
  182. SQL[[0;33mUPDATE `ipv4_networks` set `context_name` ='' WHERE `ipv4_network` = '127.0.0.1/8'[0m]
  183. sSQL[[0;33mSELECT `ipv4_network_id` FROM `ipv4_networks` WHERE `ipv4_network` = '127.0.0.1/8'[0m]
  184. SQL[[0;33mSELECT COUNT(*) FROM `ipv4_addresses` WHERE `ipv4_address` = '127.0.0.1' AND `ipv4_prefixlen` = '8' AND `port_id` = '4504' [0m]
  185. SQL[[0;33mUPDATE `ipv4_addresses` set `context_name` ='' WHERE `ipv4_address` = '127.0.0.1' AND `ipv4_prefixlen` = '8' AND `port_id` = '4504'[0m]
  186. .SNMP[[0;36m/usr/bin/snmpget -v2c -c COMMUNITY -Oqv -m IP-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 ipAdEntNetMask.192.168.254.36[0m]
  187. *
  188.  
  189. SQL[[0;33mSELECT COUNT(*) FROM `ports` WHERE device_id = '74' AND `ifIndex` = '2'[0m]
  190. SQL[[0;33mSELECT `port_id` FROM `ports` WHERE `device_id` = '74' AND `ifIndex` = '2'[0m]
  191. SQL[[0;33mSELECT COUNT(*) FROM `ipv4_networks` WHERE `ipv4_network` = '192.168.254.36/24'[0m]
  192. SQL[[0;33mUPDATE `ipv4_networks` set `context_name` ='' WHERE `ipv4_network` = '192.168.254.36/24'[0m]
  193. sSQL[[0;33mSELECT `ipv4_network_id` FROM `ipv4_networks` WHERE `ipv4_network` = '192.168.254.36/24'[0m]
  194. SQL[[0;33mSELECT COUNT(*) FROM `ipv4_addresses` WHERE `ipv4_address` = '192.168.254.36' AND `ipv4_prefixlen` = '24' AND `port_id` = '4505' [0m]
  195. SQL[[0;33mUPDATE `ipv4_addresses` set `context_name` ='' WHERE `ipv4_address` = '192.168.254.36' AND `ipv4_prefixlen` = '24' AND `port_id` = '4505'[0m]
  196. .SQL[[0;33mSELECT `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 = '74' OR `ports`.`device_id` IS NULL[0m]
  197.  
  198.  
  199. >> Runtime for discovery module 'ipv4-addresses': 0.1560 seconds with 32472 bytes
  200. #### Unload disco module ipv4-addresses ####
  201.  
  202. Modules status: Global+ OS+ Device  
  203. #### Load disco module ipv6-addresses ####
  204. SNMP[[0;36m/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -Ln -Osq -m IP-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 ipAddressIfIndex.ipv6[0m]
  205. ipAddressIfIndex.ipv6."00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:01" 1
  206. ipAddressIfIndex.ipv6."fe:80:00:00:00:00:00:00:02:03:ea:ff:fe:14:67:6c" 2
  207.  
  208. SNMP[[0;36m/usr/bin/snmpget -v2c -c COMMUNITY  -m IP-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 .1.3.6.1.2.1.4.34.1.5.2.16.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.1[0m]
  209. IP-MIB::ipAddressPrefix.ipv6."00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:01" = OID: IP-MIB::ipAddressPrefixOrigin.1.ipv6."00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:01".128
  210.  
  211. SNMP[[0;36m/usr/bin/snmpget -v2c -c COMMUNITY -Ovq -m IP-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 .1.3.6.1.2.1.4.34.1.6.2.16.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.1[0m]
  212. manual
  213.  
  214. SQL[[0;33mSELECT COUNT(*) FROM `ports` WHERE device_id = '74' AND `ifIndex` = '1'[0m]
  215. SNMP[[0;36m/usr/bin/snmpget -v2c -c COMMUNITY  -m IP-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 .1.3.6.1.2.1.4.34.1.5.2.16.254.128.0.0.0.0.0.0.2.3.234.255.254.20.103.108[0m]
  216. IP-MIB::ipAddressPrefix.ipv6."fe:80:00:00:00:00:00:00:02:03:ea:ff:fe:14:67:6c" = OID: IP-MIB::ipAddressPrefixOrigin.2.ipv6."fe:80:00:00:00:00:00:00:00:00:00:00:00:00:00:00".64
  217.  
  218. SNMP[[0;36m/usr/bin/snmpget -v2c -c COMMUNITY -Ovq -m IP-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 .1.3.6.1.2.1.4.34.1.6.2.16.254.128.0.0.0.0.0.0.2.3.234.255.254.20.103.108[0m]
  219. linklayer
  220.  
  221. SQL[[0;33mSELECT `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 = '74' OR `ports`.`device_id` IS NULL[0m]
  222.  
  223.  
  224. >> Runtime for discovery module 'ipv6-addresses': 0.1030 seconds with 17640 bytes
  225. #### Unload disco module ipv6-addresses ####
  226.  
  227. Modules status: Global- OS- Device  Module [ route ] disabled on os.
  228.  
  229. Modules status: Global+ OS+ Device  
  230. #### Load disco module sensors ####
  231.  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]
  232. entPhysicalDescr = No Such Object available on this agent at this OID
  233.  
  234.  entPhysicalNameSNMP[[0;36m/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m CISCO-ENTITY-SENSOR-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 entPhysicalName[0m]
  235. entPhysicalName = No Such Object available on this agent at this OID
  236.  
  237.  entPhySensorTypeSNMP[[0;36m/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m ENTITY-SENSOR-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 entPhySensorType[0m]
  238. entPhySensorType = No Such Object available on this agent at this OID
  239.  
  240.  entPhySensorScaleSNMP[[0;36m/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m ENTITY-SENSOR-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 entPhySensorScale[0m]
  241. entPhySensorScale = No Such Object available on this agent at this OID
  242.  
  243.  entPhySensorPrecisionSNMP[[0;36m/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m ENTITY-SENSOR-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 entPhySensorPrecision[0m]
  244. entPhySensorPrecision = No Such Object available on this agent at this OID
  245.  
  246.  entPhySensorValueSNMP[[0;36m/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m ENTITY-SENSOR-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 entPhySensorValue[0m]
  247. entPhySensorValue = No Such Object available on this agent at this OID
  248.  
  249.  
  250. SQL[[0;33mSELECT attrib_value FROM devices_attribs WHERE `device_id` = '74' AND `attrib_type` = 'ipmi_hostname' [0m]
  251. 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 = '74' AND S.poller_type = 'ipmi'[0m]
  252. 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 = '74' AND S.poller_type = 'ipmi'[0m]
  253. 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 = '74' AND S.poller_type = 'ipmi'[0m]
  254. 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 = '74' AND S.poller_type = 'ipmi'[0m]
  255. 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 = '74' AND S.poller_type = 'snmp'[0m]
  256.  
  257. 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 = '74' AND S.poller_type = 'snmp'[0m]
  258.  
  259. 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 = '74' AND S.poller_type = 'snmp'[0m]
  260.  
  261. 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 = '74' AND S.poller_type = 'snmp'[0m]
  262.  
  263. 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 = '74' AND S.poller_type = 'snmp'[0m]
  264.  
  265. 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 = '74' AND S.poller_type = 'snmp'[0m]
  266.  
  267. 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 = '74' AND S.poller_type = 'snmp'[0m]
  268.  
  269. 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 = '74' AND S.poller_type = 'snmp'[0m]
  270.  
  271. 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 = '74' AND S.poller_type = 'snmp'[0m]
  272.  
  273. 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 = '74' AND S.poller_type = 'snmp'[0m]
  274.  
  275. 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 = '74' AND S.poller_type = 'snmp'[0m]
  276.  
  277. 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 = '74' AND S.poller_type = 'snmp'[0m]
  278.  
  279. 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 = '74' AND S.poller_type = 'snmp'[0m]
  280.  
  281. 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 = '74' AND S.poller_type = 'snmp'[0m]
  282.  
  283. Snr: SQL[[0;33mSELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class='snr' AND S.device_id = D.device_id AND D.device_id = '74' AND S.poller_type = 'snmp'[0m]
  284.  
  285. Pressure: SQL[[0;33mSELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class='pressure' AND S.device_id = D.device_id AND D.device_id = '74' AND S.poller_type = 'snmp'[0m]
  286.  
  287. Cooling: SQL[[0;33mSELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class='cooling' AND S.device_id = D.device_id AND D.device_id = '74' AND S.poller_type = 'snmp'[0m]
  288.  
  289.  
  290. >> Runtime for discovery module 'sensors': 0.9540 seconds with 14296 bytes
  291. #### Unload disco module sensors ####
  292.  
  293. Modules status: Global+ OS+ Device  
  294. #### Load disco module storage ####
  295. 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]
  296. eqliscsiVolumeEntry = No Such Object available on this agent at this OID
  297.  
  298. SNMP[[0;36m/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUsetX -m CPQHOST-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 cpqHoFileSysEntry[0m]
  299.  
  300. HPE ILO4 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]
  301. hrStorageEntry = No Such Object available on this agent at this OID
  302.  
  303. SNMP[[0;36m/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m NETAPP-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 dfEntry[0m]
  304. dfEntry = No Such Object available on this agent at this OID
  305.  
  306. SNMP[[0;36m/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m UCD-SNMP-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 dskTable[0m]
  307. dskTable = No Such Object available on this agent at this OID
  308.  
  309. SQL[[0;33mSELECT `storage_descr` FROM `storage` WHERE `device_id`  = '74' AND `storage_type` != 'dsk'[0m]
  310. SQL[[0;33mSELECT * FROM `storage` WHERE `device_id`  = '74'[0m]
  311.  
  312.  
  313. >> Runtime for discovery module 'storage': 0.4980 seconds with 4216 bytes
  314. #### Unload disco module storage ####
  315.  
  316. Modules status: Global+ OS+ Device  
  317. #### Load disco module hr-device ####
  318. 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]
  319. hrDeviceEntry = No Such Object available on this agent at this OID
  320.  
  321. 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]
  322. hrProcessorEntry = No Such Object available on this agent at this OID
  323.  
  324. Array
  325. (
  326. )
  327. SQL[[0;33mSELECT * FROM `hrDevice` WHERE `device_id`  = '74'[0m]
  328.  
  329.  
  330. >> Runtime for discovery module 'hr-device': 0.1060 seconds with 760 bytes
  331. #### Unload disco module hr-device ####
  332.  
  333. Modules status: Global+ OS+ Device  
  334. #### Load disco module discovery-protocols ####
  335.  CISCO-CDP-MIB: SNMP[[0;36m/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUsetX -m CISCO-CDP-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 cdpCache[0m]
  336. cdpCache = No Such Object available on this agent at this OID
  337.  
  338.  
  339.  LLDP-MIB: SNMP[[0;36m/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUsetX -m LLDP-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 lldpRemTable[0m]
  340. lldpRemTable = No Such Object available on this agent at this OID
  341.  
  342.  
  343.  OSPF Discovery: SQL[[0;33mSELECT DISTINCT(`ospfNbrIpAddr`),`device_id` FROM `ospf_nbrs` WHERE `device_id`='74'[0m]
  344.  
  345. SQL[[0;33mSELECT * FROM `links` AS L, `ports` AS I WHERE L.local_port_id = I.port_id AND I.device_id = '74'[0m]
  346. SQL[[0;33mDELETE `l` FROM `links` `l` LEFT JOIN `devices` `d` ON `d`.`device_id` = `l`.`local_device_id` WHERE `d`.`device_id` IS NULL[0m]
  347.   orphaned links deleted
  348.  
  349. >> Runtime for discovery module 'discovery-protocols': 0.2070 seconds with 3400 bytes
  350. #### Unload disco module discovery-protocols ####
  351.  
  352. Modules status: Global+ OS+ Device  
  353. #### Load disco module arp-table ####
  354. SNMP[[0;36m/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUsetX -m IP-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 ipNetToPhysicalPhysAddress[0m]
  355. ipNetToPhysicalPhysAddress[2][ipv4]["*"] = 0:25:90:46:50:bc
  356.  
  357. SNMP[[0;36m/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUsetX -m IP-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 ipNetToMediaPhysAddress[0m]
  358. ipNetToMediaPhysAddress[2][*] = 0:25:90:46:50:bc
  359.  
  360. SQL[[0;33mSELECT * from `ipv4_mac` WHERE `device_id`='74' AND `context_name`=''[0m]
  361. SQL[[0;33mSELECT * FROM `ports` WHERE `device_id` = '74' AND `ifIndex` = '2'[0m]
  362. eth0:
  363. 0:25:90:46:50:bc => 192.168.254.31
  364.  
  365. SQL[[0;33mDELETE `ipv4_mac` FROM `ipv4_mac`
  366.  LEFT JOIN `ports` ON `ipv4_mac`.`port_id` = `ports`.`port_id`
  367.  LEFT JOIN `devices` ON `ipv4_mac`.`device_id` = `devices`.`device_id`
  368.  WHERE `ports`.`port_id` IS NULL OR `devices`.`device_id` IS NULL[0m]
  369.  
  370.  
  371. >> Runtime for discovery module 'arp-table': 0.0710 seconds with 16664 bytes
  372. #### Unload disco module arp-table ####
  373.  
  374. Modules status: Global- OS- Device  Module [ discovery-arp ] disabled on os.
  375.  
  376. Modules status: Global- OS- Device  Module [ junose-atm-vp ] disabled on os.
  377.  
  378. Modules status: Global+ OS+ Device  
  379. #### Load disco module bgp-peers ####
  380. SNMP[[0;36m/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -Oqvn -M /opt/librenms/mibs udp:HOSTNAME:161 .1.3.6.1.2.1.15.2[0m]
  381. No Such Object available on this agent at this OID
  382.  
  383. No BGP on hostPeers :
  384. SQL[[0;33mSELECT * FROM bgpPeers WHERE device_id = '74' AND (context_name = '' OR context_name IS NULL)[0m]
  385.  
  386.  
  387. >> Runtime for discovery module 'bgp-peers': 0.0620 seconds with 2648 bytes
  388. #### Unload disco module bgp-peers ####
  389.  
  390. Modules status: Global+ OS+ Device  
  391. #### Load disco module vlans ####
  392. SQL[[0;33mSELECT * FROM `vlans` WHERE `device_id` = '74'[0m]
  393. SNMP[[0;36m/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m BRIDGE-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 dot1dBasePortIfIndex[0m]
  394. dot1dBasePortIfIndex = No Such Object available on this agent at this OID
  395.  
  396. 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]
  397. No Such Object available on this agent at this OID
  398.  
  399.  
  400.  
  401. >> Runtime for discovery module 'vlans': 0.0620 seconds with 4608 bytes
  402. #### Unload disco module vlans ####
  403.  
  404. Modules status: Global- OS- Device  Module [ vmware-vminfo ] disabled on os.
  405.  
  406. Modules status: Global- OS- Device  Module [ libvirt-vminfo ] disabled on os.
  407.  
  408. Modules status: Global- OS- Device  Module [ toner ] disabled on os.
  409.  
  410. Modules status: Global+ OS+ Device  
  411. #### Load disco module ucd-diskio ####
  412. SNMP[[0;36m/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m UCD-DISKIO-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 diskIOEntry[0m]
  413. diskIOEntry = No Such Object available on this agent at this OID
  414.  
  415. Array
  416. (
  417. )
  418. SQL[[0;33mSELECT * FROM `ucd_diskio` where `device_id`  = '74'[0m]
  419.  
  420.  
  421. >> Runtime for discovery module 'ucd-diskio': 0.0310 seconds with 736 bytes
  422. #### Unload disco module ucd-diskio ####
  423.  
  424. Modules status: Global- OS- Device  Module [ applications ] disabled on os.
  425.  
  426. Modules status: Global+ OS+ Device  
  427. #### Load disco module services ####
  428.  
  429. >> Runtime for discovery module 'services': 0.0000 seconds with 328 bytes
  430. #### Unload disco module services ####
  431.  
  432. Modules status: Global+ OS+ Device  
  433. #### Load disco module stp ####
  434. SQL[[0;33mSELECT * FROM `stp` WHERE `device_id` = '74'[0m]
  435. SNMP[[0;36m/usr/bin/snmpget -v2c -c COMMUNITY -Oqv -m RSTP-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 dot1dStpProtocolSpecification.0[0m]
  436. No Such Object available on this agent at this OID
  437.  
  438.  
  439.  
  440. >> Runtime for discovery module 'stp': 0.0180 seconds with 3648 bytes
  441. #### Unload disco module stp ####
  442.  
  443. Modules status: Global+ OS+ Device  
  444. #### Load disco module ntp ####
  445.  
  446. >> Runtime for discovery module 'ntp': 9.7030 seconds with 144 bytes
  447. #### Unload disco module ntp ####
  448.  
  449. Modules status: Global- OS- Device  Module [ loadbalancers ] disabled on os.
  450.  
  451. Modules status: Global- OS- Device  Module [ mef ] disabled on os.
  452.  
  453. Modules status: Global+ OS+ Device  
  454. #### Load disco module wireless ####
  455. Attempting to initialize OS: generic
  456. OS initialized: LibreNMS\OS\Generic
  457. SQL[[0;33mSELECT * FROM `wireless_sensors` WHERE `device_id`='74' AND `sensor_class`='ap-count'[0m]
  458. SQL[[0;33mSELECT * FROM `wireless_sensors` WHERE `device_id`='74' AND `sensor_class`='clients'[0m]
  459. SQL[[0;33mSELECT * FROM `wireless_sensors` WHERE `device_id`='74' AND `sensor_class`='quality'[0m]
  460. SQL[[0;33mSELECT * FROM `wireless_sensors` WHERE `device_id`='74' AND `sensor_class`='capacity'[0m]
  461. SQL[[0;33mSELECT * FROM `wireless_sensors` WHERE `device_id`='74' AND `sensor_class`='utilization'[0m]
  462. SQL[[0;33mSELECT * FROM `wireless_sensors` WHERE `device_id`='74' AND `sensor_class`='rate'[0m]
  463. SQL[[0;33mSELECT * FROM `wireless_sensors` WHERE `device_id`='74' AND `sensor_class`='ccq'[0m]
  464. SQL[[0;33mSELECT * FROM `wireless_sensors` WHERE `device_id`='74' AND `sensor_class`='snr'[0m]
  465. SQL[[0;33mSELECT * FROM `wireless_sensors` WHERE `device_id`='74' AND `sensor_class`='mse'[0m]
  466. SQL[[0;33mSELECT * FROM `wireless_sensors` WHERE `device_id`='74' AND `sensor_class`='rssi'[0m]
  467. SQL[[0;33mSELECT * FROM `wireless_sensors` WHERE `device_id`='74' AND `sensor_class`='power'[0m]
  468. SQL[[0;33mSELECT * FROM `wireless_sensors` WHERE `device_id`='74' AND `sensor_class`='noise-floor'[0m]
  469. SQL[[0;33mSELECT * FROM `wireless_sensors` WHERE `device_id`='74' AND `sensor_class`='error-ratio'[0m]
  470. SQL[[0;33mSELECT * FROM `wireless_sensors` WHERE `device_id`='74' AND `sensor_class`='error-rate'[0m]
  471. SQL[[0;33mSELECT * FROM `wireless_sensors` WHERE `device_id`='74' AND `sensor_class`='frequency'[0m]
  472. SQL[[0;33mSELECT * FROM `wireless_sensors` WHERE `device_id`='74' AND `sensor_class`='distance'[0m]
  473.  
  474. >> Runtime for discovery module 'wireless': 0.0060 seconds with 132080 bytes
  475. #### Unload disco module wireless ####
  476.  
  477. Modules status: Global+ OS+ Device  
  478. #### Load disco module fdb-table ####
  479. SQL[[0;33mSELECT `vlan_id`, `vlan_vlan` from `vlans` WHERE `device_id` = '74'[0m]
  480. SQL[[0;33mSELECT * FROM `ports_fdb` WHERE `device_id` = '74'[0m]
  481. SNMP[[0;36m/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUsetX -m Q-BRIDGE-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 dot1qTpFdbPort[0m]
  482. dot1qTpFdbPort = No Such Object available on this agent at this OID
  483.  
  484. SNMP[[0;36m/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUsetX -m BRIDGE-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 dot1dTpFdbPort[0m]
  485. dot1dTpFdbPort = No Such Object available on this agent at this OID
  486.  
  487.  
  488.  
  489. >> Runtime for discovery module 'fdb-table': 0.0760 seconds with 1944 bytes
  490. #### Unload disco module fdb-table ####
  491.  
  492. SQL[[0;33mSELECT attrib_value FROM devices_attribs WHERE `device_id` = '74' AND `attrib_type` = 'poll_mib' [0m]
  493. SQL[[0;33mUPDATE `devices` set `last_discovered` =NOW(),`last_discovered_timetaken` ='3.645' WHERE `device_id` = '74'[0m]
  494. Discovered in 3.645 seconds
  495.  
  496. SQL[[0;33mINSERT INTO `perf_times` (`type`,`doing`,`start`,`duration`,`devices`,`poller`)  VALUES ('discover','74','1510067581.254','6.990','1','librenms')[0m]
  497. ./discovery.php 74 2017-11-07 16:13:08 - 1 devices discovered in 6.990 secs
  498. SNMP: Get[11/0.28s] Walk [27/2.48s]
  499. MySQL: Cell[15/0.00s] Row[6/0.00s] Rows[59/0.02s] Column[1/0.00s] Update[5/0.01s] Insert[2/0.00s] Delete[0/0.00s]
  500.