From second-mouse-gets-the-cheese, 1 Year ago, written in Plain Text.
Embed
  1. LibreNMS Discovery
  2. ===================================
  3. Version info:
  4. Commit SHA: db3a0c26232494c7f3efc13ac71d801af7ba7898
  5. Commit Date: 1495281598
  6. DB Schema: 192
  7. PHP: 7.0.14
  8. MySQL: 5.5.52-MariaDB
  9. RRDTool: 1.4.8
  10. SNMP: NET-SNMP 5.7.2
  11. ==================================DEBUG!
  12. DB Schema update started....
  13. SQL[SELECT version FROM `dbSchema` ORDER BY version DESC LIMIT 1]
  14. DB Schema already up to date.
  15. SQL[SELECT * FROM `devices` WHERE status = 1 AND disabled = 0 AND `hostname` LIKE '10.175.200.10' ORDER BY device_id DESC]
  16. SQL[SELECT * FROM devices_attribs WHERE `device_id` = '120']
  17. 10.175.200.10 120 generic SQL[INSERT INTO `device_perf` (`xmt`,`rcv`,`loss`,`min`,`max`,`avg`,`device_id`,`timestamp`)  VALUES ('3','3','0','0.93','1.01','0.97','120',NOW())]
  18. SNMP Check response code: 0
  19. SNMP[/usr/bin/snmpget -v2c -c COMMUNITY -Ovq -M /opt/librenms/mibs udp:HOSTNAME:161 SNMPv2-MIB::sysDescr.0]
  20. Schneider Electric - PM850SD
  21.  
  22. SNMP[/usr/bin/snmpget -v2c -c COMMUNITY -Ovqn -M /opt/librenms/mibs udp:HOSTNAME:161 SNMPv2-MIB::sysObjectID.0]
  23. .*.4.1.38*.15
  24.  
  25. | Schneider Electric - PM850SD | .1.3.6.1.4.1.3833.1.7.255.15 |
  26. SNMP[/usr/bin/snmpget -v2c -c COMMUNITY -Oqv -M /opt/librenms/mibs udp:HOSTNAME:161 SML-MIB::product-Name.0]
  27. Wrong Type (should be OCTET STRING): NULL
  28.  
  29.  
  30. Modules status: Global+ OS  Device  
  31. #### Load disco module os ####
  32. SNMP[/usr/bin/snmpget -v2c -c COMMUNITY -Ovq -M /opt/librenms/mibs udp:HOSTNAME:161 SNMPv2-MIB::sysDescr.0]
  33. Schneider Electric - PM850SD
  34.  
  35. SNMP[/usr/bin/snmpget -v2c -c COMMUNITY -Ovqn -M /opt/librenms/mibs udp:HOSTNAME:161 SNMPv2-MIB::sysObjectID.0]
  36. .*.4.1.38*.15
  37.  
  38. | Schneider Electric - PM850SD | .1.3.6.1.4.1.3833.1.7.255.15 |
  39. SNMP[/usr/bin/snmpget -v2c -c COMMUNITY -Oqv -M /opt/librenms/mibs udp:HOSTNAME:161 SML-MIB::product-Name.0]
  40. Wrong Type (should be OCTET STRING): NULL
  41.  
  42.  
  43. >> Runtime for discovery module 'os': 0.3040 seconds with 1168 bytes
  44. #### Unload disco module os ####
  45.  
  46. Modules status: Global+ OS  Device  
  47. #### Load disco module ports ####
  48. SNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m IF-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 ifDescr]
  49. ifDescr.1 = lo
  50. ifDescr.2 = eth0
  51.  
  52. SNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m IF-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 ifName]
  53. ifName = NULL
  54.  
  55. SNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m IF-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 ifAlias]
  56. ifAlias = NULL
  57.  
  58. SNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m IF-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 ifType]
  59. ifType.1 = other
  60. ifType.2 = iso88023Csmacd
  61.  
  62. Array
  63. (
  64.     [1] => Array
  65.         (
  66.             [ifDescr] => lo
  67.             [ifType] => other
  68.         )
  69.  
  70.     [2] => Array
  71.         (
  72.             [ifDescr] => eth0
  73.             [ifType] => iso88023Csmacd
  74.         )
  75.  
  76. )
  77. SQL[SELECT `name` FROM `port_association_mode` WHERE pom_id = '1']
  78. SQL[SELECT * FROM `ports` WHERE `device_id` = '120' ORDER BY port_id]
  79. ..
  80.  
  81. >> Runtime for discovery module 'ports': 0.1710 seconds with 2008 bytes
  82. #### Unload disco module ports ####
  83.  
  84. Modules status: Global+ OS  Device  
  85. #### Load disco module ports-stack ####
  86. SQL[SELECT * FROM `ports_stack` WHERE `device_id` = '120']
  87. SNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY  -OQUs -M /opt/librenms/mibs udp:HOSTNAME:161 ifStackStatus]
  88. ifStackStatus = NULL
  89.  
  90.  
  91.  
  92. >> Runtime for discovery module 'ports-stack': 0.0740 seconds with 640 bytes
  93. #### Unload disco module ports-stack ####
  94.  
  95. Modules status: Global+ OS  Device  
  96. #### Load disco module entity-physical ####
  97.  
  98. Caching OIDs: entPhysicalEntrySNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m ENTITY-MIB:CISCO-ENTITY-VENDORTYPE-OID-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 entPhysicalEntry]
  99. entPhysicalEntry = NULL
  100.  
  101.  entAliasMappingIdentifierSNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY  -OQUs -m ENTITY-MIB:IF-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 entAliasMappingIdentifier]
  102. entAliasMappingIdentifier = NULL
  103.  
  104.  
  105. SQL[SELECT * FROM `entPhysical` WHERE `device_id` = '120']
  106.  
  107. >> Runtime for discovery module 'entity-physical': 0.1230 seconds with 14192 bytes
  108. #### Unload disco module entity-physical ####
  109.  
  110. Modules status: Global+ OS  Device  
  111. #### Load disco module processors ####
  112.  hrDevice: SNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES -M /opt/librenms/mibs udp:HOSTNAME:161 hrDevice]
  113. hrDevice = NULL
  114.  
  115. SNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES -M /opt/librenms/mibs udp:HOSTNAME:161 hrProcessorLoad]
  116. hrProcessorLoad = NULL
  117.  
  118. SQL[SELECT COUNT(*) FROM `processors` WHERE `device_id` = '120' AND `processor_type` != 'ucd-old']
  119. SQL[SELECT * FROM `processors` WHERE `device_id`  = '120']
  120.  
  121.  
  122. >> Runtime for discovery module 'processors': 0.1220 seconds with 32160 bytes
  123. #### Unload disco module processors ####
  124.  
  125. Modules status: Global+ OS  Device  
  126. #### Load disco module mempools ####
  127. SQL[SELECT COUNT(*) FROM `mempools` WHERE `device_id` = '120' AND `mempool_type` = 'cemp']
  128. SNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m NETSWITCH-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/hp udp:HOSTNAME:161 hpLocal]
  129. hpLocalMem = NULL
  130.  
  131. SNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m NETSWITCH-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/hp udp:HOSTNAME:161 hpGlobal]
  132. hpGlobalMem = NULL
  133.  
  134. SNMP[/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]
  135. hrStorageEntry = NULL
  136.  
  137. SQL[SELECT * FROM `mempools` WHERE `device_id`  = '120']
  138.  
  139.  
  140. >> Runtime for discovery module 'mempools': 0.1720 seconds with 15200 bytes
  141. #### Unload disco module mempools ####
  142.  
  143. Modules status: Global+ OS  Device  
  144. #### Load disco module cisco-vrf-lite ####
  145. SQL[SELECT * FROM vrf_lite_cisco WHERE device_id = '120' ]
  146.  
  147. >> Runtime for discovery module 'cisco-vrf-lite': 0.0000 seconds with 1544 bytes
  148. #### Unload disco module cisco-vrf-lite ####
  149.  
  150. Modules status: Global- OS  Device  Module [ cisco-mac-accounting ] disabled globally.
  151.  
  152. Modules status: Global- OS  Device  Module [ cisco-pw ] disabled globally.
  153.  
  154. Modules status: Global- OS  Device  Module [ cisco-vrf ] disabled globally.
  155.  
  156. Modules status: Global- OS  Device  Module [ cisco-cef ] disabled globally.
  157.  
  158. Modules status: Global- OS  Device  Module [ cisco-sla ] disabled globally.
  159.  
  160. Modules status: Global- OS  Device  Module [ cisco-cbqos ] disabled globally.
  161.  
  162. Modules status: Global- OS  Device  Module [ cisco-otv ] disabled globally.
  163.  
  164. Modules status: Global+ OS  Device  
  165. #### Load disco module ipv4-addresses ####
  166. SNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -Osq -m IP-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 ipAdEntIfIndex]
  167. ipAdEntIfIndex.* 2
  168. ipAdEntIfIndex.* 1
  169.  
  170. SNMP[/usr/bin/snmpget -v2c -c COMMUNITY -Oqv -m IP-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 ipAdEntNetMask.10.175.200.10]
  171. *
  172.  
  173. SQL[SELECT COUNT(*) FROM `ports` WHERE device_id = '120' AND `ifIndex` = '2']
  174. SQL[SELECT `port_id` FROM `ports` WHERE `device_id` = '120' AND `ifIndex` = '2']
  175. SQL[SELECT COUNT(*) FROM `ipv4_networks` WHERE `ipv4_network` = '10.0.0.0/8']
  176. SQL[UPDATE `ipv4_networks` set `context_name` ='' WHERE `ipv4_network` = '10.0.0.0/8']
  177. sSQL[SELECT `ipv4_network_id` FROM `ipv4_networks` WHERE `ipv4_network` = '10.0.0.0/8']
  178. SQL[SELECT COUNT(*) FROM `ipv4_addresses` WHERE `ipv4_address` = '10.175.200.10' AND `ipv4_prefixlen` = '8' AND `port_id` = '3026' ]
  179. SQL[UPDATE `ipv4_addresses` set `context_name` ='' WHERE `ipv4_address` = '10.175.200.10' AND `ipv4_prefixlen` = '8' AND `port_id` = '3026']
  180. .SNMP[/usr/bin/snmpget -v2c -c COMMUNITY -Oqv -m IP-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 ipAdEntNetMask.127.0.0.1]
  181. *
  182.  
  183. SQL[SELECT COUNT(*) FROM `ports` WHERE device_id = '120' AND `ifIndex` = '1']
  184. SQL[SELECT `port_id` FROM `ports` WHERE `device_id` = '120' AND `ifIndex` = '1']
  185. SQL[SELECT COUNT(*) FROM `ipv4_networks` WHERE `ipv4_network` = '127.0.0.0/8']
  186. SQL[UPDATE `ipv4_networks` set `context_name` ='' WHERE `ipv4_network` = '127.0.0.0/8']
  187. sSQL[SELECT `ipv4_network_id` FROM `ipv4_networks` WHERE `ipv4_network` = '127.0.0.0/8']
  188. SQL[SELECT COUNT(*) FROM `ipv4_addresses` WHERE `ipv4_address` = '127.0.0.1' AND `ipv4_prefixlen` = '8' AND `port_id` = '3025' ]
  189. SQL[UPDATE `ipv4_addresses` set `context_name` ='' WHERE `ipv4_address` = '127.0.0.1' AND `ipv4_prefixlen` = '8' AND `port_id` = '3025']
  190. .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 = '120' OR `ports`.`device_id` IS NULL]
  191.  
  192.  
  193. >> Runtime for discovery module 'ipv4-addresses': 0.1280 seconds with 4656 bytes
  194. #### Unload disco module ipv4-addresses ####
  195.  
  196. Modules status: Global+ OS  Device  
  197. #### Load disco module ipv6-addresses ####
  198. SNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -Ln -Osq -m IP-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 ipAddressIfIndex.ipv6]
  199. ipAddressIfIndex.ipv6 Wrong Type (should be INTEGER): NULL
  200.  
  201. SNMP[/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.2917072358]
  202.  
  203. SNMP[/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.2917072358]
  204.  
  205. SQL[SELECT COUNT(*) FROM `ports` WHERE device_id = '120' AND `ifIndex` = 'Wrong']
  206. 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 = '120' OR `ports`.`device_id` IS NULL]
  207.  
  208.  
  209. >> Runtime for discovery module 'ipv6-addresses': 0.1020 seconds with 6928 bytes
  210. #### Unload disco module ipv6-addresses ####
  211.  
  212. Modules status: Global- OS  Device  Module [ route ] disabled globally.
  213.  
  214. Modules status: Global+ OS  Device  
  215. #### Load disco module sensors ####
  216.  ENTITY-SENSOR: Caching OIDs: entPhysicalDescrSNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m CISCO-ENTITY-SENSOR-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 entPhysicalDescr]
  217. entPhysicalDescr = NULL
  218.  
  219.  entPhysicalNameSNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m CISCO-ENTITY-SENSOR-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 entPhysicalName]
  220. entPhysicalName = NULL
  221.  
  222.  entPhySensorTypeSNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m ENTITY-SENSOR-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 entPhySensorType]
  223. entPhySensorType = NULL
  224.  
  225.  entPhySensorScaleSNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m ENTITY-SENSOR-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 entPhySensorScale]
  226. entPhySensorScale = NULL
  227.  
  228.  entPhySensorPrecisionSNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m ENTITY-SENSOR-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 entPhySensorPrecision]
  229. entPhySensorPrecision = NULL
  230.  
  231.  entPhySensorValueSNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m ENTITY-SENSOR-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 entPhySensorValue]
  232. entPhySensorValue = NULL
  233.  
  234.  
  235. SQL[SELECT attrib_value FROM devices_attribs WHERE `device_id` = '120' AND `attrib_type` = 'ipmi_hostname' ]
  236. 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 = '120' AND S.poller_type = 'ipmi']
  237. 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 = '120' AND S.poller_type = 'ipmi']
  238. 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 = '120' AND S.poller_type = 'ipmi']
  239. 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 = '120' AND S.poller_type = 'ipmi']
  240. 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 = '120' AND S.poller_type = 'snmp']
  241.  
  242. 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 = '120' AND S.poller_type = 'snmp']
  243.  
  244. 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 = '120' AND S.poller_type = 'snmp']
  245.  
  246. 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 = '120' AND S.poller_type = 'snmp']
  247.  
  248. 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 = '120' AND S.poller_type = 'snmp']
  249.  
  250. 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 = '120' AND S.poller_type = 'snmp']
  251.  
  252. 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 = '120' AND S.poller_type = 'snmp']
  253.  
  254. 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 = '120' AND S.poller_type = 'snmp']
  255.  
  256. 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 = '120' AND S.poller_type = 'snmp']
  257.  
  258. 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 = '120' AND S.poller_type = 'snmp']
  259.  
  260. 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 = '120' AND S.poller_type = 'snmp']
  261.  
  262. 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 = '120' AND S.poller_type = 'snmp']
  263.  
  264. 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 = '120' AND S.poller_type = 'snmp']
  265.  
  266. 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 = '120' AND S.poller_type = 'snmp']
  267.  
  268.  
  269. >> Runtime for discovery module 'sensors': 0.3200 seconds with 7504 bytes
  270. #### Unload disco module sensors ####
  271.  
  272. Modules status: Global+ OS  Device  
  273. #### Load disco module storage ####
  274. SNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m EQLVOLUME-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/equallogic udp:HOSTNAME:161 EqliscsiVolumeEntry]
  275. eqliscsiVolumeEntry = NULL
  276.  
  277. SNMP[/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]
  278. hrStorageEntry = NULL
  279.  
  280. SNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m NETAPP-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 dfEntry]
  281. dfEntry = NULL
  282.  
  283. SNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m UCD-SNMP-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 dskTable]
  284. dskTable = NULL
  285.  
  286. SQL[SELECT `storage_descr` FROM `storage` WHERE `device_id`  = '120' AND `storage_type` != 'dsk']
  287. SQL[SELECT * FROM `storage` WHERE `device_id`  = '120']
  288.  
  289.  
  290. >> Runtime for discovery module 'storage': 0.2560 seconds with 3232 bytes
  291. #### Unload disco module storage ####
  292.  
  293. Modules status: Global+ OS  Device  
  294. #### Load disco module hr-device ####
  295. SNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES -M /opt/librenms/mibs udp:HOSTNAME:161 hrDeviceEntry]
  296. hrDeviceEntry = NULL
  297.  
  298. SNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES -M /opt/librenms/mibs udp:HOSTNAME:161 hrProcessorEntry]
  299. hrProcessorEntry = NULL
  300.  
  301. Array
  302. (
  303. )
  304. SQL[SELECT * FROM `hrDevice` WHERE `device_id`  = '120']
  305.  
  306.  
  307. >> Runtime for discovery module 'hr-device': 0.1050 seconds with 792 bytes
  308. #### Unload disco module hr-device ####
  309.  
  310. Modules status: Global+ OS  Device  
  311. #### Load disco module discovery-protocols ####
  312.  CISCO-CDP-MIB: SNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY  -OQUs -m CISCO-CDP-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 cdpCache]
  313. cdpCache = NULL
  314.  
  315. Array
  316. (
  317. )
  318.  LLDP-MIB: SNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY  -OQUs -m LLDP-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 lldpRemoteSystemsData]
  319. lldpRemoteSystemsData = NULL
  320.  
  321. lldpRemoteSystemsData = NULL || lldpRemoteSystemsData ||  ||  ||
  322. Array
  323. (
  324. )
  325. SNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m BRIDGE-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 dot1dBasePortIfIndex]
  326. dot1dBasePortIfIndex = NULL
  327.  
  328. Array
  329. (
  330. )
  331.  OSPF Discovery: enabled
  332. SQL[SELECT DISTINCT(`ospfNbrIpAddr`),`device_id` FROM `ospf_nbrs` WHERE `device_id`='120']
  333. SQL[SELECT * FROM `links` AS L, `ports` AS I WHERE L.local_port_id = I.port_id AND I.device_id = '120']
  334.  
  335.  
  336. >> Runtime for discovery module 'discovery-protocols': 0.3350 seconds with 4208 bytes
  337. #### Unload disco module discovery-protocols ####
  338.  
  339. Modules status: Global+ OS  Device  
  340. #### Load disco module arp-table ####
  341. SNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m IP-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 ipNetToPhysicalPhysAddress]
  342. ipNetToPhysicalPhysAddress = NULL
  343.  
  344. SNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m IP-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 ipNetToMediaPhysAddress]
  345. ipNetToMediaPhysAddress.*.1 = 0:f:24:bf:74:cc
  346. ipNetToMediaPhysAddress.*.2 = 0:21:9b:8b:e7:f
  347. ipNetToMediaPhysAddress.*.253 = 0:c:29:92:c:ae
  348. ipNetToMediaPhysAddress.*.42 = 0:21:9b:8b:e7:f
  349.  
  350. SQL[SELECT M.* from ipv4_mac AS M, ports AS I WHERE M.port_id=I.port_id AND I.device_id='120' AND M.context_name='']
  351. SQL[SELECT * FROM `ports` WHERE `device_id` = '120' AND `ifIndex` = '2']
  352. SQL[DELETE `ipv4_mac` FROM `ipv4_mac` LEFT JOIN `ports`
  353.  ON `ipv4_mac`.`port_id` = `ports`.`port_id` WHERE `ports`.`port_id` IS NULL]
  354.  
  355.  
  356. >> Runtime for discovery module 'arp-table': 0.1370 seconds with 17016 bytes
  357. #### Unload disco module arp-table ####
  358.  
  359. Modules status: Global- OS  Device  Module [ discovery-arp ] disabled globally.
  360.  
  361. Modules status: Global- OS  Device  Module [ junose-atm-vp ] disabled globally.
  362.  
  363. Modules status: Global+ OS  Device  
  364. #### Load disco module bgp-peers ####
  365. SNMP[/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]
  366. Wrong Type (should be INTEGER): NULL
  367.  
  368. No BGP on hostPeers :
  369. SQL[SELECT * FROM bgpPeers WHERE device_id = '120' AND (context_name = '' OR context_name IS NULL)]
  370.  
  371.  
  372. >> Runtime for discovery module 'bgp-peers': 0.0520 seconds with 2832 bytes
  373. #### Unload disco module bgp-peers ####
  374.  
  375. Modules status: Global+ OS  Device  
  376. #### Load disco module vlans ####
  377. SQL[SELECT * FROM `vlans` WHERE `device_id` = '120']
  378. SNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m BRIDGE-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 dot1dBasePortIfIndex]
  379. dot1dBasePortIfIndex = NULL
  380.  
  381. IEEE8021-Q-BRIDGE-MIB VLANs: SNMP[/usr/bin/snmpget -v2c -c COMMUNITY -Oqv -m IEEE8021-Q-BRIDGE-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 dot1qVlanVersionNumber.0]
  382. Wrong Type (should be INTEGER): NULL
  383.  
  384.  
  385.  
  386. >> Runtime for discovery module 'vlans': 0.1020 seconds with 4448 bytes
  387. #### Unload disco module vlans ####
  388.  
  389. Modules status: Global- OS  Device  Module [ vmware-vminfo ] disabled globally.
  390.  
  391. Modules status: Global- OS  Device  Module [ libvirt-vminfo ] disabled globally.
  392.  
  393. Modules status: Global- OS  Device  Module [ toner ] disabled globally.
  394.  
  395. Modules status: Global+ OS  Device  
  396. #### Load disco module ucd-diskio ####
  397. SNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m UCD-DISKIO-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 diskIOEntry]
  398. diskIOEntry = NULL
  399.  
  400. Array
  401. (
  402. )
  403. SQL[SELECT * FROM `ucd_diskio` where `device_id`  = '120']
  404.  
  405.  
  406. >> Runtime for discovery module 'ucd-diskio': 0.0490 seconds with 736 bytes
  407. #### Unload disco module ucd-diskio ####
  408.  
  409. Modules status: Global- OS  Device  Module [ applications ] disabled globally.
  410.  
  411. Modules status: Global+ OS  Device  
  412. #### Load disco module services ####
  413.  
  414. >> Runtime for discovery module 'services': 0.0000 seconds with 328 bytes
  415. #### Unload disco module services ####
  416.  
  417. Modules status: Global+ OS  Device  
  418. #### Load disco module stp ####
  419. SQL[SELECT * FROM `stp` WHERE `device_id` = '120']
  420. SNMP[/usr/bin/snmpget -v2c -c COMMUNITY -Oqv -m RSTP-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 dot1dStpProtocolSpecification.0]
  421. Wrong Type (should be INTEGER): NULL
  422.  
  423.  
  424.  
  425. >> Runtime for discovery module 'stp': 0.0250 seconds with 3712 bytes
  426. #### Unload disco module stp ####
  427.  
  428. Modules status: Global+ OS  Device  
  429. #### Load disco module ntp ####
  430.  
  431. >> Runtime for discovery module 'ntp': 0.0000 seconds with 144 bytes
  432. #### Unload disco module ntp ####
  433.  
  434. Modules status: Global- OS  Device  Module [ loadbalancers ] disabled globally.
  435.  
  436. Modules status: Global- OS  Device  Module [ mef ] disabled globally.
  437.  
  438. Modules status: Global+ OS  Device  
  439. #### Load disco module wireless ####
  440. Attempting to initialize OS: generic
  441. OS initialized: LibreNMS\OS\Generic
  442. SQL[SELECT * FROM `wireless_sensors` WHERE `device_id`='120' AND `sensor_class`='ap-count']
  443. SQL[SELECT * FROM `wireless_sensors` WHERE `device_id`='120' AND `sensor_class`='clients']
  444. SQL[SELECT * FROM `wireless_sensors` WHERE `device_id`='120' AND `sensor_class`='quality']
  445. SQL[SELECT * FROM `wireless_sensors` WHERE `device_id`='120' AND `sensor_class`='capacity']
  446. SQL[SELECT * FROM `wireless_sensors` WHERE `device_id`='120' AND `sensor_class`='utilization']
  447. SQL[SELECT * FROM `wireless_sensors` WHERE `device_id`='120' AND `sensor_class`='rate']
  448. SQL[SELECT * FROM `wireless_sensors` WHERE `device_id`='120' AND `sensor_class`='ccq']
  449. SQL[SELECT * FROM `wireless_sensors` WHERE `device_id`='120' AND `sensor_class`='snr']
  450. SQL[SELECT * FROM `wireless_sensors` WHERE `device_id`='120' AND `sensor_class`='rssi']
  451. SQL[SELECT * FROM `wireless_sensors` WHERE `device_id`='120' AND `sensor_class`='power']
  452. SQL[SELECT * FROM `wireless_sensors` WHERE `device_id`='120' AND `sensor_class`='noise-floor']
  453. SQL[SELECT * FROM `wireless_sensors` WHERE `device_id`='120' AND `sensor_class`='error-ratio']
  454. SQL[SELECT * FROM `wireless_sensors` WHERE `device_id`='120' AND `sensor_class`='error-rate']
  455. SQL[SELECT * FROM `wireless_sensors` WHERE `device_id`='120' AND `sensor_class`='frequency']
  456. SQL[SELECT * FROM `wireless_sensors` WHERE `device_id`='120' AND `sensor_class`='distance']
  457.  
  458. >> Runtime for discovery module 'wireless': 0.0120 seconds with 130880 bytes
  459. #### Unload disco module wireless ####
  460.  
  461. SQL[SELECT attrib_value FROM devices_attribs WHERE `device_id` = '120' AND `attrib_type` = 'poll_mib' ]
  462. SQL[UPDATE `devices` set `last_discovered` =NOW(),`last_discovered_timetaken` ='3.370' WHERE `device_id` = '120']
  463. Discovered in 3.370 seconds
  464.  
  465. SQL[INSERT INTO `perf_times` (`type`,`doing`,`start`,`duration`,`devices`,`poller`)  VALUES ('discover','10.175.200.10','1495464651.0483','3.419','1','theia.turnkeyinternet.net\n')]
  466. /opt/librenms/discovery.php 10.175.200.10 2017-05-22 10:50:54 - 1 devices discovered in 3.419 secs
  467. SNMP: Get[13/0.51s] Walk [30/1.72s]
  468. MySQL: Cell[16/0.01s] Row[5/0.00s] Rows[53/0.04s] Column[1/0.00s] Update[5/0.01s] Insert[2/0.00s] Delete[0/0.00s]
  469.