ℹ️ Your data is safe here... unless you make the SNIP gods angry. And let's just say they have a really bad sense of humor.

From joe_me, 7 Years ago, written in Plain Text.
Embed
  1. LibreNMS Discovery
  2. ===================================
  3. Version info:
  4. Commit SHA: afa5b6fd00acd2e9ec62aaa4bd88c7448aa9fe62
  5. Commit Date: 1501531269
  6. DB Schema: 200
  7. PHP: 5.6.30-0+deb8u1
  8. MySQL: 10.0.30-MariaDB-0+deb8u2
  9. RRDTool: 1.4.8
  10. SNMP: NET-SNMP 5.7.2.1
  11. ==================================DEBUG!
  12. Updating os_def.cache... Done
  13. SQL[SELECT * FROM `devices` WHERE status = 1 AND disabled = 0 AND `hostname` LIKE '10.0.10.4' ORDER BY device_id DESC]
  14. SQL[SELECT * FROM devices_attribs WHERE `device_id` = '12']
  15. 10.0.10.4 12 generex-ups SQL[INSERT INTO `device_perf` (`xmt`,`rcv`,`loss`,`min`,`max`,`avg`,`device_id`,`timestamp`)  VALUES ('3','3','0','4.46','4.79','4.59','12',NOW())]
  16. SNMP Check response code: 0
  17.  
  18. Modules status: Global+ OS  Device  
  19. #### Load disco module os ####
  20. SNMP[/usr/bin/snmpget -v2c -c COMMUNITY -Ovq -M /opt/librenms/mibs udp:HOSTNAME:161 SNMPv2-MIB::sysDescr.0]
  21. CS121 v 5.40.59
  22.  
  23. SNMP[/usr/bin/snmpget -v2c -c COMMUNITY -Ovqn -M /opt/librenms/mibs udp:HOSTNAME:161 SNMPv2-MIB::sysObjectID.0]
  24. .*.2.1.33
  25.  
  26. | CS121 v 5.40.59 | .1.3.6.1.2.1.33 |
  27.  
  28. >> Runtime for discovery module 'os': 0.0270 seconds with 1376 bytes
  29. #### Unload disco module os ####
  30.  
  31. Modules status: Global+ OS  Device  
  32. #### Load disco module ports ####
  33. SNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m IF-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 ifDescr]
  34. ifDescr.1 = CS121 Ethernet
  35.  
  36. SNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m IF-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 ifName]
  37.  
  38. SNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m IF-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 ifAlias]
  39.  
  40. SNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m IF-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 ifType]
  41. ifType.1 = ethernetCsmacd
  42.  
  43. Array
  44. (
  45.     [1] => Array
  46.         (
  47.             [ifDescr] => CS121 Ethernet
  48.             [ifType] => ethernetCsmacd
  49.         )
  50.  
  51. )
  52. SQL[SELECT `name` FROM `port_association_mode` WHERE pom_id = '1']
  53. SQL[SELECT * FROM `ports` WHERE `device_id` = '12' ORDER BY port_id]
  54. .
  55.  
  56. >> Runtime for discovery module 'ports': 2.8670 seconds with 2720 bytes
  57. #### Unload disco module ports ####
  58.  
  59. Modules status: Global+ OS- Device  Module [ ports-stack ] disabled on os.
  60.  
  61. Modules status: Global+ OS- Device  Module [ entity-physical ] disabled on os.
  62.  
  63. Modules status: Global+ OS- Device  Module [ processors ] disabled on os.
  64.  
  65. Modules status: Global+ OS- Device  Module [ mempools ] disabled on os.
  66.  
  67. Modules status: Global+ OS  Device  
  68. #### Load disco module cisco-vrf-lite ####
  69. SQL[SELECT * FROM vrf_lite_cisco WHERE device_id = '12' ]
  70.  
  71. >> Runtime for discovery module 'cisco-vrf-lite': 0.0000 seconds with 680 bytes
  72. #### Unload disco module cisco-vrf-lite ####
  73.  
  74. Modules status: Global- OS  Device  Module [ cisco-mac-accounting ] disabled globally.
  75.  
  76. Modules status: Global- OS  Device  Module [ cisco-pw ] disabled globally.
  77.  
  78. Modules status: Global- OS  Device  Module [ cisco-vrf ] disabled globally.
  79.  
  80. Modules status: Global- OS  Device  Module [ cisco-cef ] disabled globally.
  81.  
  82. Modules status: Global- OS  Device  Module [ cisco-sla ] disabled globally.
  83.  
  84. Modules status: Global- OS  Device  Module [ cisco-cbqos ] disabled globally.
  85.  
  86. Modules status: Global- OS  Device  Module [ cisco-otv ] disabled globally.
  87.  
  88. Modules status: Global+ OS  Device  
  89. #### Load disco module ipv4-addresses ####
  90. SNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -Osq -m IP-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 ipAdEntIfIndex]
  91. ipAdEntIfIndex.* 1
  92.  
  93. SNMP[/usr/bin/snmpget -v2c -c COMMUNITY -Oqv -m IP-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 ipAdEntNetMask.10.0.10.4]
  94.  
  95. SQL[SELECT COUNT(*) FROM `ports` WHERE device_id = '12' AND `ifIndex` = '1']
  96. SQL[SELECT `port_id` FROM `ports` WHERE `device_id` = '12' AND `ifIndex` = '1']
  97. SQL[SELECT COUNT(*) FROM `ipv4_networks` WHERE `ipv4_network` = '/']
  98. SQL[INSERT INTO `ipv4_networks` (`ipv4_network`,`context_name`)  VALUES ('/','')]
  99. SSQL[SELECT `ipv4_network_id` FROM `ipv4_networks` WHERE `ipv4_network` = '/']
  100. SQL[SELECT COUNT(*) FROM `ipv4_addresses` WHERE `ipv4_address` = '10.0.10.4' AND `ipv4_prefixlen` = '' AND `port_id` = '119' ]
  101. SQL[INSERT INTO `ipv4_addresses` (`ipv4_address`,`ipv4_prefixlen`,`ipv4_network_id`,`port_id`,`context_name`)  VALUES ('10.0.10.4','','10','119','')]
  102. +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 = '12' OR `ports`.`device_id` IS NULL]
  103. -SQL[DELETE FROM `ipv4_addresses` WHERE `ipv4_address_id` = '35']
  104. SQL[SELECT COUNT(*) FROM `ipv4_addresses` WHERE `ipv4_network_id` = '10']
  105. SQL[DELETE FROM `ipv4_networks` WHERE `ipv4_network_id` = '10']
  106.  
  107.  
  108. >> Runtime for discovery module 'ipv4-addresses': 0.0510 seconds with 17424 bytes
  109. #### Unload disco module ipv4-addresses ####
  110.  
  111. Modules status: Global+ OS  Device  
  112. #### Load disco module ipv6-addresses ####
  113. SNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -Ln -Osq -m IP-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 ipAddressIfIndex.ipv6]
  114.  
  115. SNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -Ln -Osq -OnU -m IPV6-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 ipv6AddrPfxLength]
  116. .*.*.8.1.2 No more variables left in this MIB View (It is past the end of the MIB tree)
  117.  
  118. 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 = '12' OR `ports`.`device_id` IS NULL]
  119.  
  120.  
  121. >> Runtime for discovery module 'ipv6-addresses': 0.0370 seconds with 544 bytes
  122. #### Unload disco module ipv6-addresses ####
  123.  
  124. Modules status: Global- OS  Device  Module [ route ] disabled globally.
  125.  
  126. Modules status: Global+ OS  Device  
  127. #### Load disco module sensors ####
  128.  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]
  129. entPhysicalDescr = No more variables left in this MIB View (It is past the end of the MIB tree)
  130.  
  131.  entPhysicalNameSNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m CISCO-ENTITY-SENSOR-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 entPhysicalName]
  132. entPhysicalName = No more variables left in this MIB View (It is past the end of the MIB tree)
  133.  
  134.  entPhySensorTypeSNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m ENTITY-SENSOR-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 entPhySensorType]
  135. entPhySensorType = No more variables left in this MIB View (It is past the end of the MIB tree)
  136.  
  137.  entPhySensorScaleSNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m ENTITY-SENSOR-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 entPhySensorScale]
  138. entPhySensorScale = No more variables left in this MIB View (It is past the end of the MIB tree)
  139.  
  140.  entPhySensorPrecisionSNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m ENTITY-SENSOR-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 entPhySensorPrecision]
  141. entPhySensorPrecision = No more variables left in this MIB View (It is past the end of the MIB tree)
  142.  
  143.  entPhySensorValueSNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m ENTITY-SENSOR-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 entPhySensorValue]
  144. entPhySensorValue = No more variables left in this MIB View (It is past the end of the MIB tree)
  145.  
  146.  
  147. SQL[SELECT attrib_value FROM devices_attribs WHERE `device_id` = '12' AND `attrib_type` = 'ipmi_hostname' ]
  148. 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 = '12' AND S.poller_type = 'ipmi']
  149. 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 = '12' AND S.poller_type = 'ipmi']
  150. 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 = '12' AND S.poller_type = 'ipmi']
  151. 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 = '12' AND S.poller_type = 'ipmi']
  152. 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 = '12' AND S.poller_type = 'snmp']
  153.  
  154. Current: RFC1628 SNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -Osqn -m UPS-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 .1.3.6.1.2.1.33.1.2.6]
  155. .*.*.2.6.0 0 0.1 Amp DC
  156.  
  157. .1.3.6.1.2.1.33.1.2.6.0 0 0.1 Amp DC
  158. SNMP[/usr/bin/snmpget -v2c -c COMMUNITY -O vq -M /opt/librenms/mibs udp:HOSTNAME:161 .1.3.6.1.2.1.33.1.2.6.0]
  159. 0
  160.  
  161. Discover sensor: .1.3.6.1.2.1.33.1.2.6.0, 500, rfc1628, Battery, snmp, 10, 1, , 0
  162. SQL[SELECT COUNT(sensor_id) FROM `sensors` WHERE `poller_type`= 'snmp' AND `sensor_class` = 'current' AND `device_id` = '12' AND sensor_type = 'rfc1628' AND `sensor_index` = '500']
  163. SQL[SELECT * FROM `sensors` WHERE `sensor_class` = 'current' AND `device_id` = '12' AND `sensor_type` = 'rfc1628' AND `sensor_index` = '500']
  164. .SNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OsqnU -M /opt/librenms/mibs udp:HOSTNAME:161 .1.3.6.1.2.1.33.1.4.3.0]
  165.  
  166.  
  167. SNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OsqnU -M /opt/librenms/mibs udp:HOSTNAME:161 .1.3.6.1.2.1.33.1.3.2.0]
  168.  
  169.  
  170. SNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OsqnU -M /opt/librenms/mibs udp:HOSTNAME:161 .1.3.6.1.2.1.33.1.5.2.0]
  171.  
  172.  
  173. Array
  174. (
  175.     [rfc1628] => Array
  176.         (
  177.             [500] => 1
  178.         )
  179.  
  180. )
  181. 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 = '12' AND S.poller_type = 'snmp']
  182. 500 -> rfc1628
  183.  
  184. Charge: RFC1628 SNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -Osqn -m UPS-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 .1.3.6.1.2.1.33.1.2.4]
  185.  
  186.  
  187. 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 = '12' AND S.poller_type = 'snmp']
  188.  
  189. 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 = '12' AND S.poller_type = 'snmp']
  190.  
  191. 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 = '12' AND S.poller_type = 'snmp']
  192.  
  193. Frequency: RFC1628 SNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OsqnU -M /opt/librenms/mibs udp:HOSTNAME:161 .1.3.6.1.2.1.33.1.3.2.0]
  194.  
  195.  
  196. SNMP[/usr/bin/snmpget -v2c -c COMMUNITY -Oqv -M /opt/librenms/mibs udp:HOSTNAME:161 .1.3.6.1.2.1.33.1.4.2.0]
  197.  
  198. SNMP[/usr/bin/snmpget -v2c -c COMMUNITY -Oqv -M /opt/librenms/mibs udp:HOSTNAME:161 .1.3.6.1.2.1.33.1.5.1.0]
  199.  
  200. 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 = '12' AND S.poller_type = 'snmp']
  201.  
  202. 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 = '12' AND S.poller_type = 'snmp']
  203.  
  204. Load: RFC1628 SNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -Osqn -m UPS-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 .1.3.6.1.2.1.33.1.4.4.1.5]
  205.  
  206.  
  207. 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 = '12' AND S.poller_type = 'snmp']
  208.  
  209. Power: RFC1628 SNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OsqnU -M /opt/librenms/mibs udp:HOSTNAME:161 .1.3.6.1.2.1.33.1.4.3.0]
  210.  
  211.  
  212. SNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OsqnU -M /opt/librenms/mibs udp:HOSTNAME:161 .1.3.6.1.2.1.33.1.3.2.0]
  213.  
  214.  
  215. SNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OsqnU -M /opt/librenms/mibs udp:HOSTNAME:161 .1.3.6.1.2.1.33.1.5.2.0]
  216.  
  217.  
  218. 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 = '12' AND S.poller_type = 'snmp']
  219.  
  220. Runtime: RFC1628 SNMP[/usr/bin/snmpget -v2c -c COMMUNITY -Oqv -M /opt/librenms/mibs udp:HOSTNAME:161 .1.3.6.1.2.1.33.1.2.2.0]
  221.  
  222. SNMP[/usr/bin/snmpget -v2c -c COMMUNITY -Ovq -M /opt/librenms/mibs udp:HOSTNAME:161 .1.3.6.1.2.1.33.1.2.3.0]
  223.  
  224. 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 = '12' AND S.poller_type = 'snmp']
  225.  
  226. 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 = '12' AND S.poller_type = 'snmp']
  227.  
  228. State: RFC1628 SNMP[/usr/bin/snmpget -v2c -c COMMUNITY -Ovqe -m UPS-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 upsBatteryStatus.0]
  229.  
  230. SNMP[/usr/bin/snmpget -v2c -c COMMUNITY -Ovqe -m UPS-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 upsOutputSource.0]
  231.  
  232. 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 = '12' AND S.poller_type = 'snmp']
  233.  
  234. Temperature: SNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -Osqn -m UPS-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 .1.3.6.1.2.1.33.1.2.7]
  235.  
  236.  
  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 = '12' AND S.poller_type = 'snmp']
  238.  
  239. Voltage: RFC1628 SNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -Osqn -m UPS-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 .1.3.6.1.2.1.33.1.2.5]
  240.  
  241.  
  242. SNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OsqnU -M /opt/librenms/mibs udp:HOSTNAME:161 .1.3.6.1.2.1.33.1.4.3.0]
  243.  
  244.  
  245. SNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OsqnU -M /opt/librenms/mibs udp:HOSTNAME:161 .1.3.6.1.2.1.33.1.3.2.0]
  246.  
  247.  
  248. SNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OsqnU -M /opt/librenms/mibs udp:HOSTNAME:161 .1.3.6.1.2.1.33.1.5.2.0]
  249.  
  250.  
  251. 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 = '12' AND S.poller_type = 'snmp']
  252.  
  253. 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 = '12' AND S.poller_type = 'snmp']
  254.  
  255.  
  256. >> Runtime for discovery module 'sensors': 132.2000 seconds with 10752 bytes
  257. #### Unload disco module sensors ####
  258.  
  259. Modules status: Global+ OS- Device  Module [ storage ] disabled on os.
  260.  
  261. Modules status: Global+ OS- Device  Module [ hr-device ] disabled on os.
  262.  
  263. Modules status: Global+ OS- Device  Module [ discovery-protocols ] disabled on os.
  264.  
  265. Modules status: Global+ OS- Device  Module [ arp-table ] disabled on os.
  266.  
  267. Modules status: Global- OS  Device  Module [ discovery-arp ] disabled globally.
  268.  
  269. Modules status: Global- OS  Device  Module [ junose-atm-vp ] disabled globally.
  270.  
  271. Modules status: Global+ OS- Device  Module [ bgp-peers ] disabled on os.
  272.  
  273. Modules status: Global+ OS- Device  Module [ vlans ] disabled on os.
  274.  
  275. Modules status: Global- OS  Device  Module [ vmware-vminfo ] disabled globally.
  276.  
  277. Modules status: Global- OS  Device  Module [ libvirt-vminfo ] disabled globally.
  278.  
  279. Modules status: Global- OS  Device  Module [ toner ] disabled globally.
  280.  
  281. Modules status: Global+ OS- Device  Module [ ucd-diskio ] disabled on os.
  282.  
  283. Modules status: Global- OS  Device  Module [ applications ] disabled globally.
  284.  
  285. Modules status: Global+ OS  Device  
  286. #### Load disco module services ####
  287.  
  288. >> Runtime for discovery module 'services': 0.0000 seconds with 392 bytes
  289. #### Unload disco module services ####
  290.  
  291. Modules status: Global+ OS- Device  Module [ stp ] disabled on os.
  292.  
  293. Modules status: Global+ OS- Device  Module [ ntp ] disabled on os.
  294.  
  295. Modules status: Global- OS  Device  Module [ loadbalancers ] disabled globally.
  296.  
  297. Modules status: Global- OS  Device  Module [ mef ] disabled globally.
  298.  
  299. Modules status: Global+ OS  Device  
  300. #### Load disco module wireless ####
  301. Attempting to initialize OS: generex-ups
  302. SQL[SELECT * FROM `wireless_sensors` WHERE `device_id`='12' AND `sensor_class`='ap-count']
  303. SQL[SELECT * FROM `wireless_sensors` WHERE `device_id`='12' AND `sensor_class`='clients']
  304. SQL[SELECT * FROM `wireless_sensors` WHERE `device_id`='12' AND `sensor_class`='quality']
  305. SQL[SELECT * FROM `wireless_sensors` WHERE `device_id`='12' AND `sensor_class`='capacity']
  306. SQL[SELECT * FROM `wireless_sensors` WHERE `device_id`='12' AND `sensor_class`='utilization']
  307. SQL[SELECT * FROM `wireless_sensors` WHERE `device_id`='12' AND `sensor_class`='rate']
  308. SQL[SELECT * FROM `wireless_sensors` WHERE `device_id`='12' AND `sensor_class`='ccq']
  309. SQL[SELECT * FROM `wireless_sensors` WHERE `device_id`='12' AND `sensor_class`='snr']
  310. SQL[SELECT * FROM `wireless_sensors` WHERE `device_id`='12' AND `sensor_class`='mse']
  311. SQL[SELECT * FROM `wireless_sensors` WHERE `device_id`='12' AND `sensor_class`='rssi']
  312. SQL[SELECT * FROM `wireless_sensors` WHERE `device_id`='12' AND `sensor_class`='power']
  313. SQL[SELECT * FROM `wireless_sensors` WHERE `device_id`='12' AND `sensor_class`='noise-floor']
  314. SQL[SELECT * FROM `wireless_sensors` WHERE `device_id`='12' AND `sensor_class`='error-ratio']
  315. SQL[SELECT * FROM `wireless_sensors` WHERE `device_id`='12' AND `sensor_class`='error-rate']
  316. SQL[SELECT * FROM `wireless_sensors` WHERE `device_id`='12' AND `sensor_class`='frequency']
  317. SQL[SELECT * FROM `wireless_sensors` WHERE `device_id`='12' AND `sensor_class`='distance']
  318.  
  319. >> Runtime for discovery module 'wireless': 0.0040 seconds with 206672 bytes
  320. #### Unload disco module wireless ####
  321.  
  322. Modules status: Global+ OS  Device  
  323. #### Load disco module fdb-table ####
  324. SQL[SELECT `vlan_id`, `vlan_vlan` from `vlans` WHERE `device_id` = '12']
  325. SQL[SELECT * FROM `ports_fdb` WHERE `device_id` = '12']
  326. SNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUsetX -m Q-BRIDGE-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 dot1qTpFdbPort]
  327.  
  328. SNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUsetX -m BRIDGE-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 dot1dTpFdbPort]
  329.  
  330.  
  331.  
  332. >> Runtime for discovery module 'fdb-table': 12.0300 seconds with 1360 bytes
  333. #### Unload disco module fdb-table ####
  334.  
  335. SQL[SELECT attrib_value FROM devices_attribs WHERE `device_id` = '12' AND `attrib_type` = 'poll_mib' ]
  336. SQL[UPDATE `devices` set `last_discovered` =NOW(),`last_discovered_timetaken` ='147.714' WHERE `device_id` = '12']
  337. Discovered in 147.714 seconds
  338.  
  339. SQL[INSERT INTO `perf_times` (`type`,`doing`,`start`,`duration`,`devices`,`poller`)  VALUES ('discover','10.0.10.4','1501670577.1803','148.0','1','NMS\n')]
  340. /opt/librenms/discovery.php 10.0.10.4 2017-08-02 12:45:25 - 1 devices discovered in 148.0 secs
  341. SNMP: Get[11/41.44s] Walk [28/93.79s]
  342. MySQL: Cell[9/0.00s] Row[4/0.00s] Rows[45/0.02s] Column[0/0.00s] Update[1/0.00s] Insert[4/0.01s] Delete[2/0.00s]
captcha