From tslytsly, 1 Year ago, written in Plain Text.
This paste is a reply to Untitled from librenms - view diff
Embed
  1. LibreNMS Discovery
  2. ===================================
  3. Version info:
  4. Commit SHA: 701fbbc29b7a25e215032a6435fac72c06094976
  5. Commit Date: 1499057076
  6. DB Schema: 198
  7. PHP: 7.0.18-0ubuntu0.16.04.1
  8. MySQL: 10.0.29-MariaDB-0ubuntu0.16.04.1
  9. RRDTool: 1.5.5
  10. SNMP: NET-SNMP 5.7.3
  11. ==================================DEBUG!
  12. SQL[[0;33mSHOW TABLES FROM librenms[0m]
  13. DB Schema update started....
  14. SQL[[0;33mSELECT version FROM `dbSchema` ORDER BY version DESC LIMIT 1[0m]
  15. DB Schema already up to date.
  16. SQL[[0;33mSELECT * FROM `devices` WHERE status = 1 AND disabled = 0 AND `hostname` LIKE 'ups' ORDER BY device_id DESC[0m]
  17. SQL[[0;33mSELECT * FROM devices_attribs WHERE `device_id` = '44'[0m]
  18. ups 44 powerwalker SQL[[0;33mINSERT INTO `device_perf` (`xmt`,`rcv`,`loss`,`min`,`max`,`avg`,`device_id`,`timestamp`)  VALUES ('3','3','0','0.73','1.09','0.93','44',NOW())[0m]
  19. SNMP Check response code: 0
  20.  
  21. Modules status: Global+ OS  Device  
  22. #### Load disco module os ####
  23. SNMP[[0;36m/usr/bin/snmpget -v2c -c COMMUNITY -Ovq -M /opt/librenms/mibs udp:HOSTNAME:161 SNMPv2-MIB::sysDescr.0[0m]
  24. Network Management Card for UPS
  25.  
  26. SNMP[[0;36m/usr/bin/snmpget -v2c -c COMMUNITY -Ovqn -M /opt/librenms/mibs udp:HOSTNAME:161 SNMPv2-MIB::sysObjectID.0[0m]
  27. .*.4.1.935.10.1
  28.  
  29. | Network Management Card for UPS | .1.3.6.1.4.1.935.10.1 |
  30.  
  31. >> Runtime for discovery module 'os': 0.1270 seconds with 848 bytes
  32. #### Unload disco module os ####
  33.  
  34. Modules status: Global+ OS  Device  
  35. #### Load disco module ports ####
  36. SNMP[[0;36m/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m IF-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 ifDescr[0m]
  37. ifDescr.1 = eth0
  38. ifDescr.2 = LOOPBACK
  39.  
  40. SNMP[[0;36m/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m IF-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 ifName[0m]
  41. ifName = No Such Object available on this agent at this OID
  42.  
  43. SNMP[[0;36m/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m IF-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 ifAlias[0m]
  44. ifAlias = No Such Object available on this agent at this OID
  45.  
  46. SNMP[[0;36m/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m IF-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 ifType[0m]
  47. ifType.1 = softwareLoopback
  48. ifType.2 = ethernetCsmacd
  49.  
  50. Array
  51. (
  52.     [1] => Array
  53.         (
  54.             [ifDescr] => eth0
  55.             [ifType] => softwareLoopback
  56.         )
  57.  
  58.     [2] => Array
  59.         (
  60.             [ifDescr] => LOOPBACK
  61.             [ifType] => ethernetCsmacd
  62.         )
  63.  
  64. )
  65. SQL[[0;33mSELECT `name` FROM `port_association_mode` WHERE pom_id = '1'[0m]
  66. SQL[[0;33mSELECT * FROM `ports` WHERE `device_id` = '44' ORDER BY port_id[0m]
  67. ..
  68.  
  69. >> Runtime for discovery module 'ports': 0.3390 seconds with 2008 bytes
  70. #### Unload disco module ports ####
  71.  
  72. Modules status: Global+ OS  Device  
  73. #### Load disco module ports-stack ####
  74. SQL[[0;33mSELECT * FROM `ports_stack` WHERE `device_id` = '44'[0m]
  75. SNMP[[0;36m/usr/bin/snmpbulkwalk -v2c -c COMMUNITY  -OQUs -M /opt/librenms/mibs udp:HOSTNAME:161 ifStackStatus[0m]
  76.  
  77.  
  78.  
  79. >> Runtime for discovery module 'ports-stack': 0.0100 seconds with 640 bytes
  80. #### Unload disco module ports-stack ####
  81.  
  82. Modules status: Global+ OS  Device  
  83. #### Load disco module entity-physical ####
  84.  
  85. 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]
  86. entPhysicalEntry = No Such Object available on this agent at this OID
  87.  
  88.  entAliasMappingIdentifierSNMP[[0;36m/usr/bin/snmpbulkwalk -v2c -c COMMUNITY  -OQUs -m ENTITY-MIB:IF-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 entAliasMappingIdentifier[0m]
  89. entAliasMappingIdentifier = No Such Object available on this agent at this OID
  90.  
  91.  
  92. SQL[[0;33mSELECT * FROM `entPhysical` WHERE `device_id` = '44'[0m]
  93.  
  94. >> Runtime for discovery module 'entity-physical': 0.2300 seconds with 2928 bytes
  95. #### Unload disco module entity-physical ####
  96.  
  97. Modules status: Global+ OS  Device  
  98. #### Load disco module processors ####
  99.  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]
  100. hrDevice = No Such Object available on this agent at this OID
  101.  
  102. 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]
  103. hrProcessorLoad = No Such Object available on this agent at this OID
  104.  
  105. SQL[[0;33mSELECT COUNT(*) FROM `processors` WHERE `device_id` = '44' AND `processor_type` != 'ucd-old'[0m]
  106. SQL[[0;33mSELECT * FROM `processors` WHERE `device_id`  = '44'[0m]
  107.  
  108.  
  109. >> Runtime for discovery module 'processors': 0.1900 seconds with 36552 bytes
  110. #### Unload disco module processors ####
  111.  
  112. Modules status: Global+ OS  Device  
  113. #### Load disco module mempools ####
  114. SQL[[0;33mSELECT COUNT(*) FROM `mempools` WHERE `device_id` = '44' AND `mempool_type` = 'cemp'[0m]
  115. 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]
  116. hpLocalMem = No Such Object available on this agent at this OID
  117.  
  118. 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]
  119. hpGlobalMem = 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:NetWare-Host-Ext-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 hrStorageEntry[0m]
  122. hrStorageEntry = No Such Object available on this agent at this OID
  123.  
  124. SQL[[0;33mSELECT * FROM `mempools` WHERE `device_id`  = '44'[0m]
  125.  
  126.  
  127. >> Runtime for discovery module 'mempools': 0.3080 seconds with 24672 bytes
  128. #### Unload disco module mempools ####
  129.  
  130. Modules status: Global- OS  Device  Module [ cisco-vrf-lite ] disabled globally.
  131.  
  132. Modules status: Global+ OS  Device  
  133. #### Load disco module cisco-mac-accounting ####
  134.  
  135. >> Runtime for discovery module 'cisco-mac-accounting': 0.0000 seconds with 1056 bytes
  136. #### Unload disco module cisco-mac-accounting ####
  137.  
  138. Modules status: Global+ OS  Device  
  139. #### Load disco module cisco-pw ####
  140.  
  141. >> Runtime for discovery module 'cisco-pw': 0.0000 seconds with 1416 bytes
  142. #### Unload disco module cisco-pw ####
  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[[0;36m/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -Osq -m IP-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 ipAdEntIfIndex[0m]
  157. ipAdEntIfIndex.* 1
  158. ipAdEntIfIndex.* 2
  159.  
  160. 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]
  161. *
  162.  
  163. SQL[[0;33mSELECT COUNT(*) FROM `ports` WHERE device_id = '44' AND `ifIndex` = '1'[0m]
  164. SQL[[0;33mSELECT `port_id` FROM `ports` WHERE `device_id` = '44' AND `ifIndex` = '1'[0m]
  165. SQL[[0;33mSELECT COUNT(*) FROM `ipv4_networks` WHERE `ipv4_network` = '127.0.0.1/32'[0m]
  166. SQL[[0;33mUPDATE `ipv4_networks` set `context_name` ='' WHERE `ipv4_network` = '127.0.0.1/32'[0m]
  167. sSQL[[0;33mSELECT `ipv4_network_id` FROM `ipv4_networks` WHERE `ipv4_network` = '127.0.0.1/32'[0m]
  168. SQL[[0;33mSELECT COUNT(*) FROM `ipv4_addresses` WHERE `ipv4_address` = '127.0.0.1' AND `ipv4_prefixlen` = '32' AND `port_id` = '783' [0m]
  169. SQL[[0;33mUPDATE `ipv4_addresses` set `context_name` ='' WHERE `ipv4_address` = '127.0.0.1' AND `ipv4_prefixlen` = '32' AND `port_id` = '783'[0m]
  170. .SNMP[[0;36m/usr/bin/snmpget -v2c -c COMMUNITY -Oqv -m IP-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 ipAdEntNetMask.172.16.100.30[0m]
  171. *
  172.  
  173. SQL[[0;33mSELECT COUNT(*) FROM `ports` WHERE device_id = '44' AND `ifIndex` = '2'[0m]
  174. SQL[[0;33mSELECT `port_id` FROM `ports` WHERE `device_id` = '44' AND `ifIndex` = '2'[0m]
  175. SQL[[0;33mSELECT COUNT(*) FROM `ipv4_networks` WHERE `ipv4_network` = '172.16.100.0/24'[0m]
  176. SQL[[0;33mUPDATE `ipv4_networks` set `context_name` ='' WHERE `ipv4_network` = '172.16.100.0/24'[0m]
  177. sSQL[[0;33mSELECT `ipv4_network_id` FROM `ipv4_networks` WHERE `ipv4_network` = '172.16.100.0/24'[0m]
  178. SQL[[0;33mSELECT COUNT(*) FROM `ipv4_addresses` WHERE `ipv4_address` = '172.16.100.30' AND `ipv4_prefixlen` = '24' AND `port_id` = '784' [0m]
  179. SQL[[0;33mUPDATE `ipv4_addresses` set `context_name` ='' WHERE `ipv4_address` = '172.16.100.30' AND `ipv4_prefixlen` = '24' AND `port_id` = '784'[0m]
  180. .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 = '44' OR `ports`.`device_id` IS NULL[0m]
  181.  
  182.  
  183. >> Runtime for discovery module 'ipv4-addresses': 0.1460 seconds with 4680 bytes
  184. #### Unload disco module ipv4-addresses ####
  185.  
  186. Modules status: Global+ OS  Device  
  187. #### Load disco module ipv6-addresses ####
  188. SNMP[[0;36m/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -Ln -Osq -m IP-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 ipAddressIfIndex.ipv6[0m]
  189. ipAddressIfIndex.ipv6 No Such Object available on this agent at this OID
  190.  
  191. SNMP[[0;36m/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -Ln -Osq -OnU -m IPV6-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 ipv6AddrPfxLength[0m]
  192. .*.*.8.1.2 No Such Object available on this agent at this OID
  193.  
  194. 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 = '44' OR `ports`.`device_id` IS NULL[0m]
  195.  
  196.  
  197. >> Runtime for discovery module 'ipv6-addresses': 0.1960 seconds with 6752 bytes
  198. #### Unload disco module ipv6-addresses ####
  199.  
  200. Modules status: Global+ OS  Device  
  201. #### Load disco module route ####
  202.  
  203. >> Runtime for discovery module 'route': 0.0000 seconds with 1448 bytes
  204. #### Unload disco module route ####
  205.  
  206. Modules status: Global+ OS  Device  
  207. #### Load disco module sensors ####
  208. Pre-cache powerwalker: upsInputEntry SNMP[[0;36m/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m UPS-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 upsInputEntry[0m]
  209. upsInputFrequency.1 = 500
  210. upsInputVoltage.1 = 242
  211. upsInputCurrent.1 = -1
  212. upsInputTruePower.1 = -1
  213.  
  214. upsOutputEntry SNMP[[0;36m/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m UPS-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 upsOutputEntry[0m]
  215. upsOutputVoltage.1 = 230
  216. upsOutputCurrent.1 = -1
  217. upsOutputPower.1 = -1
  218. upsOutputPercentLoad.1 = 18
  219.  
  220.  
  221. Array
  222. (
  223.     [powerwalker] => Array
  224.         (
  225.             [upsInputFrequency] => Array
  226.                 (
  227.                     [1] => 500
  228.                 )
  229.  
  230.             [upsInputVoltage] => Array
  231.                 (
  232.                     [1] => 242
  233.                 )
  234.  
  235.             [upsInputCurrent] => Array
  236.                 (
  237.                     [1] => -1
  238.                 )
  239.  
  240.             [upsInputTruePower] => Array
  241.                 (
  242.                     [1] => -1
  243.                 )
  244.  
  245.             [upsOutputVoltage] => Array
  246.                 (
  247.                     [1] => 230
  248.                 )
  249.  
  250.             [upsOutputCurrent] => Array
  251.                 (
  252.                     [1] => -1
  253.                 )
  254.  
  255.             [upsOutputPower] => Array
  256.                 (
  257.                     [1] => -1
  258.                 )
  259.  
  260.             [upsOutputPercentLoad] => Array
  261.                 (
  262.                     [1] => 18
  263.                 )
  264.  
  265.         )
  266.  
  267. )
  268.  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]
  269. entPhysicalDescr = No Such Object available on this agent at this OID
  270.  
  271.  entPhysicalNameSNMP[[0;36m/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m CISCO-ENTITY-SENSOR-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 entPhysicalName[0m]
  272. entPhysicalName = No Such Object available on this agent at this OID
  273.  
  274.  entPhySensorTypeSNMP[[0;36m/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m ENTITY-SENSOR-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 entPhySensorType[0m]
  275. entPhySensorType = No Such Object available on this agent at this OID
  276.  
  277.  entPhySensorScaleSNMP[[0;36m/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m ENTITY-SENSOR-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 entPhySensorScale[0m]
  278. entPhySensorScale = No Such Object available on this agent at this OID
  279.  
  280.  entPhySensorPrecisionSNMP[[0;36m/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m ENTITY-SENSOR-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 entPhySensorPrecision[0m]
  281. entPhySensorPrecision = No Such Object available on this agent at this OID
  282.  
  283.  entPhySensorValueSNMP[[0;36m/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m ENTITY-SENSOR-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 entPhySensorValue[0m]
  284. entPhySensorValue = No Such Object available on this agent at this OID
  285.  
  286.  
  287. SQL[[0;33mSELECT attrib_value FROM devices_attribs WHERE `device_id` = '44' AND `attrib_type` = 'ipmi_hostname' [0m]
  288. 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 = '44' AND S.poller_type = 'ipmi'[0m]
  289. 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 = '44' AND S.poller_type = 'ipmi'[0m]
  290. 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 = '44' AND S.poller_type = 'ipmi'[0m]
  291. 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 = '44' AND S.poller_type = 'ipmi'[0m]
  292. 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 = '44' AND S.poller_type = 'snmp'[0m]
  293.  
  294. Current: PowerWalker SNMP[[0;36m/usr/bin/snmpget -v2c -c COMMUNITY -Oqv -m UPS-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 upsBatteryCurrent.0[0m]
  295. -1 0.1 Amp DC
  296.  
  297. Discover sensor: .1.3.6.1.2.1.33.1.2.6.0, 1, powerwalker, Battery Current, snmp, 1, 1, , 101
  298. SQL[[0;33mSELECT COUNT(sensor_id) FROM `sensors` WHERE `poller_type`= 'snmp' AND `sensor_class` = 'current' AND `device_id` = '44' AND sensor_type = 'powerwalker' AND `sensor_index` = '1'[0m]
  299. SQL[[0;33mSELECT * FROM `sensors` WHERE `sensor_class` = 'current' AND `device_id` = '44' AND `sensor_type` = 'powerwalker' AND `sensor_index` = '1'[0m]
  300. .Discover sensor: .1.3.6.1.2.1.33.1.3.3.1.4.1.0, 2, powerwalker, Input Voltage, snmp, 1, 1, , 101
  301. SQL[[0;33mSELECT COUNT(sensor_id) FROM `sensors` WHERE `poller_type`= 'snmp' AND `sensor_class` = 'current' AND `device_id` = '44' AND sensor_type = 'powerwalker' AND `sensor_index` = '2'[0m]
  302. SQL[[0;33mSELECT * FROM `sensors` WHERE `sensor_class` = 'current' AND `device_id` = '44' AND `sensor_type` = 'powerwalker' AND `sensor_index` = '2'[0m]
  303. .Discover sensor: .1.3.6.1.2.1.33.1.4.4.1.3.1.0, 3, powerwalker, Output Voltage, snmp, 1, 1, , 101
  304. SQL[[0;33mSELECT COUNT(sensor_id) FROM `sensors` WHERE `poller_type`= 'snmp' AND `sensor_class` = 'current' AND `device_id` = '44' AND sensor_type = 'powerwalker' AND `sensor_index` = '3'[0m]
  305. SQL[[0;33mSELECT * FROM `sensors` WHERE `sensor_class` = 'current' AND `device_id` = '44' AND `sensor_type` = 'powerwalker' AND `sensor_index` = '3'[0m]
  306. .Array
  307. (
  308.     [powerwalker] => Array
  309.         (
  310.             [1] => 1
  311.             [2] => 1
  312.             [3] => 1
  313.         )
  314.  
  315. )
  316. 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 = '44' AND S.poller_type = 'snmp'[0m]
  317. 1 -> powerwalker
  318. 2 -> powerwalker
  319. 3 -> powerwalker
  320.  
  321. Charge: PowerWalker SNMP[[0;36m/usr/bin/snmpget -v2c -c COMMUNITY -Oqv -m UPS-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 upsEstimatedChargeRemaining.0[0m]
  322. 100 percent
  323.  
  324. Discover sensor: .1.3.6.1.2.1.33.1.2.4.0, 1, powerwalker, Battery charge remaining, snmp, 1, 1, , 100
  325. SQL[[0;33mSELECT COUNT(sensor_id) FROM `sensors` WHERE `poller_type`= 'snmp' AND `sensor_class` = 'charge' AND `device_id` = '44' AND sensor_type = 'powerwalker' AND `sensor_index` = '1'[0m]
  326. SQL[[0;33mSELECT * FROM `sensors` WHERE `sensor_class` = 'charge' AND `device_id` = '44' AND `sensor_type` = 'powerwalker' AND `sensor_index` = '1'[0m]
  327. .Array
  328. (
  329.     [powerwalker] => Array
  330.         (
  331.             [1] => 1
  332.         )
  333.  
  334. )
  335. 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 = '44' AND S.poller_type = 'snmp'[0m]
  336. 1 -> powerwalker
  337.  
  338. 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 = '44' AND S.poller_type = 'snmp'[0m]
  339.  
  340. 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 = '44' AND S.poller_type = 'snmp'[0m]
  341.  
  342. Frequency: PowerWalker Discover sensor: .1.3.6.1.2.1.33.1.3.3.1.2.1, 2, powerwalker, Input Voltage, snmp, 1, 1, , 100
  343. SQL[[0;33mSELECT COUNT(sensor_id) FROM `sensors` WHERE `poller_type`= 'snmp' AND `sensor_class` = 'frequency' AND `device_id` = '44' AND sensor_type = 'powerwalker' AND `sensor_index` = '2'[0m]
  344. SQL[[0;33mSELECT * FROM `sensors` WHERE `sensor_class` = 'frequency' AND `device_id` = '44' AND `sensor_type` = 'powerwalker' AND `sensor_index` = '2'[0m]
  345. .Array
  346. (
  347.     [powerwalker] => Array
  348.         (
  349.             [2] => 1
  350.         )
  351.  
  352. )
  353. 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 = '44' AND S.poller_type = 'snmp'[0m]
  354. 2 -> powerwalker
  355.  
  356. 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 = '44' AND S.poller_type = 'snmp'[0m]
  357.  
  358. 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 = '44' AND S.poller_type = 'snmp'[0m]
  359.  
  360. 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 = '44' AND S.poller_type = 'snmp'[0m]
  361.  
  362. Runtime: PowerWalker SNMP[[0;36m/usr/bin/snmpget -v2c -c COMMUNITY -Oqv -m UPS-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 upsEstimatedMinutesRemaining.0[0m]
  363. 41 minutes
  364.  
  365. Discover sensor: .1.3.6.1.2.1.33.1.2.3.0, 1, powerwalker, Battery time remaining, snmp, 1, 1, , 41
  366. SQL[[0;33mSELECT COUNT(sensor_id) FROM `sensors` WHERE `poller_type`= 'snmp' AND `sensor_class` = 'runtime' AND `device_id` = '44' AND sensor_type = 'powerwalker' AND `sensor_index` = '1'[0m]
  367. SQL[[0;33mSELECT * FROM `sensors` WHERE `sensor_class` = 'runtime' AND `device_id` = '44' AND `sensor_type` = 'powerwalker' AND `sensor_index` = '1'[0m]
  368. .Array
  369. (
  370.     [powerwalker] => Array
  371.         (
  372.             [1] => 1
  373.         )
  374.  
  375. )
  376. 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 = '44' AND S.poller_type = 'snmp'[0m]
  377. 1 -> powerwalker
  378.  
  379. 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 = '44' AND S.poller_type = 'snmp'[0m]
  380.  
  381. State: SNMP[[0;36m/usr/bin/snmpget -v2c -c COMMUNITY -Ovqe -m UPS-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 upsBatteryStatus.0[0m]
  382. 2
  383.  
  384. SQL[[0;33mSELECT `state_index_id` FROM state_indexes WHERE state_name = 'upsBatteryStatus' LIMIT 1[0m]
  385. SQL[[0;33mSELECT * FROM `state_translations` WHERE `state_index_id` = '920'[0m]
  386. Discover sensor: .1.3.6.1.2.1.33.1.2.1.0, 0, upsBatteryStatus, Battery Status, snmp, 1, 1, 0,
  387. SQL[[0;33mSELECT COUNT(sensor_id) FROM `sensors` WHERE `poller_type`= 'snmp' AND `sensor_class` = 'state' AND `device_id` = '44' AND sensor_type = 'upsBatteryStatus' AND `sensor_index` = '0'[0m]
  388. SQL[[0;33mSELECT * FROM `sensors` WHERE `sensor_class` = 'state' AND `device_id` = '44' AND `sensor_type` = 'upsBatteryStatus' AND `sensor_index` = '0'[0m]
  389. .SQL[[0;33mSELECT sensor_id FROM `sensors` WHERE `sensor_class` = 'state' AND `device_id` = '44' AND `sensor_type` = 'upsBatteryStatus' AND `sensor_index` = '0'[0m]
  390. SQL[[0;33mSELECT state_index_id FROM `state_indexes` WHERE `state_name` = 'upsBatteryStatus'[0m]
  391. SQL[[0;33mINSERT INTO `sensors_to_state_indexes` (`sensor_id`,`state_index_id`)  VALUES ('790','920')[0m]
  392. Array
  393. (
  394.     [upsBatteryStatus] => Array
  395.         (
  396.             [0] => 1
  397.         )
  398.  
  399. )
  400. 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 = '44' AND S.poller_type = 'snmp'[0m]
  401. 0 -> upsBatteryStatus
  402.  
  403. Temperature: PowerWalker SNMP[[0;36m/usr/bin/snmpget -v2c -c COMMUNITY -Oqv -m UPS-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 upsBatteryTemperature.0[0m]
  404. 28 degrees Centigrade
  405.  
  406. Discover sensor: .1.3.6.1.2.1.33.1.2.7.0, 1, powerwalker, Ambient Temperature, snmp, 1, 1, , 28
  407. SQL[[0;33mSELECT COUNT(sensor_id) FROM `sensors` WHERE `poller_type`= 'snmp' AND `sensor_class` = 'temperature' AND `device_id` = '44' AND sensor_type = 'powerwalker' AND `sensor_index` = '1'[0m]
  408. SQL[[0;33mSELECT * FROM `sensors` WHERE `sensor_class` = 'temperature' AND `device_id` = '44' AND `sensor_type` = 'powerwalker' AND `sensor_index` = '1'[0m]
  409. .Array
  410. (
  411.     [powerwalker] => Array
  412.         (
  413.             [1] => 1
  414.         )
  415.  
  416. )
  417. 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 = '44' AND S.poller_type = 'snmp'[0m]
  418. 1 -> powerwalker
  419.  
  420. Voltage: PowerWalker SNMP[[0;36m/usr/bin/snmpget -v2c -c COMMUNITY -Oqv -m UPS-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 upsBatteryVoltage.0[0m]
  421. 2054 0.1 Volt DC
  422.  
  423. Discover sensor: .1.3.6.1.2.1.33.1.2.5.0, 1, powerwalker, Battery Voltage, snmp, 1, 1, , 205401
  424. SQL[[0;33mSELECT COUNT(sensor_id) FROM `sensors` WHERE `poller_type`= 'snmp' AND `sensor_class` = 'voltage' AND `device_id` = '44' AND sensor_type = 'powerwalker' AND `sensor_index` = '1'[0m]
  425. SQL[[0;33mSELECT * FROM `sensors` WHERE `sensor_class` = 'voltage' AND `device_id` = '44' AND `sensor_type` = 'powerwalker' AND `sensor_index` = '1'[0m]
  426. .Discover sensor: .1.3.6.1.2.1.33.1.3.3.1.3.1, 2, powerwalker, Input Voltage, snmp, 1, 1, , 205401
  427. SQL[[0;33mSELECT COUNT(sensor_id) FROM `sensors` WHERE `poller_type`= 'snmp' AND `sensor_class` = 'voltage' AND `device_id` = '44' AND sensor_type = 'powerwalker' AND `sensor_index` = '2'[0m]
  428. SQL[[0;33mSELECT * FROM `sensors` WHERE `sensor_class` = 'voltage' AND `device_id` = '44' AND `sensor_type` = 'powerwalker' AND `sensor_index` = '2'[0m]
  429. .Discover sensor: .1.3.6.1.2.1.33.1.4.4.1.2.1, 3, powerwalker, Output Voltage, snmp, 1, 1, , 205401
  430. SQL[[0;33mSELECT COUNT(sensor_id) FROM `sensors` WHERE `poller_type`= 'snmp' AND `sensor_class` = 'voltage' AND `device_id` = '44' AND sensor_type = 'powerwalker' AND `sensor_index` = '3'[0m]
  431. SQL[[0;33mSELECT * FROM `sensors` WHERE `sensor_class` = 'voltage' AND `device_id` = '44' AND `sensor_type` = 'powerwalker' AND `sensor_index` = '3'[0m]
  432. .Array
  433. (
  434.     [powerwalker] => Array
  435.         (
  436.             [1] => 1
  437.             [2] => 1
  438.             [3] => 1
  439.         )
  440.  
  441. )
  442. 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 = '44' AND S.poller_type = 'snmp'[0m]
  443. 1 -> powerwalker
  444. 2 -> powerwalker
  445. 3 -> powerwalker
  446.  
  447. 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 = '44' AND S.poller_type = 'snmp'[0m]
  448.  
  449.  
  450. >> Runtime for discovery module 'sensors': 0.9540 seconds with 11344 bytes
  451. #### Unload disco module sensors ####
  452.  
  453. Modules status: Global+ OS  Device  
  454. #### Load disco module storage ####
  455. 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]
  456. eqliscsiVolumeEntry = No Such Object available on this agent at this OID
  457.  
  458. 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]
  459. hrStorageEntry = No Such Object available on this agent at this OID
  460.  
  461. SNMP[[0;36m/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m NETAPP-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 dfEntry[0m]
  462. dfEntry = No Such Object available on this agent at this OID
  463.  
  464. SNMP[[0;36m/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m UCD-SNMP-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 dskTable[0m]
  465. dskTable = No Such Object available on this agent at this OID
  466.  
  467. SQL[[0;33mSELECT `storage_descr` FROM `storage` WHERE `device_id`  = '44' AND `storage_type` != 'dsk'[0m]
  468. SQL[[0;33mSELECT * FROM `storage` WHERE `device_id`  = '44'[0m]
  469.  
  470.  
  471. >> Runtime for discovery module 'storage': 0.3630 seconds with 3232 bytes
  472. #### Unload disco module storage ####
  473.  
  474. Modules status: Global+ OS  Device  
  475. #### Load disco module hr-device ####
  476. 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]
  477. hrDeviceEntry = No Such Object available on this agent at this OID
  478.  
  479. 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]
  480. hrProcessorEntry = No Such Object available on this agent at this OID
  481.  
  482. Array
  483. (
  484. )
  485. SQL[[0;33mSELECT * FROM `hrDevice` WHERE `device_id`  = '44'[0m]
  486.  
  487.  
  488. >> Runtime for discovery module 'hr-device': 0.1890 seconds with 792 bytes
  489. #### Unload disco module hr-device ####
  490.  
  491. Modules status: Global+ OS  Device  
  492. #### Load disco module discovery-protocols ####
  493.  CISCO-CDP-MIB: SNMP[[0;36m/usr/bin/snmpbulkwalk -v2c -c COMMUNITY  -OQUs -m CISCO-CDP-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 cdpCache[0m]
  494. cdpCache = No Such Object available on this agent at this OID
  495.  
  496. Array
  497. (
  498. )
  499.  LLDP-MIB: SNMP[[0;36m/usr/bin/snmpbulkwalk -v2c -c COMMUNITY  -OQUs -m LLDP-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 lldpRemoteSystemsData[0m]
  500. lldpRemoteSystemsData = No Such Object available on this agent at this OID
  501.  
  502. lldpRemoteSystemsData = No Such Object available on this agent at this OID || lldpRemoteSystemsData ||  ||  ||
  503. Array
  504. (
  505. )
  506. SNMP[[0;36m/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m BRIDGE-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 dot1dBasePortIfIndex[0m]
  507. dot1dBasePortIfIndex = No Such Object available on this agent at this OID
  508.  
  509. Array
  510. (
  511. )
  512.  OSPF Discovery: enabled
  513. SQL[[0;33mSELECT DISTINCT(`ospfNbrIpAddr`),`device_id` FROM `ospf_nbrs` WHERE `device_id`='44'[0m]
  514. xSQL[[0;33mSELECT * FROM `links` AS L, `ports` AS I WHERE L.local_port_id = I.port_id AND I.device_id = '44'[0m]
  515.  
  516.  
  517. >> Runtime for discovery module 'discovery-protocols': 0.2720 seconds with 4504 bytes
  518. #### Unload disco module discovery-protocols ####
  519.  
  520. Modules status: Global+ OS  Device  
  521. #### Load disco module arp-table ####
  522. SNMP[[0;36m/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m IP-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 ipNetToPhysicalPhysAddress[0m]
  523. ipNetToPhysicalPhysAddress.1 = 0
  524. ipNetToPhysicalPhysAddress.2 = 0
  525.  
  526. SNMP[[0;36m/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m IP-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 ipNetToMediaPhysAddress[0m]
  527. ipNetToMediaPhysAddress.*.22 = e4:8d:8c:17:b8:0
  528. ipNetToMediaPhysAddress.*.85 = 0:15:5d:32:60:13
  529.  
  530. SQL[[0;33mSELECT M.* from ipv4_mac AS M, ports AS I WHERE M.port_id=I.port_id AND I.device_id='44' AND M.context_name=''[0m]
  531. SQL[[0;33mSELECT * FROM `ports` WHERE `device_id` = '44' AND `ifIndex` = '1'[0m]
  532. SQL[[0;33mSELECT * FROM `ports` WHERE `device_id` = '44' AND `ifIndex` = '2'[0m]
  533. SQL[[0;33mDELETE FROM `ipv4_mac` WHERE `port_id` = '784' AND `mac_address`='00155d65a909' AND `ipv4_address`='172.16.100.83' AND `context_name`=''[0m]
  534. SQL[[0;33mDELETE `ipv4_mac` FROM `ipv4_mac` LEFT JOIN `ports`
  535.  ON `ipv4_mac`.`port_id` = `ports`.`port_id` WHERE `ports`.`port_id` IS NULL[0m]
  536.  
  537.  
  538. >> Runtime for discovery module 'arp-table': 0.1870 seconds with 32368 bytes
  539. #### Unload disco module arp-table ####
  540.  
  541. Modules status: Global- OS  Device  Module [ discovery-arp ] disabled globally.
  542.  
  543. Modules status: Global+ OS  Device  
  544. #### Load disco module junose-atm-vp ####
  545.  
  546. >> Runtime for discovery module 'junose-atm-vp': 0.0000 seconds with 488 bytes
  547. #### Unload disco module junose-atm-vp ####
  548.  
  549. Modules status: Global- OS  Device  Module [ bgp-peers ] disabled globally.
  550.  
  551. Modules status: Global+ OS  Device  
  552. #### Load disco module vlans ####
  553. SQL[[0;33mSELECT * FROM `vlans` WHERE `device_id` = '44'[0m]
  554. SNMP[[0;36m/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m BRIDGE-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 dot1dBasePortIfIndex[0m]
  555. dot1dBasePortIfIndex = No Such Object available on this agent at this OID
  556.  
  557. 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]
  558. No Such Object available on this agent at this OID
  559.  
  560.  
  561.  
  562. >> Runtime for discovery module 'vlans': 0.1270 seconds with 4352 bytes
  563. #### Unload disco module vlans ####
  564.  
  565. Modules status: Global- OS  Device  Module [ vmware-vminfo ] disabled globally.
  566.  
  567. Modules status: Global+ OS  Device  
  568. #### Load disco module libvirt-vminfo ####
  569.  
  570. >> Runtime for discovery module 'libvirt-vminfo': 0.0000 seconds with 2232 bytes
  571. #### Unload disco module libvirt-vminfo ####
  572.  
  573. Modules status: Global+ OS  Device  
  574. #### Load disco module toner ####
  575.  
  576.  Checking valid toner ...
  577. Array
  578. (
  579. )
  580. SQL[[0;33mSELECT * FROM toner WHERE device_id = '44'[0m]
  581. Array
  582. (
  583. )
  584.  
  585.  
  586. >> Runtime for discovery module 'toner': 0.0000 seconds with 1264 bytes
  587. #### Unload disco module toner ####
  588.  
  589. Modules status: Global+ OS  Device  
  590. #### Load disco module ucd-diskio ####
  591. SNMP[[0;36m/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m UCD-DISKIO-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 diskIOEntry[0m]
  592. diskIOEntry = No Such Object available on this agent at this OID
  593.  
  594. Array
  595. (
  596. )
  597. SQL[[0;33mSELECT * FROM `ucd_diskio` where `device_id`  = '44'[0m]
  598.  
  599.  
  600. >> Runtime for discovery module 'ucd-diskio': 0.0780 seconds with 864 bytes
  601. #### Unload disco module ucd-diskio ####
  602.  
  603. Modules status: Global- OS  Device  Module [ applications ] disabled globally.
  604.  
  605. Modules status: Global+ OS  Device  
  606. #### Load disco module services ####
  607.  
  608. >> Runtime for discovery module 'services': 0.0000 seconds with 328 bytes
  609. #### Unload disco module services ####
  610.  
  611. Modules status: Global+ OS  Device  
  612. #### Load disco module stp ####
  613. SQL[[0;33mSELECT * FROM `stp` WHERE `device_id` = '44'[0m]
  614. SNMP[[0;36m/usr/bin/snmpget -v2c -c COMMUNITY -Oqv -m RSTP-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 dot1dStpProtocolSpecification.0[0m]
  615. No Such Object available on this agent at this OID
  616.  
  617.  
  618.  
  619. >> Runtime for discovery module 'stp': 0.0290 seconds with 3648 bytes
  620. #### Unload disco module stp ####
  621.  
  622. Modules status: Global+ OS  Device  
  623. #### Load disco module ntp ####
  624.  
  625. >> Runtime for discovery module 'ntp': 9.3930 seconds with 144 bytes
  626. #### Unload disco module ntp ####
  627.  
  628. Modules status: Global- OS  Device  Module [ loadbalancers ] disabled globally.
  629.  
  630. Modules status: Global- OS  Device  Module [ mef ] disabled globally.
  631.  
  632. Modules status: Global+ OS  Device  
  633. #### Load disco module wireless ####
  634. Attempting to initialize OS: powerwalker
  635. SQL[[0;33mSELECT * FROM `wireless_sensors` WHERE `device_id`='44' AND `sensor_class`='ap-count'[0m]
  636. SQL[[0;33mSELECT * FROM `wireless_sensors` WHERE `device_id`='44' AND `sensor_class`='clients'[0m]
  637. SQL[[0;33mSELECT * FROM `wireless_sensors` WHERE `device_id`='44' AND `sensor_class`='quality'[0m]
  638. SQL[[0;33mSELECT * FROM `wireless_sensors` WHERE `device_id`='44' AND `sensor_class`='capacity'[0m]
  639. SQL[[0;33mSELECT * FROM `wireless_sensors` WHERE `device_id`='44' AND `sensor_class`='utilization'[0m]
  640. SQL[[0;33mSELECT * FROM `wireless_sensors` WHERE `device_id`='44' AND `sensor_class`='rate'[0m]
  641. SQL[[0;33mSELECT * FROM `wireless_sensors` WHERE `device_id`='44' AND `sensor_class`='ccq'[0m]
  642. SQL[[0;33mSELECT * FROM `wireless_sensors` WHERE `device_id`='44' AND `sensor_class`='snr'[0m]
  643. SQL[[0;33mSELECT * FROM `wireless_sensors` WHERE `device_id`='44' AND `sensor_class`='rssi'[0m]
  644. SQL[[0;33mSELECT * FROM `wireless_sensors` WHERE `device_id`='44' AND `sensor_class`='power'[0m]
  645. SQL[[0;33mSELECT * FROM `wireless_sensors` WHERE `device_id`='44' AND `sensor_class`='noise-floor'[0m]
  646. SQL[[0;33mSELECT * FROM `wireless_sensors` WHERE `device_id`='44' AND `sensor_class`='error-ratio'[0m]
  647. SQL[[0;33mSELECT * FROM `wireless_sensors` WHERE `device_id`='44' AND `sensor_class`='error-rate'[0m]
  648. SQL[[0;33mSELECT * FROM `wireless_sensors` WHERE `device_id`='44' AND `sensor_class`='frequency'[0m]
  649. SQL[[0;33mSELECT * FROM `wireless_sensors` WHERE `device_id`='44' AND `sensor_class`='distance'[0m]
  650.  
  651. >> Runtime for discovery module 'wireless': 0.0100 seconds with 131256 bytes
  652. #### Unload disco module wireless ####
  653.  
  654. Modules status: Global+ OS  Device  
  655. #### Load disco module fdb-table ####
  656. SQL[[0;33mSELECT `vlan_id`, `vlan_vlan` from `vlans` WHERE `device_id` = '44'[0m]
  657. SQL[[0;33mSELECT * FROM `ports_fdb` WHERE `device_id` = '44'[0m]
  658. SNMP[[0;36m/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUsetX -m Q-BRIDGE-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 dot1qTpFdbPort[0m]
  659. dot1qTpFdbPort = No Such Object available on this agent at this OID
  660.  
  661. SNMP[[0;36m/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUsetX -m BRIDGE-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 dot1dTpFdbPort[0m]
  662. dot1dTpFdbPort = No Such Object available on this agent at this OID
  663.  
  664.  
  665.  
  666. >> Runtime for discovery module 'fdb-table': 0.1920 seconds with 2136 bytes
  667. #### Unload disco module fdb-table ####
  668.  
  669. Modules status: Global+ OS  Device  
  670. #### Load disco module charge ####
  671.  
  672. >> Runtime for discovery module 'charge': 5.1970 seconds with 96 bytes
  673. #### Unload disco module charge ####
  674.  
  675. SQL[[0;33mSELECT attrib_value FROM devices_attribs WHERE `device_id` = '44' AND `attrib_type` = 'poll_mib' [0m]
  676. SQL[[0;33mUPDATE `devices` set `last_discovered` =NOW(),`last_discovered_timetaken` ='4.386' WHERE `device_id` = '44'[0m]
  677. Discovered in 4.386 seconds
  678.  
  679. SQL[[0;33mINSERT INTO `perf_times` (`type`,`doing`,`start`,`duration`,`devices`,`poller`)  VALUES ('discover','ups','1499074932.9853','4.411','1','librenms\n')[0m]
  680. ./discovery.php ups 2017-07-03 10:42:17 - 1 devices discovered in 4.411 secs
  681. SNMP: Get[13/0.34s] Walk [32/2.97s]
  682. MySQL: Cell[27/0.01s] Row[19/0.01s] Rows[57/0.03s] Column[1/0.00s] Update[5/0.00s] Insert[3/0.00s] Delete[1/0.00s]
  683.