Advertisement
thehero

librenms-apc-pdu-env-sensor-disco

Oct 13th, 2017
355
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 99.50 KB | None | 0 0
  1. LibreNMS Discovery
  2. ===================================
  3. Version info:
  4. Commit SHA: 6b44ac784a33e1d428854c936936d1b4fe073252
  5. Commit Date: 1507830925
  6. DB Schema: 210
  7. PHP: 7.0.22
  8. MySQL: 5.5.56-MariaDB
  9. RRDTool: 1.4.8
  10. SNMP: NET-SNMP 5.7.2
  11. ==================================DEBUG!
  12. SQL[SELECT * FROM `devices` WHERE status = 1 AND disabled = 0 AND `hostname` LIKE 'apc1.test.org' ORDER BY device_id DESC]
  13. SQL[SELECT * FROM devices_attribs WHERE `device_id` = '101']
  14. apc1.test.org 101 apc SQL[INSERT INTO `device_perf` (`xmt`,`rcv`,`loss`,`min`,`max`,`avg`,`device_id`,`timestamp`) VALUES ('3','3','0','0.77','0.93','0.82','101',NOW())]
  15. SNMP Check response code: 0
  16. SQL[SELECT attrib_value FROM devices_attribs WHERE `device_id` = '101' AND `attrib_type` = 'poll_mib' ]
  17.  
  18. Modules status: Global+ OS+ Device
  19. #### Load disco module os ####
  20. SNMP[/usr/bin/snmpget -v1 -c COMMUNITY -Ovq -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 SNMPv2-MIB::sysDescr.0]
  21. APC Web/SNMP Management Card (MB:v4.1.0 PF:v6.4.6 PN:apc_hw05_aos_646.bin AF1:v6.4.6 AN1:apc_hw05_rpdu2g_646.bin MN:AP8941 HR:02 SN: 5A1720E08868 MD:05/20/2017)
  22.  
  23. SNMP[/usr/bin/snmpget -v1 -c COMMUNITY -Ovqn -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 SNMPv2-MIB::sysObjectID.0]
  24. .*.4.1.3*.6
  25.  
  26. | APC Web/SNMP Management Card (MB:v4.1.0 PF:v6.4.6 PN:apc_hw05_aos_646.bin AF1:v6.4.6 AN1:apc_hw05_rpdu2g_646.bin MN:AP8941 HR:02 SN: 5A1720E08868 MD:05/20/2017) | .1.3.6.1.4.1.318.1.3.4.6 |
  27.  
  28. >> Runtime for discovery module 'os': 0.0710 seconds with 840 bytes
  29. #### Unload disco module os ####
  30.  
  31. Modules status: Global+ OS+ Device
  32. #### Load disco module ports ####
  33. SNMP[/usr/bin/snmpwalk -v1 -c COMMUNITY -OQUs -m IF-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 ifDescr]
  34. ifDescr.1 = LOOPBACK
  35. ifDescr.2 = vmac0
  36.  
  37. SNMP[/usr/bin/snmpwalk -v1 -c COMMUNITY -OQUs -m IF-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 ifName]
  38.  
  39. SNMP[/usr/bin/snmpwalk -v1 -c COMMUNITY -OQUs -m IF-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 ifAlias]
  40.  
  41. SNMP[/usr/bin/snmpwalk -v1 -c COMMUNITY -OQUs -m IF-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 ifType]
  42. ifType.1 = softwareLoopback
  43. ifType.2 = ethernetCsmacd
  44.  
  45. Array
  46. (
  47. [1] => Array
  48. (
  49. [ifDescr] => LOOPBACK
  50. [ifType] => softwareLoopback
  51. )
  52.  
  53. [2] => Array
  54. (
  55. [ifDescr] => vmac0
  56. [ifType] => ethernetCsmacd
  57. )
  58.  
  59. )
  60. SQL[SELECT `name` FROM `port_association_mode` WHERE pom_id = '1']
  61. SQL[SELECT * FROM `ports` WHERE `device_id` = '101' ORDER BY port_id]
  62. ..
  63.  
  64. >> Runtime for discovery module 'ports': 0.1130 seconds with 2040 bytes
  65. #### Unload disco module ports ####
  66.  
  67. Modules status: Global+ OS+ Device
  68. #### Load disco module ports-stack ####
  69. SQL[SELECT * FROM `ports_stack` WHERE `device_id` = '101']
  70. SNMP[/usr/bin/snmpwalk -v1 -c COMMUNITY -OQUs -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 ifStackStatus]
  71.  
  72.  
  73.  
  74. >> Runtime for discovery module 'ports-stack': 0.0350 seconds with 640 bytes
  75. #### Unload disco module ports-stack ####
  76.  
  77. Modules status: Global+ OS+ Device
  78. #### Load disco module entity-physical ####
  79.  
  80. Caching OIDs: entPhysicalEntrySNMP[/usr/bin/snmpwalk -v1 -c COMMUNITY -OQUs -m ENTITY-MIB:CISCO-ENTITY-VENDORTYPE-OID-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 entPhysicalEntry]
  81.  
  82. entAliasMappingIdentifierSNMP[/usr/bin/snmpwalk -v1 -c COMMUNITY -OQUs -m ENTITY-MIB:IF-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 entAliasMappingIdentifier]
  83.  
  84.  
  85. SQL[SELECT * FROM `entPhysical` WHERE `device_id` = '101']
  86.  
  87. >> Runtime for discovery module 'entity-physical': 0.2180 seconds with 2928 bytes
  88. #### Unload disco module entity-physical ####
  89.  
  90. Modules status: Global+ OS+ Device
  91. #### Load disco module processors ####
  92. hrDevice: SNMP[/usr/bin/snmpwalk -v1 -c COMMUNITY -OQUs -m HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 hrDevice]
  93.  
  94. SNMP[/usr/bin/snmpwalk -v1 -c COMMUNITY -OQUs -m HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 hrProcessorLoad]
  95.  
  96. SQL[SELECT COUNT(*) FROM `processors` WHERE `device_id` = '101' AND `processor_type` != 'ucd-old']
  97. SQL[SELECT * FROM `processors` WHERE `device_id` = '101']
  98.  
  99.  
  100. >> Runtime for discovery module 'processors': 0.2900 seconds with 38080 bytes
  101. #### Unload disco module processors ####
  102.  
  103. Modules status: Global+ OS+ Device
  104. #### Load disco module mempools ####
  105. SQL[SELECT COUNT(*) FROM `mempools` WHERE `device_id` = '101' AND `mempool_type` = 'cemp']
  106. SNMP[/usr/bin/snmpwalk -v1 -c COMMUNITY -OQUs -m NETSWITCH-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/apc:/opt/librenms/mibs/hp -t 1 -r 5 udp:HOSTNAME:161 hpLocal]
  107.  
  108. SNMP[/usr/bin/snmpwalk -v1 -c COMMUNITY -OQUs -m NETSWITCH-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/apc:/opt/librenms/mibs/hp -t 1 -r 5 udp:HOSTNAME:161 hpGlobal]
  109.  
  110. SNMP[/usr/bin/snmpwalk -v1 -c COMMUNITY -OQUs -m HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:NetWare-Host-Ext-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 hrStorageEntry]
  111.  
  112. SQL[SELECT * FROM `mempools` WHERE `device_id` = '101']
  113.  
  114.  
  115. >> Runtime for discovery module 'mempools': 0.4480 seconds with 26184 bytes
  116. #### Unload disco module mempools ####
  117.  
  118. Modules status: Global+ OS+ Device
  119. #### Load disco module cisco-vrf-lite ####
  120. SQL[SELECT * FROM vrf_lite_cisco WHERE device_id = '101' ]
  121.  
  122. >> Runtime for discovery module 'cisco-vrf-lite': 0.0000 seconds with 1568 bytes
  123. #### Unload disco module cisco-vrf-lite ####
  124.  
  125. Modules status: Global- OS- Device Module [ cisco-mac-accounting ] disabled on os.
  126.  
  127. Modules status: Global- OS- Device Module [ cisco-pw ] disabled on os.
  128.  
  129. Modules status: Global- OS- Device Module [ cisco-vrf ] disabled on os.
  130.  
  131. Modules status: Global- OS- Device Module [ cisco-cef ] disabled on os.
  132.  
  133. Modules status: Global- OS- Device Module [ cisco-sla ] disabled on os.
  134.  
  135. Modules status: Global- OS- Device Module [ cisco-cbqos ] disabled on os.
  136.  
  137. Modules status: Global- OS- Device Module [ cisco-otv ] disabled on os.
  138.  
  139. Modules status: Global+ OS+ Device
  140. #### Load disco module ipv4-addresses ####
  141. SNMP[/usr/bin/snmpwalk -v1 -c COMMUNITY -Osq -m IP-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 ipAdEntIfIndex]
  142. ipAdEntIfIndex.* 2
  143. ipAdEntIfIndex.* 1
  144.  
  145. SNMP[/usr/bin/snmpget -v1 -c COMMUNITY -Oqv -m IP-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 ipAdEntNetMask.10.10.1.221]
  146. *
  147.  
  148. SQL[SELECT COUNT(*) FROM `ports` WHERE device_id = '101' AND `ifIndex` = '2']
  149. SQL[SELECT `port_id` FROM `ports` WHERE `device_id` = '101' AND `ifIndex` = '2']
  150. SQL[SELECT COUNT(*) FROM `ipv4_networks` WHERE `ipv4_network` = '10.10.1.221/24']
  151. SQL[UPDATE `ipv4_networks` set `context_name` ='' WHERE `ipv4_network` = '10.10.1.221/24']
  152. sSQL[SELECT `ipv4_network_id` FROM `ipv4_networks` WHERE `ipv4_network` = '10.10.1.221/24']
  153. SQL[SELECT COUNT(*) FROM `ipv4_addresses` WHERE `ipv4_address` = '10.10.1.221' AND `ipv4_prefixlen` = '24' AND `port_id` = '5458' ]
  154. SQL[UPDATE `ipv4_addresses` set `context_name` ='' WHERE `ipv4_address` = '10.10.1.221' AND `ipv4_prefixlen` = '24' AND `port_id` = '5458']
  155. .SNMP[/usr/bin/snmpget -v1 -c COMMUNITY -Oqv -m IP-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 ipAdEntNetMask.127.0.0.1]
  156. *
  157.  
  158. SQL[SELECT COUNT(*) FROM `ports` WHERE device_id = '101' AND `ifIndex` = '1']
  159. SQL[SELECT `port_id` FROM `ports` WHERE `device_id` = '101' AND `ifIndex` = '1']
  160. SQL[SELECT COUNT(*) FROM `ipv4_networks` WHERE `ipv4_network` = '127.0.0.1/32']
  161. SQL[UPDATE `ipv4_networks` set `context_name` ='' WHERE `ipv4_network` = '127.0.0.1/32']
  162. sSQL[SELECT `ipv4_network_id` FROM `ipv4_networks` WHERE `ipv4_network` = '127.0.0.1/32']
  163. SQL[SELECT COUNT(*) FROM `ipv4_addresses` WHERE `ipv4_address` = '127.0.0.1' AND `ipv4_prefixlen` = '32' AND `port_id` = '5457' ]
  164. SQL[UPDATE `ipv4_addresses` set `context_name` ='' WHERE `ipv4_address` = '127.0.0.1' AND `ipv4_prefixlen` = '32' AND `port_id` = '5457']
  165. .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 = '101' OR `ports`.`device_id` IS NULL]
  166.  
  167.  
  168. >> Runtime for discovery module 'ipv4-addresses': 0.0860 seconds with 32432 bytes
  169. #### Unload disco module ipv4-addresses ####
  170.  
  171. Modules status: Global+ OS+ Device
  172. #### Load disco module ipv6-addresses ####
  173. SNMP[/usr/bin/snmpwalk -v1 -c COMMUNITY -Ln -Osq -m IP-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 ipAddressIfIndex.ipv6]
  174.  
  175. SNMP[/usr/bin/snmpwalk -v1 -c COMMUNITY -Ln -Osq -OnU -m IPV6-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 ipv6AddrPfxLength]
  176.  
  177. 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 = '101' OR `ports`.`device_id` IS NULL]
  178.  
  179.  
  180. >> Runtime for discovery module 'ipv6-addresses': 0.0550 seconds with 1120 bytes
  181. #### Unload disco module ipv6-addresses ####
  182.  
  183. Modules status: Global- OS- Device Module [ route ] disabled on os.
  184.  
  185. Modules status: Global+ OS+ Device
  186. #### Load disco module sensors ####
  187. Pre-cache apc: coolingUnitStatusAnalogEntry SNMP[/usr/bin/snmpwalk -v1 -c COMMUNITY -OQUs -m PowerNet-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 coolingUnitStatusAnalogEntry]
  188.  
  189. upsPhaseNumInputPhases SNMP[/usr/bin/snmpget -v1 -c COMMUNITY -OQv -m PowerNet-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 upsPhaseNumInputPhases.1]
  190.  
  191. memSensorsStatusTable SNMP[/usr/bin/snmpwalk -v1 -c COMMUNITY -OQUse -m PowerNet-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 memSensorsStatusTable]
  192.  
  193. memSensorsStatusSysTempUnits SNMP[/usr/bin/snmpget -v1 -c COMMUNITY -OQv -m PowerNet-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 memSensorsStatusSysTempUnits.0]
  194.  
  195.  
  196. Array
  197. (
  198. [cooling_unit_analog] => Array
  199. (
  200. )
  201.  
  202. [apcups_phase_count] =>
  203. [mem_sensors_status] => Array
  204. (
  205. )
  206.  
  207. [memSensorsStatusSysTempUnits] =>
  208. )
  209. SNMP[/usr/bin/snmpwalk -v1 -c COMMUNITY -OeQUs -Ih -m PowerNet-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 airIRG2RDT2ThresholdsRackInletHighTempMetric]
  210.  
  211. SNMP[/usr/bin/snmpwalk -v1 -c COMMUNITY -OeQUs -Ih -m PowerNet-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 airIRG2RDT2ThresholdsSupplyAirHighTempMetric]
  212.  
  213. SNMP[/usr/bin/snmpwalk -v1 -c COMMUNITY -OeQUs -Ih -m PowerNet-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 airIRG2RDT2ThresholdsReturnAirHighTempMetric]
  214.  
  215. SNMP[/usr/bin/snmpwalk -v1 -c COMMUNITY -OeQUs -Ih -m PowerNet-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 upsBasicOutputStatus]
  216.  
  217. SNMP[/usr/bin/snmpwalk -v1 -c COMMUNITY -OeQUs -Ih -m PowerNet-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 airIRRP100UnitStatusOperateMode]
  218.  
  219. SNMP[/usr/bin/snmpwalk -v1 -c COMMUNITY -OeQUs -Ih -m PowerNet-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 airIRRP100UnitStatusInputState]
  220.  
  221. SNMP[/usr/bin/snmpwalk -v1 -c COMMUNITY -OeQUs -Ih -m PowerNet-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 airIRRP100UnitStatusOutputState]
  222.  
  223. SNMP[/usr/bin/snmpwalk -v1 -c COMMUNITY -OeQUs -Ih -m PowerNet-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 airIRRP500UnitStatusOperateMode]
  224.  
  225. SNMP[/usr/bin/snmpwalk -v1 -c COMMUNITY -OeQUs -Ih -m PowerNet-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 airIRRP500UnitStatusInputState]
  226.  
  227. SNMP[/usr/bin/snmpwalk -v1 -c COMMUNITY -OeQUs -Ih -m PowerNet-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 airIRRP500UnitStatusOutputState]
  228.  
  229. SNMP[/usr/bin/snmpwalk -v1 -c COMMUNITY -OeQUs -Ih -m PowerNet-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 rPDU2PhaseStatusTable]
  230. rPDU2PhaseStatusIndex.1 = 1
  231. rPDU2PhaseStatusModule.1 = 1
  232. rPDU2PhaseStatusNumber.1 = 1
  233. rPDU2PhaseStatusLoadState.1 = 2
  234. rPDU2PhaseStatusCurrent.1 = 0
  235. rPDU2PhaseStatusVoltage.1 = 210
  236. rPDU2PhaseStatusPower.1 = 0
  237. rPDU2PhaseStatusApparentPower.1 = 0
  238. rPDU2PhaseStatusPowerFactor.1 = 100
  239. rPDU2PhaseStatusPeakCurrent.1 = 0
  240. rPDU2PhaseStatusPeakCurrentTimestamp.1 = "05/20/2017 02:35:22"
  241. rPDU2PhaseStatusPeakCurrentStartTime.1 = "05/20/2017 02:35:22"
  242.  
  243. SNMP[/usr/bin/snmpwalk -v1 -c COMMUNITY -OeQUs -Ih -m PowerNet-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 rPDU2DeviceStatusTable]
  244. rPDU2DeviceStatusIndex.1 = 1
  245. rPDU2DeviceStatusModule.1 = 1
  246. rPDU2DeviceStatusName.1 = "apcE07654"
  247. rPDU2DeviceStatusLoadState.1 = 2
  248. rPDU2DeviceStatusPower.1 = 0
  249. rPDU2DeviceStatusPeakPower.1 = 0
  250. rPDU2DeviceStatusPeakPowerTimestamp.1 = "05/20/2017 02:03:10"
  251. rPDU2DeviceStatusPeakPowerStartTime.1 = "05/20/2017 02:03:10"
  252. rPDU2DeviceStatusEnergy.1 = 171
  253. rPDU2DeviceStatusEnergyStartTime.1 = "05/20/2017 02:35:36"
  254. rPDU2DeviceStatusCommandPending.1 = 2
  255. rPDU2DeviceStatusPowerSupplyAlarm.1 = 1
  256. rPDU2DeviceStatusPowerSupply1Status.1 = 1
  257. rPDU2DeviceStatusPowerSupply2Status.1 = 1
  258. rPDU2DeviceStatusOutletsEnergyStartTime.1 = "05/20/2017 02:35:36"
  259. rPDU2DeviceStatusApparentPower.1 = 0
  260. rPDU2DeviceStatusPowerFactor.1 = 100
  261. rPDU2DeviceStatusNPSType.1 = 1
  262.  
  263. SNMP[/usr/bin/snmpwalk -v1 -c COMMUNITY -OeQUs -Ih -m PowerNet-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 airIRRP100UnitStatusRackInletTempMetric]
  264.  
  265. SNMP[/usr/bin/snmpwalk -v1 -c COMMUNITY -OeQUs -Ih -m PowerNet-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 airIRRP100UnitStatusSupplyAirTempMetric]
  266.  
  267. SNMP[/usr/bin/snmpwalk -v1 -c COMMUNITY -OeQUs -Ih -m PowerNet-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 airIRRP100UnitStatusReturnAirTempMetric]
  268.  
  269. SNMP[/usr/bin/snmpwalk -v1 -c COMMUNITY -OeQUs -Ih -m PowerNet-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 airIRRP100UnitStatusRackInletTemperature1Metric]
  270.  
  271. SNMP[/usr/bin/snmpwalk -v1 -c COMMUNITY -OeQUs -Ih -m PowerNet-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 airIRRP100UnitStatusRackInletTemperature2Metric]
  272.  
  273. SNMP[/usr/bin/snmpwalk -v1 -c COMMUNITY -OeQUs -Ih -m PowerNet-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 airIRRP100UnitStatusRackInletTemperature3Metric]
  274.  
  275. SNMP[/usr/bin/snmpwalk -v1 -c COMMUNITY -OeQUs -Ih -m PowerNet-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 airIRRP100UnitStatusCompressorDriveHeatSinkTempMetric]
  276.  
  277. SNMP[/usr/bin/snmpwalk -v1 -c COMMUNITY -OeQUs -Ih -m PowerNet-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 airIRRP100UnitStatusCompressorDriveControlCardTempMetric]
  278.  
  279. SNMP[/usr/bin/snmpwalk -v1 -c COMMUNITY -OeQUs -Ih -m PowerNet-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 airIRRP500UnitStatusSupplyAirTempMetric]
  280.  
  281. SNMP[/usr/bin/snmpwalk -v1 -c COMMUNITY -OeQUs -Ih -m PowerNet-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 airIRRP500UnitStatusReturnAirTempMetric]
  282.  
  283. SNMP[/usr/bin/snmpwalk -v1 -c COMMUNITY -OeQUs -Ih -m PowerNet-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 airIRRP500UnitStatusRackInletTemperature1Metric]
  284.  
  285. SNMP[/usr/bin/snmpwalk -v1 -c COMMUNITY -OeQUs -Ih -m PowerNet-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 airIRRP500UnitStatusRackInletTemperature2Metric]
  286.  
  287. SNMP[/usr/bin/snmpwalk -v1 -c COMMUNITY -OeQUs -Ih -m PowerNet-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 airIRRP500UnitStatusRackInletTemperature3Metric]
  288.  
  289. SNMP[/usr/bin/snmpwalk -v1 -c COMMUNITY -OeQUs -Ih -m PowerNet-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 airIRG2RDT2StatusRackInletTempMetric]
  290.  
  291. SNMP[/usr/bin/snmpwalk -v1 -c COMMUNITY -OeQUs -Ih -m PowerNet-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 airIRG2RDT2StatusSupplyAirTempMetric]
  292.  
  293. SNMP[/usr/bin/snmpwalk -v1 -c COMMUNITY -OeQUs -Ih -m PowerNet-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 airIRG2RDT2StatusReturnAirTempMetric]
  294.  
  295. SNMP[/usr/bin/snmpwalk -v1 -c COMMUNITY -OeQUs -Ih -m PowerNet-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 airIRG2RDT2StatusSuctionTempMetric]
  296.  
  297. SNMP[/usr/bin/snmpwalk -v1 -c COMMUNITY -OeQUs -Ih -m PowerNet-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 airIRRP100UnitStatusSupplyHumidity]
  298.  
  299. SNMP[/usr/bin/snmpwalk -v1 -c COMMUNITY -OeQUs -Ih -m PowerNet-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 airIRRP100UnitStatusReturnHumidity]
  300.  
  301. SNMP[/usr/bin/snmpwalk -v1 -c COMMUNITY -OeQUs -Ih -m PowerNet-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 airIRRP500UnitStatusSupplyHumidity]
  302.  
  303. SNMP[/usr/bin/snmpwalk -v1 -c COMMUNITY -OeQUs -Ih -m PowerNet-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 airIRRP500UnitStatusReturnHumidity]
  304.  
  305. SNMP[/usr/bin/snmpwalk -v1 -c COMMUNITY -OeQUs -Ih -m PowerNet-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 airIRRP100UnitStatusAirFlowMetric]
  306.  
  307. SNMP[/usr/bin/snmpwalk -v1 -c COMMUNITY -OeQUs -Ih -m PowerNet-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 airIRRP500UnitStatusAirFlowMetric]
  308.  
  309. SNMP[/usr/bin/snmpwalk -v1 -c COMMUNITY -OeQUs -Ih -m PowerNet-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 airIRG2RDT2StatusAirFlowMetric]
  310.  
  311. SNMP[/usr/bin/snmpwalk -v1 -c COMMUNITY -OeQUs -Ih -m PowerNet-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 airIRRP100UnitStatusCompressorDriveVoltage]
  312.  
  313. SNMP[/usr/bin/snmpwalk -v1 -c COMMUNITY -OeQUs -Ih -m PowerNet-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 airIRRP100UnitStatusCompressorDriveDCLinkVoltage]
  314.  
  315. SNMP[/usr/bin/snmpwalk -v1 -c COMMUNITY -OeQUs -Ih -m PowerNet-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 airIRRP100UnitStatusHumidifierCurrent]
  316.  
  317. SNMP[/usr/bin/snmpwalk -v1 -c COMMUNITY -OeQUs -Ih -m PowerNet-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 airIRRP100UnitStatusCompressorDriveCurrent]
  318.  
  319. SNMP[/usr/bin/snmpwalk -v1 -c COMMUNITY -OeQUs -Ih -m PowerNet-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 airIRRP500UnitStatusHumidifierCurrent]
  320.  
  321. SNMP[/usr/bin/snmpwalk -v1 -c COMMUNITY -OeQUs -Ih -m PowerNet-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 airIRRP100UnitStatusFanSpeed]
  322.  
  323. SNMP[/usr/bin/snmpwalk -v1 -c COMMUNITY -OeQUs -Ih -m PowerNet-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 airIRRP500UnitStatusFanSpeed]
  324.  
  325. SNMP[/usr/bin/snmpwalk -v1 -c COMMUNITY -OeQUs -Ih -m PowerNet-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 airIRRP100UnitStatusCompressorDriveSpeed]
  326.  
  327. SNMP[/usr/bin/snmpwalk -v1 -c COMMUNITY -OeQUs -Ih -m PowerNet-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 airIRRP500UnitStatusCompressorDriveSpeed]
  328.  
  329. SNMP[/usr/bin/snmpwalk -v1 -c COMMUNITY -OeQUs -Ih -m PowerNet-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 airIRRP100UnitStatusCompressorDrivePower]
  330.  
  331. SNMP[/usr/bin/snmpwalk -v1 -c COMMUNITY -OeQUs -Ih -m PowerNet-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 airIRRP100UnitStatusCoolDemand]
  332.  
  333. SNMP[/usr/bin/snmpwalk -v1 -c COMMUNITY -OeQUs -Ih -m PowerNet-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 airIRRP100UnitStatusCoolOutput]
  334.  
  335. SNMP[/usr/bin/snmpwalk -v1 -c COMMUNITY -OeQUs -Ih -m PowerNet-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 airIRRP500UnitStatusCompressorDrivePower]
  336.  
  337. SNMP[/usr/bin/snmpwalk -v1 -c COMMUNITY -OeQUs -Ih -m PowerNet-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 airIRRP500UnitStatusCoolDemand]
  338.  
  339. SNMP[/usr/bin/snmpwalk -v1 -c COMMUNITY -OeQUs -Ih -m PowerNet-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 airIRRP500UnitStatusCoolOutput]
  340.  
  341. SNMP[/usr/bin/snmpwalk -v1 -c COMMUNITY -OeQUs -Ih -m PowerNet-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 airIRG2RDT2StatusSuctionPressureMetric]
  342.  
  343. SNMP[/usr/bin/snmpwalk -v1 -c COMMUNITY -OeQUs -Ih -m PowerNet-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 airIRG2RDT2StatusDischargePressureMetric]
  344.  
  345. SNMP[/usr/bin/snmpwalk -v1 -c COMMUNITY -OeQUs -Ih -m PowerNet-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 airIRG2RDT2StatusCoolOutput]
  346.  
  347. SNMP[/usr/bin/snmpwalk -v1 -c COMMUNITY -OeQUs -Ih -m PowerNet-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 airIRG2RDT2StatusCoolDemand]
  348.  
  349. ENTITY-SENSOR: Caching OIDs: entPhysicalDescrSNMP[/usr/bin/snmpwalk -v1 -c COMMUNITY -OQUs -m CISCO-ENTITY-SENSOR-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 entPhysicalDescr]
  350.  
  351. entPhysicalNameSNMP[/usr/bin/snmpwalk -v1 -c COMMUNITY -OQUs -m CISCO-ENTITY-SENSOR-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 entPhysicalName]
  352.  
  353. entPhySensorTypeSNMP[/usr/bin/snmpwalk -v1 -c COMMUNITY -OQUs -m ENTITY-SENSOR-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 entPhySensorType]
  354.  
  355. entPhySensorScaleSNMP[/usr/bin/snmpwalk -v1 -c COMMUNITY -OQUs -m ENTITY-SENSOR-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 entPhySensorScale]
  356.  
  357. entPhySensorPrecisionSNMP[/usr/bin/snmpwalk -v1 -c COMMUNITY -OQUs -m ENTITY-SENSOR-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 entPhySensorPrecision]
  358.  
  359. entPhySensorValueSNMP[/usr/bin/snmpwalk -v1 -c COMMUNITY -OQUs -m ENTITY-SENSOR-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 entPhySensorValue]
  360.  
  361.  
  362. SQL[SELECT attrib_value FROM devices_attribs WHERE `device_id` = '101' AND `attrib_type` = 'ipmi_hostname' ]
  363. 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 = '101' AND S.poller_type = 'ipmi']
  364. 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 = '101' AND S.poller_type = 'ipmi']
  365. 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 = '101' AND S.poller_type = 'ipmi']
  366. 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 = '101' AND S.poller_type = 'ipmi']
  367. Airflow: Dynamic Discovery (airflow): Array
  368. (
  369. [data] => Array
  370. (
  371. [0] => Array
  372. (
  373. [oid] => airIRRP100UnitStatusAirFlowMetric
  374. [num_oid] => .1.3.6.1.4.1.318.1.1.13.3.3.1.2.2.11.
  375. [index] => airIRRP100UnitStatusAirFlowMetric.{{ $index }}
  376. [descr] => Air Flow
  377. [divisor] => 10
  378. )
  379.  
  380. [1] => Array
  381. (
  382. [oid] => airIRRP500UnitStatusAirFlowMetric
  383. [num_oid] => .1.3.6.1.4.1.318.1.1.13.3.3.2.2.2.11.
  384. [index] => airIRRP500UnitStatusAirFlowMetric.{{ $index }}
  385. [descr] => Air Flow
  386. [divisor] => 10
  387. )
  388.  
  389. [2] => Array
  390. (
  391. [oid] => airIRG2RDT2StatusAirFlowMetric
  392. [num_oid] => .1.3.6.1.4.1.318.1.1.13.4.5.2.1.5.
  393. [index] => airIRG2RDT2StatusAirFlowMetric.{{ $index }}
  394. [descr] => Air Flow
  395. )
  396.  
  397. )
  398.  
  399. )
  400. Data airIRRP100UnitStatusAirFlowMetric: Array
  401. (
  402. )
  403. Data airIRRP500UnitStatusAirFlowMetric: Array
  404. (
  405. )
  406. Data airIRG2RDT2StatusAirFlowMetric: Array
  407. (
  408. )
  409. 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 = '101' AND S.poller_type = 'snmp']
  410.  
  411. Current: SNMP[/usr/bin/snmpwalk -v1 -c COMMUNITY -OsqnU -m PowerNet-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 rPDUStatusPhaseIndex]
  412.  
  413. SNMP[/usr/bin/snmpwalk -v1 -c COMMUNITY -OsqnU -m PowerNet-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 rPDULoadPhaseConfigIndex]
  414. .*.4.1.3*.*.1.1 phase1
  415.  
  416. .1.3.6.1.4.1.318.1.1.12.2.2.1.1.1.1 phase1
  417. APC PowerNet-MIB Phase SNMP[/usr/bin/snmpget -v1 -c COMMUNITY -Oqv -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 .1.3.6.1.4.1.318.1.1.12.2.3.1.1.4.1]
  418. 1
  419.  
  420. SNMP[/usr/bin/snmpget -v1 -c COMMUNITY -Oqv -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 .1.3.6.1.4.1.318.1.1.12.2.3.1.1.2.1]
  421. 0
  422.  
  423. SNMP[/usr/bin/snmpget -v1 -c COMMUNITY -Oqv -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 .1.3.6.1.4.1.318.1.1.12.2.2.1.1.4.1]
  424. 24
  425.  
  426. SNMP[/usr/bin/snmpget -v1 -c COMMUNITY -Oqv -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 .1.3.6.1.4.1.318.1.1.12.2.2.1.1.2.1]
  427. 0
  428.  
  429. SNMP[/usr/bin/snmpget -v1 -c COMMUNITY -Oqv -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 .1.3.6.1.4.1.318.1.1.12.2.2.1.1.3.1]
  430. 19
  431.  
  432. Discover sensor: .1.3.6.1.4.1.318.1.1.12.2.3.1.1.2.1, 1, apc, Output, snmp, 10, 1, , 0
  433. SQL[SELECT COUNT(sensor_id) FROM `sensors` WHERE `poller_type`= 'snmp' AND `sensor_class` = 'current' AND `device_id` = '101' AND sensor_type = 'apc' AND `sensor_index` = '1']
  434. SQL[SELECT * FROM `sensors` WHERE `sensor_class` = 'current' AND `device_id` = '101' AND `sensor_type` = 'apc' AND `sensor_index` = '1']
  435. SQL[UPDATE `sensors` set `sensor_limit` ='24' WHERE `sensor_id` = '1407']
  436. ( 1 updated )
  437. HSQL[INSERT INTO `eventlog` (`host`,`device_id`,`reference`,`type`,`datetime`,`severity`,`message`,`username`) VALUES ('101','101','NULL','sensor',NOW(),'3','Sensor High Limit Updated: current apc 1 Output (24)','')]
  438. SQL[UPDATE `sensors` set `sensor_oid` ='.1.3.6.1.4.1.318.1.1.12.2.3.1.1.2.1',`sensor_descr` ='Output',`sensor_multiplier` ='1',`sensor_divisor` ='10',`entPhysicalIndex` ='',`entPhysicalIndex_measured` ='',`user_func` ='',`entity_link_type` ='',`entity_link_index` ='0' WHERE `sensor_id` = '1407']
  439. USQL[INSERT INTO `eventlog` (`host`,`device_id`,`reference`,`type`,`datetime`,`severity`,`message`,`username`) VALUES ('101','101','NULL','sensor',NOW(),'3','Sensor Updated: current apc 1 Output','')]
  440. ( 1 updated )
  441. SNMP[/usr/bin/snmpget -v1 -c COMMUNITY -Oqv -m PowerNet-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 rPDULoadDevNumBanks.0]
  442. 2
  443.  
  444. SNMP[/usr/bin/snmpwalk -v1 -c COMMUNITY -OsqnU -m PowerNet-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 rPDULoadStatusIndex]
  445. .*.4.1.3*.*.1.1 1
  446. .*.4.1.3*.*.1.2 2
  447. .*.4.1.3*.*.1.3 3
  448.  
  449. APC PowerNet-MIB Banks .1.3.6.1.4.1.318.1.1.12.2.3.1.1.1.1 1
  450. .1.3.6.1.4.1.318.1.1.12.2.3.1.1.1.2 2
  451. .1.3.6.1.4.1.318.1.1.12.2.3.1.1.1.3 3
  452. SNMP[/usr/bin/snmpget -v1 -c COMMUNITY -Oqv -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 .1.3.6.1.4.1.318.1.1.12.2.3.1.1.5.1]
  453. 0
  454.  
  455. SNMP[/usr/bin/snmpget -v1 -c COMMUNITY -Oqv -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 .1.3.6.1.4.1.318.1.1.12.2.3.1.1.2.1]
  456. 0
  457.  
  458. SNMP[/usr/bin/snmpget -v1 -c COMMUNITY -Oqv -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 .1.3.6.1.4.1.318.1.1.12.2.4.1.1.4.1]
  459. 20
  460.  
  461. SNMP[/usr/bin/snmpget -v1 -c COMMUNITY -Oqv -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 .1.3.6.1.4.1.318.1.1.12.2.4.1.1.2.1]
  462. 0
  463.  
  464. SNMP[/usr/bin/snmpget -v1 -c COMMUNITY -Oqv -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 .1.3.6.1.4.1.318.1.1.12.2.4.1.1.3.1]
  465. 16
  466.  
  467. Discover sensor: .1.3.6.1.4.1.318.1.1.12.2.3.1.1.2.1, 1, apc, Bank Total, snmp, 10, 1, , 0
  468. SQL[SELECT COUNT(sensor_id) FROM `sensors` WHERE `poller_type`= 'snmp' AND `sensor_class` = 'current' AND `device_id` = '101' AND sensor_type = 'apc' AND `sensor_index` = '1']
  469. SQL[SELECT * FROM `sensors` WHERE `sensor_class` = 'current' AND `device_id` = '101' AND `sensor_type` = 'apc' AND `sensor_index` = '1']
  470. SQL[UPDATE `sensors` set `sensor_limit` ='20' WHERE `sensor_id` = '1407']
  471. ( 1 updated )
  472. HSQL[INSERT INTO `eventlog` (`host`,`device_id`,`reference`,`type`,`datetime`,`severity`,`message`,`username`) VALUES ('101','101','NULL','sensor',NOW(),'3','Sensor High Limit Updated: current apc 1 Bank Total (20)','')]
  473. SQL[UPDATE `sensors` set `sensor_oid` ='.1.3.6.1.4.1.318.1.1.12.2.3.1.1.2.1',`sensor_descr` ='Bank Total',`sensor_multiplier` ='1',`sensor_divisor` ='10',`entPhysicalIndex` ='',`entPhysicalIndex_measured` ='',`user_func` ='',`entity_link_type` ='',`entity_link_index` ='0' WHERE `sensor_id` = '1407']
  474. USQL[INSERT INTO `eventlog` (`host`,`device_id`,`reference`,`type`,`datetime`,`severity`,`message`,`username`) VALUES ('101','101','NULL','sensor',NOW(),'3','Sensor Updated: current apc 1 Bank Total','')]
  475. ( 1 updated )
  476. SNMP[/usr/bin/snmpget -v1 -c COMMUNITY -Oqv -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 .1.3.6.1.4.1.318.1.1.12.2.3.1.1.5.2]
  477. 1
  478.  
  479. SNMP[/usr/bin/snmpget -v1 -c COMMUNITY -Oqv -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 .1.3.6.1.4.1.318.1.1.12.2.3.1.1.2.2]
  480. 0
  481.  
  482. SNMP[/usr/bin/snmpget -v1 -c COMMUNITY -Oqv -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 .1.3.6.1.4.1.318.1.1.12.2.4.1.1.4.2]
  483. 20
  484.  
  485. SNMP[/usr/bin/snmpget -v1 -c COMMUNITY -Oqv -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 .1.3.6.1.4.1.318.1.1.12.2.4.1.1.2.2]
  486. 0
  487.  
  488. SNMP[/usr/bin/snmpget -v1 -c COMMUNITY -Oqv -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 .1.3.6.1.4.1.318.1.1.12.2.4.1.1.3.2]
  489. 16
  490.  
  491. Discover sensor: .1.3.6.1.4.1.318.1.1.12.2.3.1.1.2.2, 2, apc, Bank 1, snmp, 10, 1, , 0
  492. SQL[SELECT COUNT(sensor_id) FROM `sensors` WHERE `poller_type`= 'snmp' AND `sensor_class` = 'current' AND `device_id` = '101' AND sensor_type = 'apc' AND `sensor_index` = '2']
  493. SQL[SELECT * FROM `sensors` WHERE `sensor_class` = 'current' AND `device_id` = '101' AND `sensor_type` = 'apc' AND `sensor_index` = '2']
  494. .SNMP[/usr/bin/snmpget -v1 -c COMMUNITY -Oqv -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 .1.3.6.1.4.1.318.1.1.12.2.3.1.1.5.3]
  495. 2
  496.  
  497. SNMP[/usr/bin/snmpget -v1 -c COMMUNITY -Oqv -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 .1.3.6.1.4.1.318.1.1.12.2.3.1.1.2.3]
  498. 0
  499.  
  500. SNMP[/usr/bin/snmpget -v1 -c COMMUNITY -Oqv -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 .1.3.6.1.4.1.318.1.1.12.2.4.1.1.4.3]
  501.  
  502. SNMP[/usr/bin/snmpget -v1 -c COMMUNITY -Oqv -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 .1.3.6.1.4.1.318.1.1.12.2.4.1.1.2.3]
  503.  
  504. SNMP[/usr/bin/snmpget -v1 -c COMMUNITY -Oqv -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 .1.3.6.1.4.1.318.1.1.12.2.4.1.1.3.3]
  505.  
  506. Discover sensor: .1.3.6.1.4.1.318.1.1.12.2.3.1.1.2.3, 3, apc, Bank 2, snmp, 10, 1, , 0
  507. SQL[SELECT COUNT(sensor_id) FROM `sensors` WHERE `poller_type`= 'snmp' AND `sensor_class` = 'current' AND `device_id` = '101' AND sensor_type = 'apc' AND `sensor_index` = '3']
  508. SQL[SELECT * FROM `sensors` WHERE `sensor_class` = 'current' AND `device_id` = '101' AND `sensor_type` = 'apc' AND `sensor_index` = '3']
  509. .SNMP[/usr/bin/snmpwalk -v1 -c COMMUNITY -t 30 -OsqnU -m PowerNet-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 .1.3.6.1.4.1.318.1.1.26.9.4.3.1.1]
  510.  
  511. SNMP[/usr/bin/snmpwalk -v1 -c COMMUNITY -OsqnU -m PowerNet-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 atsConfigPhaseTableIndex]
  512.  
  513. SNMP[/usr/bin/snmpwalk -v1 -c COMMUNITY -OQUs -m PowerNet-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 upsHighPrecOutputCurrent]
  514.  
  515. Dynamic Discovery (current): Array
  516. (
  517. [data] => Array
  518. (
  519. [0] => Array
  520. (
  521. [oid] => airIRRP100UnitStatusHumidifierCurrent
  522. [num_oid] => .1.3.6.1.4.1.318.1.1.13.3.3.1.2.2.33.
  523. [index] => airIRRP100UnitStatusHumidifierCurrent.{{ $index }}
  524. [descr] => Humidifier
  525. [divisor] => 10
  526. )
  527.  
  528. [1] => Array
  529. (
  530. [oid] => airIRRP100UnitStatusCompressorDriveCurrent
  531. [num_oid] => .1.3.6.1.4.1.318.1.1.13.3.3.1.2.2.38.
  532. [index] => airIRRP100UnitStatusCompressorDriveCurrent.{{ $index }}
  533. [descr] => Compressor Drive
  534. [divisor] => 10
  535. )
  536.  
  537. [2] => Array
  538. (
  539. [oid] => airIRRP500UnitStatusHumidifierCurrent
  540. [num_oid] => .1.3.6.1.4.1.318.1.1.13.3.3.2.2.2.33.
  541. [index] => airIRRP100UnitStatusHumidifierCurrent.{{ $index }}
  542. [descr] => Humidifier
  543. [divisor] => 10
  544. )
  545.  
  546. )
  547.  
  548. )
  549. Data airIRRP100UnitStatusHumidifierCurrent: Array
  550. (
  551. )
  552. Data airIRRP100UnitStatusCompressorDriveCurrent: Array
  553. (
  554. )
  555. Data airIRRP500UnitStatusHumidifierCurrent: Array
  556. (
  557. )
  558. Array
  559. (
  560. [apc] => Array
  561. (
  562. [1] => 1
  563. [2] => 1
  564. [3] => 1
  565. )
  566.  
  567. )
  568. 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 = '101' AND S.poller_type = 'snmp']
  569. 1 -> apc
  570. 2 -> apc
  571. 3 -> apc
  572.  
  573. Charge: SNMP[/usr/bin/snmpget -v1 -c COMMUNITY -OsqnU -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 .1.3.6.1.4.1.318.1.1.1.2.3.1.0]
  574.  
  575.  
  576. SNMP[/usr/bin/snmpget -v1 -c COMMUNITY -OsqnU -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 .1.3.6.1.4.1.318.1.1.1.2.2.1.0]
  577.  
  578.  
  579. 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 = '101' AND S.poller_type = 'snmp']
  580.  
  581. 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 = '101' AND S.poller_type = 'snmp']
  582.  
  583. Fanspeed: Dynamic Discovery (fanspeed): Array
  584. (
  585. [data] => Array
  586. (
  587. [0] => Array
  588. (
  589. [oid] => airIRRP100UnitStatusFanSpeed
  590. [num_oid] => .1.3.6.1.4.1.318.1.1.13.3.3.1.2.2.12.
  591. [index] => airIRRP100UnitStatusFanSpeed.{{ $index }}
  592. [descr] => Fan Speed (%)
  593. [divisor] => 10
  594. )
  595.  
  596. [1] => Array
  597. (
  598. [oid] => airIRRP500UnitStatusFanSpeed
  599. [num_oid] => .1.3.6.1.4.1.318.1.1.13.3.3.2.2.2.12.
  600. [index] => airIRRP500UnitStatusFanSpeed.{{ $index }}
  601. [descr] => Fan Speed (%)
  602. [divisor] => 10
  603. )
  604.  
  605. )
  606.  
  607. )
  608. Data airIRRP100UnitStatusFanSpeed: Array
  609. (
  610. )
  611. Data airIRRP500UnitStatusFanSpeed: Array
  612. (
  613. )
  614. 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 = '101' AND S.poller_type = 'snmp']
  615.  
  616. Frequency: SNMP[/usr/bin/snmpwalk -v1 -c COMMUNITY -OsqnU -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 .1.3.6.1.4.1.318.1.1.8.5.3.2.1.4]
  617.  
  618.  
  619. SNMP[/usr/bin/snmpwalk -v1 -c COMMUNITY -OsqnU -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 .1.3.6.1.4.1.318.1.1.8.5.4.2.1.4]
  620.  
  621.  
  622. SNMP[/usr/bin/snmpget -v1 -c COMMUNITY -OsqnU -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 .1.3.6.1.4.1.318.1.1.1.3.2.4.0]
  623.  
  624.  
  625. SNMP[/usr/bin/snmpget -v1 -c COMMUNITY -OsqnU -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 .1.3.6.1.4.1.318.1.1.1.4.2.2.0]
  626.  
  627.  
  628. Dynamic Discovery (frequency): Array
  629. (
  630. [data] => Array
  631. (
  632. [0] => Array
  633. (
  634. [oid] => airIRRP100UnitStatusCompressorDriveSpeed
  635. [num_oid] => .1.3.6.1.4.1.318.1.1.13.3.3.1.2.2.35.
  636. [index] => airIRRP100UnitStatusCompressorDriveSpeed.{{ $index }}
  637. [descr] => Drive Speed
  638. [divisor] => 10
  639. )
  640.  
  641. [1] => Array
  642. (
  643. [oid] => airIRRP500UnitStatusCompressorDriveSpeed
  644. [num_oid] => .1.3.6.1.4.1.318.1.1.13.3.3.2.2.2.35.
  645. [index] => airIRRP500UnitStatusCompressorDriveSpeed.{{ $index }}
  646. [descr] => Drive Speed
  647. [divisor] => 10
  648. )
  649.  
  650. )
  651.  
  652. )
  653. Data airIRRP100UnitStatusCompressorDriveSpeed: Array
  654. (
  655. )
  656. Data airIRRP500UnitStatusCompressorDriveSpeed: Array
  657. (
  658. )
  659. 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 = '101' AND S.poller_type = 'snmp']
  660.  
  661. Humidity: SNMP[/usr/bin/snmpwalk -v1 -c COMMUNITY -OQUs -m PowerNet-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 iemConfigProbesTable]
  662.  
  663. SNMP[/usr/bin/snmpwalk -v1 -c COMMUNITY -OQUs -m PowerNet-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 iemStatusProbesTable]
  664.  
  665. SNMP[/usr/bin/snmpwalk -v1 -c COMMUNITY -OQUs -m PowerNet-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 emsProbeStatus]
  666.  
  667. Dynamic Discovery (humidity): Array
  668. (
  669. [data] => Array
  670. (
  671. [0] => Array
  672. (
  673. [oid] => airIRRP100UnitStatusSupplyHumidity
  674. [num_oid] => .1.3.6.1.4.1.318.1.1.13.3.3.1.2.2.8.
  675. [index] => airIRRP100UnitStatusSupplyHumidity.{{ $index }}
  676. [descr] => Supply
  677. [divisor] => 10
  678. )
  679.  
  680. [1] => Array
  681. (
  682. [oid] => airIRRP100UnitStatusReturnHumidity
  683. [num_oid] => .1.3.6.1.4.1.318.1.1.13.3.3.1.2.2.8.
  684. [index] => airIRRP100UnitStatusReturnHumidity.{{ $index }}
  685. [descr] => Return
  686. [divisor] => 10
  687. )
  688.  
  689. [2] => Array
  690. (
  691. [oid] => airIRRP500UnitStatusSupplyHumidity
  692. [num_oid] => .1.3.6.1.4.1.318.1.1.13.3.3.2.2.2.8.
  693. [index] => airIRRP500UnitStatusSupplyHumidity.{{ $index }}
  694. [descr] => Supply
  695. [divisor] => 10
  696. )
  697.  
  698. [3] => Array
  699. (
  700. [oid] => airIRRP500UnitStatusReturnHumidity
  701. [num_oid] => .1.3.6.1.4.1.318.1.1.13.3.3.2.2.2.8.
  702. [index] => airIRRP500UnitStatusSupplyHumidity.{{ $index }}
  703. [descr] => Return
  704. [divisor] => 10
  705. )
  706.  
  707. )
  708.  
  709. )
  710. Data airIRRP100UnitStatusSupplyHumidity: Array
  711. (
  712. )
  713. Data airIRRP100UnitStatusReturnHumidity: Array
  714. (
  715. )
  716. Data airIRRP500UnitStatusSupplyHumidity: Array
  717. (
  718. )
  719. Data airIRRP500UnitStatusReturnHumidity: Array
  720. (
  721. )
  722. 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 = '101' AND S.poller_type = 'snmp']
  723.  
  724. Load: APC Load SNMP[/usr/bin/snmpget -v1 -c COMMUNITY -OsqnU -m +PowerNet-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 upsHighPrecOutputLoad.0]
  725.  
  726. SNMP[/usr/bin/snmpget -v1 -c COMMUNITY -OsqnU -m +PowerNet-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 upsAdvOutputLoad.0]
  727.  
  728. 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 = '101' AND S.poller_type = 'snmp']
  729.  
  730. Power: Dynamic Discovery (power): Array
  731. (
  732. [data] => Array
  733. (
  734. [0] => Array
  735. (
  736. [oid] => airIRRP100UnitStatusCompressorDrivePower
  737. [num_oid] => .1.3.6.1.4.1.318.1.1.13.3.3.1.2.2.35.
  738. [index] => airIRRP100UnitStatusCompressorDrivePower.{{ $index }}
  739. [descr] => Drive Power
  740. [multiplier] => 10
  741. )
  742.  
  743. [1] => Array
  744. (
  745. [oid] => airIRRP100UnitStatusCoolDemand
  746. [num_oid] => .1.3.6.1.4.1.318.1.1.13.3.3.1.2.2.13.
  747. [index] => airIRRP100UnitStatusCoolDemand.{{ $index }}
  748. [descr] => Cooling Demand
  749. [multiplier] => 100
  750. )
  751.  
  752. [2] => Array
  753. (
  754. [oid] => airIRRP100UnitStatusCoolOutput
  755. [num_oid] => .1.3.6.1.4.1.318.1.1.13.3.3.1.2.2.14.
  756. [index] => airIRRP100UnitStatusCoolOutput.{{ $index }}
  757. [descr] => Cooling Output
  758. [multiplier] => 100
  759. )
  760.  
  761. [3] => Array
  762. (
  763. [oid] => airIRRP500UnitStatusCompressorDrivePower
  764. [num_oid] => .1.3.6.1.4.1.318.1.1.13.3.3.2.2.2.35.
  765. [index] => airIRRP500UnitStatusCompressorDrivePower.{{ $index }}
  766. [descr] => Drive Power
  767. [multiplier] => 10
  768. )
  769.  
  770. [4] => Array
  771. (
  772. [oid] => airIRRP500UnitStatusCoolDemand
  773. [num_oid] => .1.3.6.1.4.1.318.1.1.13.3.3.2.2.2.13.
  774. [index] => airIRRP500UnitStatusCoolDemand.{{ $index }}
  775. [descr] => Cooling Demand
  776. [multiplier] => 100
  777. )
  778.  
  779. [5] => Array
  780. (
  781. [oid] => airIRRP500UnitStatusCoolOutput
  782. [num_oid] => .1.3.6.1.4.1.318.1.1.13.3.3.2.2.2.14.
  783. [index] => airIRRP500UnitStatusCoolOutput.{{ $index }}
  784. [descr] => Cooling Output
  785. [multiplier] => 100
  786. )
  787.  
  788. [6] => Array
  789. (
  790. [oid] => rPDU2DeviceStatusTable
  791. [value] => rPDU2DeviceStatusPower
  792. [num_oid] => .1.3.6.1.4.1.318.1.1.26.4.3.1.5.
  793. [multiplier] => 10
  794. [index] => rPDU2DeviceStatusPower.{{ $index }}
  795. [descr] => Power, Total
  796. )
  797.  
  798. )
  799.  
  800. )
  801. Data airIRRP100UnitStatusCompressorDrivePower: Array
  802. (
  803. )
  804. Data airIRRP100UnitStatusCoolDemand: Array
  805. (
  806. )
  807. Data airIRRP100UnitStatusCoolOutput: Array
  808. (
  809. )
  810. Data airIRRP500UnitStatusCompressorDrivePower: Array
  811. (
  812. )
  813. Data airIRRP500UnitStatusCoolDemand: Array
  814. (
  815. )
  816. Data airIRRP500UnitStatusCoolOutput: Array
  817. (
  818. )
  819. Data rPDU2DeviceStatusTable: Array
  820. (
  821. [1] => Array
  822. (
  823. [rPDU2DeviceStatusIndex] => 1
  824. [rPDU2DeviceStatusModule] => 1
  825. [rPDU2DeviceStatusName] => apcE07654
  826. [rPDU2DeviceStatusLoadState] => 2
  827. [rPDU2DeviceStatusPower] => 0
  828. [rPDU2DeviceStatusPeakPower] => 0
  829. [rPDU2DeviceStatusPeakPowerTimestamp] => 05/20/2017 02:03:10
  830. [rPDU2DeviceStatusPeakPowerStartTime] => 05/20/2017 02:03:10
  831. [rPDU2DeviceStatusEnergy] => 171
  832. [rPDU2DeviceStatusEnergyStartTime] => 05/20/2017 02:35:36
  833. [rPDU2DeviceStatusCommandPending] => 2
  834. [rPDU2DeviceStatusPowerSupplyAlarm] => 1
  835. [rPDU2DeviceStatusPowerSupply1Status] => 1
  836. [rPDU2DeviceStatusPowerSupply2Status] => 1
  837. [rPDU2DeviceStatusOutletsEnergyStartTime] => 05/20/2017 02:35:36
  838. [rPDU2DeviceStatusApparentPower] => 0
  839. [rPDU2DeviceStatusPowerFactor] => 100
  840. [rPDU2DeviceStatusNPSType] => 1
  841. )
  842.  
  843. )
  844. Final sensor value: 0
  845. Discover sensor: .1.3.6.1.4.1.318.1.1.26.4.3.1.5.1, rPDU2DeviceStatusPower.1, apc, Power, Total, snmp, 1, 10, , 0
  846. SQL[SELECT COUNT(sensor_id) FROM `sensors` WHERE `poller_type`= 'snmp' AND `sensor_class` = 'power' AND `device_id` = '101' AND sensor_type = 'apc' AND `sensor_index` = 'rPDU2DeviceStatusPower.1']
  847. SQL[SELECT * FROM `sensors` WHERE `sensor_class` = 'power' AND `device_id` = '101' AND `sensor_type` = 'apc' AND `sensor_index` = 'rPDU2DeviceStatusPower.1']
  848. .Array
  849. (
  850. [apc] => Array
  851. (
  852. [rPDU2DeviceStatusPower.1] => 1
  853. )
  854.  
  855. )
  856. 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 = '101' AND S.poller_type = 'snmp']
  857. rPDU2DeviceStatusPower.1 -> apc
  858.  
  859. Runtime: SNMP[/usr/bin/snmpget -v1 -c COMMUNITY -OsqnUt -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 .1.3.6.1.4.1.318.1.1.1.2.2.3.0]
  860.  
  861.  
  862. SNMP[/usr/bin/snmpget -v1 -c COMMUNITY -OsqnU -m PowerNet-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 airIRRP100GroupSetpointsCoolMetric.0]
  863.  
  864. 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 = '101' AND S.poller_type = 'snmp']
  865.  
  866. 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 = '101' AND S.poller_type = 'snmp']
  867.  
  868. State: SNMP[/usr/bin/snmpget -v1 -c COMMUNITY -Ovqe -m PowerNet-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 upsAdvBatteryReplaceIndicator.0]
  869.  
  870. SNMP[/usr/bin/snmpwalk -v1 -c COMMUNITY -OQUs -m PowerNet-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 coolingUnitStatusDiscreteEntry]
  871.  
  872. SNMP[/usr/bin/snmpwalk -v1 -c COMMUNITY -OQUs -m PowerNet-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 coolingUnitExtendedDiscreteEntry]
  873.  
  874. SNMP[/usr/bin/snmpwalk -v1 -c COMMUNITY -OQUs -m PowerNet-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 emsOutputRelayControlEntry]
  875.  
  876. SNMP[/usr/bin/snmpwalk -v1 -c COMMUNITY -OQUs -m PowerNet-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 emsOutletControlEntry]
  877.  
  878. Dynamic Discovery (state): Array
  879. (
  880. [data] => Array
  881. (
  882. [0] => Array
  883. (
  884. [oid] => upsBasicOutputStatus
  885. [value] => upsBasicOutputStatus
  886. [num_oid] => .1.3.6.1.4.1.318.1.1.1.4.1.1.
  887. [descr] => Output Status
  888. [index] => {{ $index }}
  889. [state_name] => upsBasicOutputStatus
  890. [states] => Array
  891. (
  892. [0] => Array
  893. (
  894. [descr] => unknown
  895. [graph] => 0
  896. [value] => 1
  897. [generic] => 3
  898. )
  899.  
  900. [1] => Array
  901. (
  902. [descr] => onLine
  903. [graph] => 0
  904. [value] => 2
  905. [generic] => 0
  906. )
  907.  
  908. [2] => Array
  909. (
  910. [descr] => onBattery
  911. [graph] => 0
  912. [value] => 3
  913. [generic] => 1
  914. )
  915.  
  916. [3] => Array
  917. (
  918. [descr] => onSmartBoost
  919. [graph] => 0
  920. [value] => 4
  921. [generic] => 0
  922. )
  923.  
  924. [4] => Array
  925. (
  926. [descr] => timedSleeping
  927. [graph] => 0
  928. [value] => 5
  929. [generic] => 0
  930. )
  931.  
  932. [5] => Array
  933. (
  934. [descr] => softwareBypass
  935. [graph] => 0
  936. [value] => 6
  937. [generic] => 1
  938. )
  939.  
  940. [6] => Array
  941. (
  942. [descr] => off
  943. [graph] => 0
  944. [value] => 7
  945. [generic] => 2
  946. )
  947.  
  948. [7] => Array
  949. (
  950. [descr] => rebooting
  951. [graph] => 0
  952. [value] => 8
  953. [generic] => 1
  954. )
  955.  
  956. [8] => Array
  957. (
  958. [descr] => switchedBypass
  959. [graph] => 0
  960. [value] => 9
  961. [generic] => 1
  962. )
  963.  
  964. [9] => Array
  965. (
  966. [descr] => hardwareFailureBypass
  967. [graph] => 0
  968. [value] => 10
  969. [generic] => 2
  970. )
  971.  
  972. [10] => Array
  973. (
  974. [descr] => sleepingUntilPowerReturn
  975. [graph] => 0
  976. [value] => 11
  977. [generic] => 1
  978. )
  979.  
  980. [11] => Array
  981. (
  982. [descr] => onSmartTrim
  983. [graph] => 0
  984. [value] => 12
  985. [generic] => 1
  986. )
  987.  
  988. [12] => Array
  989. (
  990. [descr] => ecoMode
  991. [graph] => 0
  992. [value] => 13
  993. [generic] => 0
  994. )
  995.  
  996. [13] => Array
  997. (
  998. [descr] => hotStandby
  999. [graph] => 0
  1000. [value] => 14
  1001. [generic] => 0
  1002. )
  1003.  
  1004. [14] => Array
  1005. (
  1006. [descr] => onBatteryTest
  1007. [graph] => 0
  1008. [value] => 15
  1009. [generic] => 1
  1010. )
  1011.  
  1012. [15] => Array
  1013. (
  1014. [descr] => emergencyStaticBypass
  1015. [graph] => 0
  1016. [value] => 16
  1017. [generic] => 2
  1018. )
  1019.  
  1020. [16] => Array
  1021. (
  1022. [descr] => staticBypassStandby
  1023. [graph] => 0
  1024. [value] => 17
  1025. [generic] => 1
  1026. )
  1027.  
  1028. [17] => Array
  1029. (
  1030. [descr] => powerSavingMode
  1031. [graph] => 0
  1032. [value] => 18
  1033. [generic] => 0
  1034. )
  1035.  
  1036. [18] => Array
  1037. (
  1038. [descr] => spotMode
  1039. [graph] => 0
  1040. [value] => 19
  1041. [generic] => 0
  1042. )
  1043.  
  1044. [19] => Array
  1045. (
  1046. [descr] => eConversion
  1047. [graph] => 0
  1048. [value] => 20
  1049. [generic] => 0
  1050. )
  1051.  
  1052. [20] => Array
  1053. (
  1054. [descr] => chargerSpotmode
  1055. [graph] => 0
  1056. [value] => 21
  1057. [generic] => 0
  1058. )
  1059.  
  1060. [21] => Array
  1061. (
  1062. [descr] => inverterSpotmode
  1063. [graph] => 0
  1064. [value] => 22
  1065. [generic] => 0
  1066. )
  1067.  
  1068. )
  1069.  
  1070. )
  1071.  
  1072. [1] => Array
  1073. (
  1074. [oid] => airIRRP100UnitStatusOperateMode
  1075. [num_oid] => .1.3.6.1.4.1.318.1.1.13.3.3.1.2.2.1.
  1076. [descr] => Unit Status
  1077. [states] => Array
  1078. (
  1079. [0] => Array
  1080. (
  1081. [descr] => standby
  1082. [graph] => 1
  1083. [value] => 1
  1084. [generic] => 1
  1085. )
  1086.  
  1087. [1] => Array
  1088. (
  1089. [descr] => on
  1090. [graph] => 1
  1091. [value] => 2
  1092. [generic] => 0
  1093. )
  1094.  
  1095. [2] => Array
  1096. (
  1097. [descr] => idle
  1098. [graph] => 1
  1099. [value] => 3
  1100. [generic] => 1
  1101. )
  1102.  
  1103. [3] => Array
  1104. (
  1105. [descr] => prestart
  1106. [graph] => 1
  1107. [value] => 4
  1108. [generic] => 1
  1109. )
  1110.  
  1111. [4] => Array
  1112. (
  1113. [descr] => service
  1114. [graph] => 1
  1115. [value] => 5
  1116. [generic] => 1
  1117. )
  1118.  
  1119. [5] => Array
  1120. (
  1121. [descr] => backup
  1122. [graph] => 1
  1123. [value] => 6
  1124. [generic] => 1
  1125. )
  1126.  
  1127. [6] => Array
  1128. (
  1129. [descr] => assist
  1130. [graph] => 1
  1131. [value] => 7
  1132. [generic] => 1
  1133. )
  1134.  
  1135. )
  1136.  
  1137. )
  1138.  
  1139. [2] => Array
  1140. (
  1141. [oid] => airIRRP100UnitStatusInputState
  1142. [num_oid] => .1.3.6.1.4.1.318.1.1.13.3.3.1.2.2.21.
  1143. [descr] => Input State
  1144. [states] => Array
  1145. (
  1146. [0] => Array
  1147. (
  1148. [descr] => open
  1149. [graph] => 1
  1150. [value] => 1
  1151. [generic] => 0
  1152. )
  1153.  
  1154. [1] => Array
  1155. (
  1156. [descr] => closed
  1157. [graph] => 1
  1158. [value] => 2
  1159. [generic] => 2
  1160. )
  1161.  
  1162. )
  1163.  
  1164. )
  1165.  
  1166. [3] => Array
  1167. (
  1168. [oid] => airIRRP100UnitStatusOutputState
  1169. [num_oid] => .1.3.6.1.4.1.318.1.1.13.3.3.1.2.2.22.
  1170. [descr] => Output State
  1171. [states] => Array
  1172. (
  1173. [0] => Array
  1174. (
  1175. [descr] => open
  1176. [graph] => 1
  1177. [value] => 1
  1178. [generic] => 0
  1179. )
  1180.  
  1181. [1] => Array
  1182. (
  1183. [descr] => closed
  1184. [graph] => 1
  1185. [value] => 2
  1186. [generic] => 2
  1187. )
  1188.  
  1189. )
  1190.  
  1191. )
  1192.  
  1193. [4] => Array
  1194. (
  1195. [oid] => airIRRP500UnitStatusOperateMode
  1196. [num_oid] => .1.3.6.1.4.1.318.1.1.13.3.3.2.2.2.1.
  1197. [descr] => Unit Status
  1198. [states] => Array
  1199. (
  1200. [0] => Array
  1201. (
  1202. [descr] => standby
  1203. [graph] => 1
  1204. [value] => 1
  1205. [generic] => 1
  1206. )
  1207.  
  1208. [1] => Array
  1209. (
  1210. [descr] => on
  1211. [graph] => 1
  1212. [value] => 2
  1213. [generic] => 0
  1214. )
  1215.  
  1216. [2] => Array
  1217. (
  1218. [descr] => idle
  1219. [graph] => 1
  1220. [value] => 3
  1221. [generic] => 1
  1222. )
  1223.  
  1224. [3] => Array
  1225. (
  1226. [descr] => prestart
  1227. [graph] => 1
  1228. [value] => 4
  1229. [generic] => 1
  1230. )
  1231.  
  1232. [4] => Array
  1233. (
  1234. [descr] => backup
  1235. [graph] => 1
  1236. [value] => 5
  1237. [generic] => 1
  1238. )
  1239.  
  1240. [5] => Array
  1241. (
  1242. [descr] => assist
  1243. [graph] => 1
  1244. [value] => 6
  1245. [generic] => 1
  1246. )
  1247.  
  1248. )
  1249.  
  1250. )
  1251.  
  1252. [5] => Array
  1253. (
  1254. [oid] => airIRRP500UnitStatusInputState
  1255. [num_oid] => .1.3.6.1.4.1.318.1.1.13.3.3.2.2.2.21.
  1256. [descr] => Input State
  1257. [states] => Array
  1258. (
  1259. [0] => Array
  1260. (
  1261. [descr] => open
  1262. [graph] => 1
  1263. [value] => 1
  1264. [generic] => 0
  1265. )
  1266.  
  1267. [1] => Array
  1268. (
  1269. [descr] => closed
  1270. [graph] => 1
  1271. [value] => 2
  1272. [generic] => 2
  1273. )
  1274.  
  1275. )
  1276.  
  1277. )
  1278.  
  1279. [6] => Array
  1280. (
  1281. [oid] => airIRRP500UnitStatusOutputState
  1282. [num_oid] => .1.3.6.1.4.1.318.1.1.13.3.3.2.2.2.22.
  1283. [descr] => Output State
  1284. [states] => Array
  1285. (
  1286. [0] => Array
  1287. (
  1288. [descr] => open
  1289. [graph] => 1
  1290. [value] => 1
  1291. [generic] => 0
  1292. )
  1293.  
  1294. [1] => Array
  1295. (
  1296. [descr] => closed
  1297. [graph] => 1
  1298. [value] => 2
  1299. [generic] => 2
  1300. )
  1301.  
  1302. )
  1303.  
  1304. )
  1305.  
  1306. [7] => Array
  1307. (
  1308. [oid] => rPDU2PhaseStatusTable
  1309. [state_name] => rPDU2PhaseStatusLoadState
  1310. [value] => rPDU2PhaseStatusLoadState
  1311. [num_oid] => .1.3.6.1.4.1.318.1.1.26.6.3.1.4.
  1312. [index] => rPDU2PhaseStatusLoadState.{{ $index }}
  1313. [descr] => Load State, Phase #{{ $index }}
  1314. [states] => Array
  1315. (
  1316. [0] => Array
  1317. (
  1318. [descr] => lowLoad
  1319. [graph] => 1
  1320. [value] => 1
  1321. [generic] => 0
  1322. )
  1323.  
  1324. [1] => Array
  1325. (
  1326. [descr] => normal
  1327. [graph] => 1
  1328. [value] => 2
  1329. [generic] => 0
  1330. )
  1331.  
  1332. [2] => Array
  1333. (
  1334. [descr] => nearOverload
  1335. [graph] => 1
  1336. [value] => 3
  1337. [generic] => 1
  1338. )
  1339.  
  1340. [3] => Array
  1341. (
  1342. [descr] => overload
  1343. [graph] => 1
  1344. [value] => 4
  1345. [generic] => 2
  1346. )
  1347.  
  1348. )
  1349.  
  1350. )
  1351.  
  1352. [8] => Array
  1353. (
  1354. [oid] => rPDU2DeviceStatusTable
  1355. [state_name] => rPDU2DeviceStatusLoadState
  1356. [value] => rPDU2DeviceStatusLoadState
  1357. [num_oid] => .1.3.6.1.4.1.318.1.1.26.4.3.1.4.
  1358. [index] => rPDU2DeviceStatusLoadState.{{ $index }}
  1359. [descr] => Device State
  1360. [states] => Array
  1361. (
  1362. [0] => Array
  1363. (
  1364. [descr] => lowLoad
  1365. [graph] => 1
  1366. [value] => 1
  1367. [generic] => 0
  1368. )
  1369.  
  1370. [1] => Array
  1371. (
  1372. [descr] => normal
  1373. [graph] => 1
  1374. [value] => 2
  1375. [generic] => 0
  1376. )
  1377.  
  1378. [2] => Array
  1379. (
  1380. [descr] => nearOverload
  1381. [graph] => 1
  1382. [value] => 3
  1383. [generic] => 1
  1384. )
  1385.  
  1386. [3] => Array
  1387. (
  1388. [descr] => overload
  1389. [graph] => 1
  1390. [value] => 4
  1391. [generic] => 2
  1392. )
  1393.  
  1394. [4] => Array
  1395. (
  1396. [descr] => notsupported
  1397. [graph] => 1
  1398. [value] => 5
  1399. [generic] => 3
  1400. )
  1401.  
  1402. )
  1403.  
  1404. )
  1405.  
  1406. [9] => Array
  1407. (
  1408. [oid] => rPDU2DeviceStatusTable
  1409. [state_name] => rPDU2DeviceStatusPowerSupplyAlarm
  1410. [value] => rPDU2DeviceStatusPowerSupplyAlarm
  1411. [num_oid] => .1.3.6.1.4.1.318.1.1.26.4.3.1.12.
  1412. [index] => rPDU2DeviceStatusPowerSupplyAlarm.{{ $index }}
  1413. [descr] => Power Supply State
  1414. [states] => Array
  1415. (
  1416. [0] => Array
  1417. (
  1418. [descr] => normal
  1419. [graph] => 1
  1420. [value] => 1
  1421. [generic] => 0
  1422. )
  1423.  
  1424. [1] => Array
  1425. (
  1426. [descr] => alarm
  1427. [graph] => 1
  1428. [value] => 2
  1429. [generic] => 2
  1430. )
  1431.  
  1432. )
  1433.  
  1434. )
  1435.  
  1436. )
  1437.  
  1438. )
  1439. Data upsBasicOutputStatus: Array
  1440. (
  1441. )
  1442. Data airIRRP100UnitStatusOperateMode: Array
  1443. (
  1444. )
  1445. Data airIRRP100UnitStatusInputState: Array
  1446. (
  1447. )
  1448. Data airIRRP100UnitStatusOutputState: Array
  1449. (
  1450. )
  1451. Data airIRRP500UnitStatusOperateMode: Array
  1452. (
  1453. )
  1454. Data airIRRP500UnitStatusInputState: Array
  1455. (
  1456. )
  1457. Data airIRRP500UnitStatusOutputState: Array
  1458. (
  1459. )
  1460. Data rPDU2PhaseStatusTable: Array
  1461. (
  1462. [1] => Array
  1463. (
  1464. [rPDU2PhaseStatusIndex] => 1
  1465. [rPDU2PhaseStatusModule] => 1
  1466. [rPDU2PhaseStatusNumber] => 1
  1467. [rPDU2PhaseStatusLoadState] => 2
  1468. [rPDU2PhaseStatusCurrent] => 0
  1469. [rPDU2PhaseStatusVoltage] => 210
  1470. [rPDU2PhaseStatusPower] => 0
  1471. [rPDU2PhaseStatusApparentPower] => 0
  1472. [rPDU2PhaseStatusPowerFactor] => 100
  1473. [rPDU2PhaseStatusPeakCurrent] => 0
  1474. [rPDU2PhaseStatusPeakCurrentTimestamp] => 05/20/2017 02:35:22
  1475. [rPDU2PhaseStatusPeakCurrentStartTime] => 05/20/2017 02:35:22
  1476. )
  1477.  
  1478. )
  1479. Final sensor value: 2
  1480. SQL[SELECT `state_index_id` FROM state_indexes WHERE state_name = 'rPDU2PhaseStatusLoadState' LIMIT 1]
  1481. SQL[SELECT `state_index_id`,`state_descr`,`state_draw_graph`,`state_value`,`state_generic_value` FROM `state_translations` WHERE `state_index_id`='15']
  1482. Discover sensor: .1.3.6.1.4.1.318.1.1.26.6.3.1.4.1, rPDU2PhaseStatusLoadState.1, rPDU2PhaseStatusLoadState, Load State, Phase #1, snmp, 1, 1, , 2
  1483. SQL[SELECT COUNT(sensor_id) FROM `sensors` WHERE `poller_type`= 'snmp' AND `sensor_class` = 'state' AND `device_id` = '101' AND sensor_type = 'rPDU2PhaseStatusLoadState' AND `sensor_index` = 'rPDU2PhaseStatusLoadState.1']
  1484. SQL[SELECT * FROM `sensors` WHERE `sensor_class` = 'state' AND `device_id` = '101' AND `sensor_type` = 'rPDU2PhaseStatusLoadState' AND `sensor_index` = 'rPDU2PhaseStatusLoadState.1']
  1485. .SQL[SELECT sensor_id FROM `sensors` WHERE `sensor_class` = 'state' AND `device_id` = '101' AND `sensor_type` = 'rPDU2PhaseStatusLoadState' AND `sensor_index` = 'rPDU2PhaseStatusLoadState.1']
  1486. SQL[SELECT state_index_id FROM `state_indexes` WHERE `state_name` = 'rPDU2PhaseStatusLoadState']
  1487. SQL[INSERT INTO `sensors_to_state_indexes` (`sensor_id`,`state_index_id`) VALUES ('1411','15')]
  1488. Data rPDU2DeviceStatusTable: Array
  1489. (
  1490. [1] => Array
  1491. (
  1492. [rPDU2DeviceStatusIndex] => 1
  1493. [rPDU2DeviceStatusModule] => 1
  1494. [rPDU2DeviceStatusName] => apcE07654
  1495. [rPDU2DeviceStatusLoadState] => 2
  1496. [rPDU2DeviceStatusPower] => 0
  1497. [rPDU2DeviceStatusPeakPower] => 0
  1498. [rPDU2DeviceStatusPeakPowerTimestamp] => 05/20/2017 02:03:10
  1499. [rPDU2DeviceStatusPeakPowerStartTime] => 05/20/2017 02:03:10
  1500. [rPDU2DeviceStatusEnergy] => 171
  1501. [rPDU2DeviceStatusEnergyStartTime] => 05/20/2017 02:35:36
  1502. [rPDU2DeviceStatusCommandPending] => 2
  1503. [rPDU2DeviceStatusPowerSupplyAlarm] => 1
  1504. [rPDU2DeviceStatusPowerSupply1Status] => 1
  1505. [rPDU2DeviceStatusPowerSupply2Status] => 1
  1506. [rPDU2DeviceStatusOutletsEnergyStartTime] => 05/20/2017 02:35:36
  1507. [rPDU2DeviceStatusApparentPower] => 0
  1508. [rPDU2DeviceStatusPowerFactor] => 100
  1509. [rPDU2DeviceStatusNPSType] => 1
  1510. )
  1511.  
  1512. )
  1513. Final sensor value: 2
  1514. SQL[SELECT `state_index_id` FROM state_indexes WHERE state_name = 'rPDU2DeviceStatusLoadState' LIMIT 1]
  1515. SQL[SELECT `state_index_id`,`state_descr`,`state_draw_graph`,`state_value`,`state_generic_value` FROM `state_translations` WHERE `state_index_id`='16']
  1516. Discover sensor: .1.3.6.1.4.1.318.1.1.26.4.3.1.4.1, rPDU2DeviceStatusLoadState.1, rPDU2DeviceStatusLoadState, Device State, snmp, 1, 1, , 2
  1517. SQL[SELECT COUNT(sensor_id) FROM `sensors` WHERE `poller_type`= 'snmp' AND `sensor_class` = 'state' AND `device_id` = '101' AND sensor_type = 'rPDU2DeviceStatusLoadState' AND `sensor_index` = 'rPDU2DeviceStatusLoadState.1']
  1518. SQL[SELECT * FROM `sensors` WHERE `sensor_class` = 'state' AND `device_id` = '101' AND `sensor_type` = 'rPDU2DeviceStatusLoadState' AND `sensor_index` = 'rPDU2DeviceStatusLoadState.1']
  1519. .SQL[SELECT sensor_id FROM `sensors` WHERE `sensor_class` = 'state' AND `device_id` = '101' AND `sensor_type` = 'rPDU2DeviceStatusLoadState' AND `sensor_index` = 'rPDU2DeviceStatusLoadState.1']
  1520. SQL[SELECT state_index_id FROM `state_indexes` WHERE `state_name` = 'rPDU2DeviceStatusLoadState']
  1521. SQL[INSERT INTO `sensors_to_state_indexes` (`sensor_id`,`state_index_id`) VALUES ('1412','16')]
  1522. Data rPDU2DeviceStatusTable: Array
  1523. (
  1524. [1] => Array
  1525. (
  1526. [rPDU2DeviceStatusIndex] => 1
  1527. [rPDU2DeviceStatusModule] => 1
  1528. [rPDU2DeviceStatusName] => apcE07654
  1529. [rPDU2DeviceStatusLoadState] => 2
  1530. [rPDU2DeviceStatusPower] => 0
  1531. [rPDU2DeviceStatusPeakPower] => 0
  1532. [rPDU2DeviceStatusPeakPowerTimestamp] => 05/20/2017 02:03:10
  1533. [rPDU2DeviceStatusPeakPowerStartTime] => 05/20/2017 02:03:10
  1534. [rPDU2DeviceStatusEnergy] => 171
  1535. [rPDU2DeviceStatusEnergyStartTime] => 05/20/2017 02:35:36
  1536. [rPDU2DeviceStatusCommandPending] => 2
  1537. [rPDU2DeviceStatusPowerSupplyAlarm] => 1
  1538. [rPDU2DeviceStatusPowerSupply1Status] => 1
  1539. [rPDU2DeviceStatusPowerSupply2Status] => 1
  1540. [rPDU2DeviceStatusOutletsEnergyStartTime] => 05/20/2017 02:35:36
  1541. [rPDU2DeviceStatusApparentPower] => 0
  1542. [rPDU2DeviceStatusPowerFactor] => 100
  1543. [rPDU2DeviceStatusNPSType] => 1
  1544. )
  1545.  
  1546. )
  1547. Final sensor value: 1
  1548. SQL[SELECT `state_index_id` FROM state_indexes WHERE state_name = 'rPDU2DeviceStatusPowerSupplyAlarm' LIMIT 1]
  1549. SQL[SELECT `state_index_id`,`state_descr`,`state_draw_graph`,`state_value`,`state_generic_value` FROM `state_translations` WHERE `state_index_id`='17']
  1550. Discover sensor: .1.3.6.1.4.1.318.1.1.26.4.3.1.12.1, rPDU2DeviceStatusPowerSupplyAlarm.1, rPDU2DeviceStatusPowerSupplyAlarm, Power Supply State, snmp, 1, 1, , 1
  1551. SQL[SELECT COUNT(sensor_id) FROM `sensors` WHERE `poller_type`= 'snmp' AND `sensor_class` = 'state' AND `device_id` = '101' AND sensor_type = 'rPDU2DeviceStatusPowerSupplyAlarm' AND `sensor_index` = 'rPDU2DeviceStatusPowerSupplyAlarm.1']
  1552. SQL[SELECT * FROM `sensors` WHERE `sensor_class` = 'state' AND `device_id` = '101' AND `sensor_type` = 'rPDU2DeviceStatusPowerSupplyAlarm' AND `sensor_index` = 'rPDU2DeviceStatusPowerSupplyAlarm.1']
  1553. .SQL[SELECT sensor_id FROM `sensors` WHERE `sensor_class` = 'state' AND `device_id` = '101' AND `sensor_type` = 'rPDU2DeviceStatusPowerSupplyAlarm' AND `sensor_index` = 'rPDU2DeviceStatusPowerSupplyAlarm.1']
  1554. SQL[SELECT state_index_id FROM `state_indexes` WHERE `state_name` = 'rPDU2DeviceStatusPowerSupplyAlarm']
  1555. SQL[INSERT INTO `sensors_to_state_indexes` (`sensor_id`,`state_index_id`) VALUES ('1413','17')]
  1556. Array
  1557. (
  1558. [rPDU2PhaseStatusLoadState] => Array
  1559. (
  1560. [rPDU2PhaseStatusLoadState.1] => 1
  1561. )
  1562.  
  1563. [rPDU2DeviceStatusLoadState] => Array
  1564. (
  1565. [rPDU2DeviceStatusLoadState.1] => 1
  1566. )
  1567.  
  1568. [rPDU2DeviceStatusPowerSupplyAlarm] => Array
  1569. (
  1570. [rPDU2DeviceStatusPowerSupplyAlarm.1] => 1
  1571. )
  1572.  
  1573. )
  1574. 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 = '101' AND S.poller_type = 'snmp']
  1575. rPDU2PhaseStatusLoadState.1 -> rPDU2PhaseStatusLoadState
  1576. rPDU2DeviceStatusLoadState.1 -> rPDU2DeviceStatusLoadState
  1577. rPDU2DeviceStatusPowerSupplyAlarm.1 -> rPDU2DeviceStatusPowerSupplyAlarm
  1578.  
  1579. Temperature: SNMP[/usr/bin/snmpget -v1 -c COMMUNITY -OsqnU -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 .1.3.6.1.4.1.318.1.1.1.2.2.2.0]
  1580.  
  1581.  
  1582. SNMP[/usr/bin/snmpwalk -v1 -c COMMUNITY -OQUs -m PowerNet-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 iemConfigProbesTable]
  1583.  
  1584. SNMP[/usr/bin/snmpwalk -v1 -c COMMUNITY -OQUs -m PowerNet-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 iemStatusProbesTable]
  1585.  
  1586. SNMP[/usr/bin/snmpwalk -v1 -c COMMUNITY -OQUs -m PowerNet-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 emsProbeStatus]
  1587.  
  1588. SNMP[/usr/bin/snmpget -v1 -c COMMUNITY -OsqnU -m PowerNet-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 airIRRCGroupSetpointsCoolMetric.0]
  1589.  
  1590. SNMP[/usr/bin/snmpget -v1 -c COMMUNITY -OsqnU -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 .1.3.6.1.4.1.318.1.1.13.2.2.4.0]
  1591.  
  1592. SNMP[/usr/bin/snmpget -v1 -c COMMUNITY -OsqnU -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 .1.3.6.1.4.1.318.1.1.13.2.2.10.0]
  1593.  
  1594.  
  1595.  
  1596. SNMP[/usr/bin/snmpget -v1 -c COMMUNITY -OsqnU -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 .1.3.6.1.4.1.318.1.1.13.2.2.12.0]
  1597.  
  1598.  
  1599. SNMP[/usr/bin/snmpget -v1 -c COMMUNITY -OsqnU -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 .1.3.6.1.4.1.318.1.1.13.2.2.14.0]
  1600.  
  1601.  
  1602. SNMP[/usr/bin/snmpwalk -v1 -c COMMUNITY -OQUs -m PowerNet-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 coolingUnitExtendedAnalogEntry]
  1603.  
  1604. Dynamic Discovery (temperature): Array
  1605. (
  1606. [data] => Array
  1607. (
  1608. [0] => Array
  1609. (
  1610. [oid] => airIRRP100UnitStatusRackInletTempMetric
  1611. [num_oid] => .1.3.6.1.4.1.318.1.1.13.3.3.1.2.2.3.
  1612. [index] => airIRRP100UnitStatusRackInletTempMetric.{{ $index }}
  1613. [descr] => Rack Inlet
  1614. [divisor] => 10
  1615. )
  1616.  
  1617. [1] => Array
  1618. (
  1619. [oid] => airIRRP100UnitStatusSupplyAirTempMetric
  1620. [num_oid] => .1.3.6.1.4.1.318.1.1.13.3.3.1.2.2.5.
  1621. [index] => airIRRP100UnitStatusSupplyAirTempMetric.{{ $index }}
  1622. [descr] => Supply Air
  1623. [divisor] => 10
  1624. )
  1625.  
  1626. [2] => Array
  1627. (
  1628. [oid] => airIRRP100UnitStatusReturnAirTempMetric
  1629. [num_oid] => .1.3.6.1.4.1.318.1.1.13.3.3.1.2.2.7.
  1630. [index] => airIRRP100UnitStatusReturnAirTempMetric.{{ $index }}
  1631. [descr] => Return Air
  1632. [divisor] => 10
  1633. )
  1634.  
  1635. [3] => Array
  1636. (
  1637. [oid] => airIRRP100UnitStatusRackInletTemperature1Metric
  1638. [num_oid] => .1.3.6.1.4.1.318.1.1.13.3.3.1.2.2.24.
  1639. [index] => airIRRP100UnitStatusRackInletTemperature1Metric.{{ $index }}
  1640. [descr] => Inlet #1
  1641. [divisor] => 10
  1642. )
  1643.  
  1644. [4] => Array
  1645. (
  1646. [oid] => airIRRP100UnitStatusRackInletTemperature2Metric
  1647. [num_oid] => .1.3.6.1.4.1.318.1.1.13.3.3.1.2.2.26.
  1648. [index] => airIRRP100UnitStatusRackInletTemperature2Metric.{{ $index }}
  1649. [descr] => Inlet #2
  1650. [divisor] => 10
  1651. )
  1652.  
  1653. [5] => Array
  1654. (
  1655. [oid] => airIRRP100UnitStatusRackInletTemperature3Metric
  1656. [num_oid] => .1.3.6.1.4.1.318.1.1.13.3.3.1.2.2.28.
  1657. [index] => airIRRP100UnitStatusRackInletTemperature3Metric.{{ $index }}
  1658. [descr] => Inlet #3
  1659. [divisor] => 10
  1660. )
  1661.  
  1662. [6] => Array
  1663. (
  1664. [oid] => airIRRP100UnitStatusCompressorDriveHeatSinkTempMetric
  1665. [num_oid] => .1.3.6.1.4.1.318.1.1.13.3.3.1.2.2.41.
  1666. [index] => airIRRP100UnitStatusCompressorDriveHeatSinkTempMetric.{{ $index }}
  1667. [descr] => Compressor Drive Heatsink
  1668. [divisor] => 10
  1669. )
  1670.  
  1671. [7] => Array
  1672. (
  1673. [oid] => airIRRP100UnitStatusCompressorDriveControlCardTempMetric
  1674. [num_oid] => .1.3.6.1.4.1.318.1.1.13.3.3.1.2.2.43.
  1675. [index] => airIRRP100UnitStatusCompressorDriveControlCardTempMetric.{{ $index }}
  1676. [descr] => Compressor Drive Control Card
  1677. [divisor] => 10
  1678. )
  1679.  
  1680. [8] => Array
  1681. (
  1682. [oid] => airIRRP500UnitStatusSupplyAirTempMetric
  1683. [num_oid] => .1.3.6.1.4.1.318.1.1.13.3.3.2.2.2.5.
  1684. [index] => airIRRP500UnitStatusSupplyAirTempMetric.{{ $index }}
  1685. [descr] => Supply Air
  1686. [divisor] => 10
  1687. )
  1688.  
  1689. [9] => Array
  1690. (
  1691. [oid] => airIRRP500UnitStatusReturnAirTempMetric
  1692. [num_oid] => .1.3.6.1.4.1.318.1.1.13.3.3.2.2.2.7.
  1693. [index] => airIRRP500UnitStatusReturnAirTempMetric.{{ $index }}
  1694. [descr] => Return Air
  1695. [divisor] => 10
  1696. )
  1697.  
  1698. [10] => Array
  1699. (
  1700. [oid] => airIRRP500UnitStatusRackInletTemperature1Metric
  1701. [num_oid] => .1.3.6.1.4.1.318.1.1.13.3.3.2.2.2.24.
  1702. [index] => airIRRP500UnitStatusRackInletTemperature1Metric.{{ $index }}
  1703. [descr] => Inlet #1
  1704. [divisor] => 10
  1705. )
  1706.  
  1707. [11] => Array
  1708. (
  1709. [oid] => airIRRP500UnitStatusRackInletTemperature2Metric
  1710. [num_oid] => .1.3.6.1.4.1.318.1.1.13.3.3.2.2.2.26.
  1711. [index] => airIRRP500UnitStatusRackInletTemperature2Metric.{{ $index }}
  1712. [descr] => Inlet #2
  1713. [divisor] => 10
  1714. )
  1715.  
  1716. [12] => Array
  1717. (
  1718. [oid] => airIRRP500UnitStatusRackInletTemperature3Metric
  1719. [num_oid] => .1.3.6.1.4.1.318.1.1.13.3.3.2.2.2.28.
  1720. [index] => airIRRP500UnitStatusRackInletTemperature3Metric.{{ $index }}
  1721. [descr] => Inlet #3
  1722. [divisor] => 10
  1723. )
  1724.  
  1725. [13] => Array
  1726. (
  1727. [oid] => airIRG2RDT2StatusRackInletTempMetric
  1728. [num_oid] => .1.3.6.1.4.1.318.1.1.13.4.5.2.1.7.
  1729. [index] => airIRG2RDT2StatusRackInletTempMetric.{{ $index }}
  1730. [descr] => Rack Inlet
  1731. [divisor] => 10
  1732. [high_limit] => airIRG2RDT2ThresholdsRackInletHighTempMetric
  1733. )
  1734.  
  1735. [14] => Array
  1736. (
  1737. [oid] => airIRG2RDT2StatusSupplyAirTempMetric
  1738. [num_oid] => .1.3.6.1.4.1.318.1.1.13.4.5.2.1.9.
  1739. [index] => airIRG2RDT2StatusSupplyAirTempMetric.{{ $index }}
  1740. [descr] => Supply Air
  1741. [divisor] => 10
  1742. [high_limit] => airIRG2RDT2ThresholdsSupplyAirHighTempMetric
  1743. )
  1744.  
  1745. [15] => Array
  1746. (
  1747. [oid] => airIRG2RDT2StatusReturnAirTempMetric
  1748. [num_oid] => .1.3.6.1.4.1.318.1.1.13.4.5.2.1.11.
  1749. [index] => airIRG2RDT2StatusReturnAirTempMetric.{{ $index }}
  1750. [descr] => Return Air
  1751. [divisor] => 10
  1752. [high_limit] => airIRG2RDT2ThresholdsReturnAirHighTempMetric
  1753. )
  1754.  
  1755. [16] => Array
  1756. (
  1757. [oid] => airIRG2RDT2StatusSuctionTempMetric
  1758. [num_oid] => .1.3.6.1.4.1.318.1.1.13.4.5.2.1.13.
  1759. [index] => airIRG2RDT2StatusSuctionTempMetric.{{ $index }}
  1760. [descr] => Suction
  1761. [divisor] => 10
  1762. )
  1763.  
  1764. )
  1765.  
  1766. )
  1767. Data airIRRP100UnitStatusRackInletTempMetric: Array
  1768. (
  1769. )
  1770. Data airIRRP100UnitStatusSupplyAirTempMetric: Array
  1771. (
  1772. )
  1773. Data airIRRP100UnitStatusReturnAirTempMetric: Array
  1774. (
  1775. )
  1776. Data airIRRP100UnitStatusRackInletTemperature1Metric: Array
  1777. (
  1778. )
  1779. Data airIRRP100UnitStatusRackInletTemperature2Metric: Array
  1780. (
  1781. )
  1782. Data airIRRP100UnitStatusRackInletTemperature3Metric: Array
  1783. (
  1784. )
  1785. Data airIRRP100UnitStatusCompressorDriveHeatSinkTempMetric: Array
  1786. (
  1787. )
  1788. Data airIRRP100UnitStatusCompressorDriveControlCardTempMetric: Array
  1789. (
  1790. )
  1791. Data airIRRP500UnitStatusSupplyAirTempMetric: Array
  1792. (
  1793. )
  1794. Data airIRRP500UnitStatusReturnAirTempMetric: Array
  1795. (
  1796. )
  1797. Data airIRRP500UnitStatusRackInletTemperature1Metric: Array
  1798. (
  1799. )
  1800. Data airIRRP500UnitStatusRackInletTemperature2Metric: Array
  1801. (
  1802. )
  1803. Data airIRRP500UnitStatusRackInletTemperature3Metric: Array
  1804. (
  1805. )
  1806. Data airIRG2RDT2StatusRackInletTempMetric: Array
  1807. (
  1808. )
  1809. Data airIRG2RDT2StatusSupplyAirTempMetric: Array
  1810. (
  1811. )
  1812. Data airIRG2RDT2StatusReturnAirTempMetric: Array
  1813. (
  1814. )
  1815. Data airIRG2RDT2StatusSuctionTempMetric: Array
  1816. (
  1817. )
  1818. 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 = '101' AND S.poller_type = 'snmp']
  1819.  
  1820. Voltage: SNMP[/usr/bin/snmpget -v1 -c COMMUNITY -OsqnU -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 .1.3.6.1.4.1.318.1.1.1.2.2.8.0]
  1821.  
  1822.  
  1823. SNMP[/usr/bin/snmpwalk -v1 -c COMMUNITY -OsqnU -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 .1.3.6.1.4.1.318.1.1.8.5.3.3.1.3]
  1824.  
  1825.  
  1826. SNMP[/usr/bin/snmpwalk -v1 -c COMMUNITY -OsqnU -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 .1.3.6.1.4.1.318.1.1.8.5.4.3.1.3]
  1827.  
  1828.  
  1829. SNMP[/usr/bin/snmpget -v1 -c COMMUNITY -OsqnU -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 .1.3.6.1.4.1.318.1.1.1.3.2.1.0]
  1830.  
  1831.  
  1832. SNMP[/usr/bin/snmpget -v1 -c COMMUNITY -OsqnU -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 .1.3.6.1.4.1.318.1.1.1.4.2.1.0]
  1833.  
  1834.  
  1835. SNMP[/usr/bin/snmpget -v1 -c COMMUNITY -OsqnU -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 .1.3.6.1.4.1.318.1.1.12.1.15.0]
  1836. .*.4.1.3*.1.15.0 -1
  1837.  
  1838. .1.3.6.1.4.1.318.1.1.12.1.15.0 -1
  1839. Voltage In SNMP[/usr/bin/snmpwalk -v1 -c COMMUNITY -OsqnU -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 .1.3.6.1.4.1.318.1.1.26.6.3.1.6]
  1840. .*.4.1.3*.*.1 210
  1841.  
  1842. .1.3.6.1.4.1.318.1.1.26.6.3.1.6.1 210
  1843. Voltage In Discover sensor: .1.3.6.1.4.1.318.1.1.26.6.3.1.6.1, 1, apc, Input, snmp, 1, 1, , 210
  1844. SQL[SELECT COUNT(sensor_id) FROM `sensors` WHERE `poller_type`= 'snmp' AND `sensor_class` = 'voltage' AND `device_id` = '101' AND sensor_type = 'apc' AND `sensor_index` = '1']
  1845. SQL[SELECT * FROM `sensors` WHERE `sensor_class` = 'voltage' AND `device_id` = '101' AND `sensor_type` = 'apc' AND `sensor_index` = '1']
  1846. .Dynamic Discovery (voltage): Array
  1847. (
  1848. [data] => Array
  1849. (
  1850. [0] => Array
  1851. (
  1852. [oid] => airIRRP100UnitStatusCompressorDriveVoltage
  1853. [num_oid] => .1.3.6.1.4.1.318.1.1.13.3.3.1.2.2.37.
  1854. [index] => airIRRP100UnitStatusCompressorDriveVoltage.{{ $index }}
  1855. [descr] => Compressor Drive
  1856. [divisor] => 10
  1857. )
  1858.  
  1859. [1] => Array
  1860. (
  1861. [oid] => airIRRP100UnitStatusCompressorDriveDCLinkVoltage
  1862. [num_oid] => .1.3.6.1.4.1.318.1.1.13.3.3.1.2.2.39.
  1863. [index] => airIRRP100UnitStatusCompressorDriveDCLinkVoltage.{{ $index }}
  1864. [descr] => Compressor Drive DC Link
  1865. [divisor] => 10
  1866. )
  1867.  
  1868. )
  1869.  
  1870. )
  1871. Data airIRRP100UnitStatusCompressorDriveVoltage: Array
  1872. (
  1873. )
  1874. Data airIRRP100UnitStatusCompressorDriveDCLinkVoltage: Array
  1875. (
  1876. )
  1877. Array
  1878. (
  1879. [apc] => Array
  1880. (
  1881. [1] => 1
  1882. )
  1883.  
  1884. )
  1885. 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 = '101' AND S.poller_type = 'snmp']
  1886. 1 -> apc
  1887.  
  1888. 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 = '101' AND S.poller_type = 'snmp']
  1889.  
  1890. Pressure: Dynamic Discovery (pressure): Array
  1891. (
  1892. [data] => Array
  1893. (
  1894. [0] => Array
  1895. (
  1896. [oid] => airIRG2RDT2StatusSuctionPressureMetric
  1897. [num_oid] => .1.3.6.1.4.1.318.1.1.13.4.5.2.1.19.
  1898. [index] => airIRG2RDT2StatusSuctionPressureMetric.{{ $index }}
  1899. [descr] => Suction Pressure
  1900. )
  1901.  
  1902. [1] => Array
  1903. (
  1904. [oid] => airIRG2RDT2StatusDischargePressureMetric
  1905. [num_oid] => .1.3.6.1.4.1.318.1.1.13.4.5.2.1.21.
  1906. [index] => airIRG2RDT2StatusDischargePressureMetric.{{ $index }}
  1907. [descr] => Discharge Pressure
  1908. )
  1909.  
  1910. )
  1911.  
  1912. )
  1913. Data airIRG2RDT2StatusSuctionPressureMetric: Array
  1914. (
  1915. )
  1916. Data airIRG2RDT2StatusDischargePressureMetric: Array
  1917. (
  1918. )
  1919. SQL[SELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class='pressure' AND S.device_id = D.device_id AND D.device_id = '101' AND S.poller_type = 'snmp']
  1920.  
  1921. Cooling: Dynamic Discovery (cooling): Array
  1922. (
  1923. [data] => Array
  1924. (
  1925. [0] => Array
  1926. (
  1927. [oid] => airIRG2RDT2StatusCoolOutput
  1928. [num_oid] => .1.3.6.1.4.1.318.1.1.13.4.5.2.1.2.
  1929. [index] => airIRG2RDT2StatusCoolOutput.{{ $index }}
  1930. [descr] => Output
  1931. [multiplier] => 100
  1932. )
  1933.  
  1934. [1] => Array
  1935. (
  1936. [oid] => airIRG2RDT2StatusCoolDemand
  1937. [num_oid] => .1.3.6.1.4.1.318.1.1.13.4.5.2.1.3.
  1938. [index] => airIRG2RDT2StatusCoolDemand.{{ $index }}
  1939. [descr] => Demand
  1940. [multiplier] => 100
  1941. )
  1942.  
  1943. )
  1944.  
  1945. )
  1946. Data airIRG2RDT2StatusCoolOutput: Array
  1947. (
  1948. )
  1949. Data airIRG2RDT2StatusCoolDemand: Array
  1950. (
  1951. )
  1952. SQL[SELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class='cooling' AND S.device_id = D.device_id AND D.device_id = '101' AND S.poller_type = 'snmp']
  1953.  
  1954.  
  1955. >> Runtime for discovery module 'sensors': 7.4230 seconds with 33464 bytes
  1956. #### Unload disco module sensors ####
  1957.  
  1958. Modules status: Global+ OS+ Device
  1959. #### Load disco module storage ####
  1960. SNMP[/usr/bin/snmpwalk -v1 -c COMMUNITY -OQUs -m EQLVOLUME-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/apc:/opt/librenms/mibs/equallogic -t 1 -r 5 udp:HOSTNAME:161 EqliscsiVolumeEntry]
  1961.  
  1962. SNMP[/usr/bin/snmpwalk -v1 -c COMMUNITY -OQUsetX -m CPQHOST-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 cpqHoFileSysEntry]
  1963.  
  1964. HPE ILO4 SNMP[/usr/bin/snmpwalk -v1 -c COMMUNITY -OQUs -m HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:NetWare-Host-Ext-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 hrStorageEntry]
  1965.  
  1966. SNMP[/usr/bin/snmpwalk -v1 -c COMMUNITY -OQUs -m NETAPP-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 dfEntry]
  1967.  
  1968. SNMP[/usr/bin/snmpwalk -v1 -c COMMUNITY -OQUs -m UCD-SNMP-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 dskTable]
  1969.  
  1970. SQL[SELECT `storage_descr` FROM `storage` WHERE `device_id` = '101' AND `storage_type` != 'dsk']
  1971. SQL[SELECT * FROM `storage` WHERE `device_id` = '101']
  1972.  
  1973.  
  1974. >> Runtime for discovery module 'storage': 0.1470 seconds with 4248 bytes
  1975. #### Unload disco module storage ####
  1976.  
  1977. Modules status: Global+ OS+ Device
  1978. #### Load disco module hr-device ####
  1979. SNMP[/usr/bin/snmpwalk -v1 -c COMMUNITY -OQUs -m HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 hrDeviceEntry]
  1980.  
  1981. SNMP[/usr/bin/snmpwalk -v1 -c COMMUNITY -OQUs -m HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 hrProcessorEntry]
  1982.  
  1983. Array
  1984. (
  1985. )
  1986. SQL[SELECT * FROM `hrDevice` WHERE `device_id` = '101']
  1987.  
  1988.  
  1989. >> Runtime for discovery module 'hr-device': 0.0490 seconds with 840 bytes
  1990. #### Unload disco module hr-device ####
  1991.  
  1992. Modules status: Global+ OS+ Device
  1993. #### Load disco module discovery-protocols ####
  1994. CISCO-CDP-MIB: SNMP[/usr/bin/snmpwalk -v1 -c COMMUNITY -OQUsetX -m CISCO-CDP-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 cdpCache]
  1995.  
  1996.  
  1997. LLDP-MIB: SNMP[/usr/bin/snmpwalk -v1 -c COMMUNITY -OQUsetX -m LLDP-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 lldpRemTable]
  1998.  
  1999.  
  2000. OSPF Discovery: SQL[SELECT DISTINCT(`ospfNbrIpAddr`),`device_id` FROM `ospf_nbrs` WHERE `device_id`='101']
  2001.  
  2002. SQL[SELECT * FROM `links` AS L, `ports` AS I WHERE L.local_port_id = I.port_id AND I.device_id = '101']
  2003. SQL[DELETE `l` FROM `links` `l` LEFT JOIN `devices` `d` ON `d`.`device_id` = `l`.`local_device_id` WHERE `d`.`device_id` IS NULL]
  2004. orphaned links deleted
  2005.  
  2006. >> Runtime for discovery module 'discovery-protocols': 0.0630 seconds with 3216 bytes
  2007. #### Unload disco module discovery-protocols ####
  2008.  
  2009. Modules status: Global+ OS+ Device
  2010. #### Load disco module arp-table ####
  2011. SNMP[/usr/bin/snmpwalk -v1 -c COMMUNITY -OQUsetX -m IP-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 ipNetToPhysicalPhysAddress]
  2012. ipNetToPhysicalPhysAddress[1] = 0
  2013. ipNetToPhysicalPhysAddress[2] = 0
  2014.  
  2015. SNMP[/usr/bin/snmpwalk -v1 -c COMMUNITY -OQUsetX -m IP-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 ipNetToMediaPhysAddress]
  2016. ipNetToMediaPhysAddress[2][*] = 0:0:c:7:ac:32
  2017. ipNetToMediaPhysAddress[2][*] = c:c4:7a:d4:6b:d2
  2018. ipNetToMediaPhysAddress[2][*] = c:c4:7a:d4:6b:d2
  2019. ipNetToMediaPhysAddress[2][*] = c:c4:7a:d4:6c:a6
  2020.  
  2021. SQL[SELECT * from `ipv4_mac` WHERE `device_id`='101' AND `context_name`='']
  2022. SQL[SELECT * FROM `ports` WHERE `device_id` = '101' AND `ifIndex` = '1']
  2023. LOOPBACK:
  2024.  
  2025. SQL[SELECT * FROM `ports` WHERE `device_id` = '101' AND `ifIndex` = '2']
  2026. vmac0:
  2027. 0:0:c:7:ac:32 => 10.10.1.1
  2028. c:c4:7a:d4:6b:d2 => 10.10.1.51
  2029. c:c4:7a:d4:6b:d2 => 10.10.1.61
  2030. c:c4:7a:d4:6c:a6 => 10.10.1.62
  2031.  
  2032. SQL[DELETE `ipv4_mac` FROM `ipv4_mac`
  2033. LEFT JOIN `ports` ON `ipv4_mac`.`port_id` = `ports`.`port_id`
  2034. LEFT JOIN `devices` ON `ipv4_mac`.`device_id` = `devices`.`device_id`
  2035. WHERE `ports`.`port_id` IS NULL OR `devices`.`device_id` IS NULL]
  2036.  
  2037.  
  2038. >> Runtime for discovery module 'arp-table': 0.0970 seconds with 27968 bytes
  2039. #### Unload disco module arp-table ####
  2040.  
  2041. Modules status: Global- OS- Device Module [ discovery-arp ] disabled on os.
  2042.  
  2043. Modules status: Global- OS- Device Module [ junose-atm-vp ] disabled on os.
  2044.  
  2045. Modules status: Global+ OS+ Device
  2046. #### Load disco module bgp-peers ####
  2047. SNMP[/usr/bin/snmpwalk -v1 -c COMMUNITY -Oqvn -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 .1.3.6.1.2.1.15.2]
  2048.  
  2049. No BGP on hostPeers :
  2050. SQL[SELECT * FROM bgpPeers WHERE device_id = '101' AND (context_name = '' OR context_name IS NULL)]
  2051.  
  2052.  
  2053. >> Runtime for discovery module 'bgp-peers': 0.0360 seconds with 2648 bytes
  2054. #### Unload disco module bgp-peers ####
  2055.  
  2056. Modules status: Global+ OS+ Device
  2057. #### Load disco module vlans ####
  2058. SQL[SELECT * FROM `vlans` WHERE `device_id` = '101']
  2059. SNMP[/usr/bin/snmpwalk -v1 -c COMMUNITY -OQUs -m BRIDGE-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 dot1dBasePortIfIndex]
  2060.  
  2061. IEEE8021-Q-BRIDGE-MIB VLANs: SNMP[/usr/bin/snmpget -v1 -c COMMUNITY -Oqv -m IEEE8021-Q-BRIDGE-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 dot1qVlanVersionNumber.0]
  2062.  
  2063.  
  2064.  
  2065. >> Runtime for discovery module 'vlans': 0.0580 seconds with 4608 bytes
  2066. #### Unload disco module vlans ####
  2067.  
  2068. Modules status: Global- OS- Device Module [ vmware-vminfo ] disabled on os.
  2069.  
  2070. Modules status: Global- OS- Device Module [ libvirt-vminfo ] disabled on os.
  2071.  
  2072. Modules status: Global- OS- Device Module [ toner ] disabled on os.
  2073.  
  2074. Modules status: Global+ OS+ Device
  2075. #### Load disco module ucd-diskio ####
  2076. SNMP[/usr/bin/snmpwalk -v1 -c COMMUNITY -OQUs -m UCD-DISKIO-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 diskIOEntry]
  2077.  
  2078. Array
  2079. (
  2080. )
  2081. SQL[SELECT * FROM `ucd_diskio` where `device_id` = '101']
  2082.  
  2083.  
  2084. >> Runtime for discovery module 'ucd-diskio': 0.0250 seconds with 736 bytes
  2085. #### Unload disco module ucd-diskio ####
  2086.  
  2087. Modules status: Global- OS- Device Module [ applications ] disabled on os.
  2088.  
  2089. Modules status: Global+ OS+ Device
  2090. #### Load disco module services ####
  2091.  
  2092. >> Runtime for discovery module 'services': 0.0000 seconds with 288 bytes
  2093. #### Unload disco module services ####
  2094.  
  2095. Modules status: Global+ OS+ Device
  2096. #### Load disco module stp ####
  2097. SQL[SELECT * FROM `stp` WHERE `device_id` = '101']
  2098. SNMP[/usr/bin/snmpget -v1 -c COMMUNITY -Oqv -m RSTP-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 dot1dStpProtocolSpecification.0]
  2099.  
  2100.  
  2101.  
  2102. >> Runtime for discovery module 'stp': 0.0740 seconds with 3648 bytes
  2103. #### Unload disco module stp ####
  2104.  
  2105. Modules status: Global+ OS+ Device
  2106. #### Load disco module ntp ####
  2107.  
  2108. >> Runtime for discovery module 'ntp': 8.9880 seconds with 144 bytes
  2109. #### Unload disco module ntp ####
  2110.  
  2111. Modules status: Global- OS- Device Module [ loadbalancers ] disabled on os.
  2112.  
  2113. Modules status: Global- OS- Device Module [ mef ] disabled on os.
  2114.  
  2115. Modules status: Global+ OS+ Device
  2116. #### Load disco module wireless ####
  2117. Attempting to initialize OS: apc
  2118. SQL[SELECT * FROM `wireless_sensors` WHERE `device_id`='101' AND `sensor_class`='ap-count']
  2119. SQL[SELECT * FROM `wireless_sensors` WHERE `device_id`='101' AND `sensor_class`='clients']
  2120. SQL[SELECT * FROM `wireless_sensors` WHERE `device_id`='101' AND `sensor_class`='quality']
  2121. SQL[SELECT * FROM `wireless_sensors` WHERE `device_id`='101' AND `sensor_class`='capacity']
  2122. SQL[SELECT * FROM `wireless_sensors` WHERE `device_id`='101' AND `sensor_class`='utilization']
  2123. SQL[SELECT * FROM `wireless_sensors` WHERE `device_id`='101' AND `sensor_class`='rate']
  2124. SQL[SELECT * FROM `wireless_sensors` WHERE `device_id`='101' AND `sensor_class`='ccq']
  2125. SQL[SELECT * FROM `wireless_sensors` WHERE `device_id`='101' AND `sensor_class`='snr']
  2126. SQL[SELECT * FROM `wireless_sensors` WHERE `device_id`='101' AND `sensor_class`='mse']
  2127. SQL[SELECT * FROM `wireless_sensors` WHERE `device_id`='101' AND `sensor_class`='rssi']
  2128. SQL[SELECT * FROM `wireless_sensors` WHERE `device_id`='101' AND `sensor_class`='power']
  2129. SQL[SELECT * FROM `wireless_sensors` WHERE `device_id`='101' AND `sensor_class`='noise-floor']
  2130. SQL[SELECT * FROM `wireless_sensors` WHERE `device_id`='101' AND `sensor_class`='error-ratio']
  2131. SQL[SELECT * FROM `wireless_sensors` WHERE `device_id`='101' AND `sensor_class`='error-rate']
  2132. SQL[SELECT * FROM `wireless_sensors` WHERE `device_id`='101' AND `sensor_class`='frequency']
  2133. SQL[SELECT * FROM `wireless_sensors` WHERE `device_id`='101' AND `sensor_class`='distance']
  2134.  
  2135. >> Runtime for discovery module 'wireless': 0.0060 seconds with 132768 bytes
  2136. #### Unload disco module wireless ####
  2137.  
  2138. Modules status: Global+ OS+ Device
  2139. #### Load disco module fdb-table ####
  2140. SQL[SELECT `vlan_id`, `vlan_vlan` from `vlans` WHERE `device_id` = '101']
  2141. SQL[SELECT * FROM `ports_fdb` WHERE `device_id` = '101']
  2142. SNMP[/usr/bin/snmpwalk -v1 -c COMMUNITY -OQUsetX -m Q-BRIDGE-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 dot1qTpFdbPort]
  2143.  
  2144. SNMP[/usr/bin/snmpwalk -v1 -c COMMUNITY -OQUsetX -m BRIDGE-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/apc -t 1 -r 5 udp:HOSTNAME:161 dot1dTpFdbPort]
  2145.  
  2146.  
  2147.  
  2148. >> Runtime for discovery module 'fdb-table': 0.0670 seconds with 1720 bytes
  2149. #### Unload disco module fdb-table ####
  2150.  
  2151. SQL[SELECT attrib_value FROM devices_attribs WHERE `device_id` = '101' AND `attrib_type` = 'poll_mib' ]
  2152. SQL[UPDATE `devices` set `last_discovered` =NOW(),`last_discovered_timetaken` ='9.828' WHERE `device_id` = '101']
  2153. Discovered in 9.828 seconds
  2154.  
  2155. SQL[INSERT INTO `perf_times` (`type`,`doing`,`start`,`duration`,`devices`,`poller`) VALUES ('discover','apc1.test.org','1507905967.6731','9.864','1','nmsprod.test.org\n')]
  2156. /opt/librenms/discovery.php apc1.test.org 2017-10-13 10:46:17 - 1 devices discovered in 9.864 secs
  2157. SNMP: Get[49/2.06s] Walk [107/6.88s]
  2158. MySQL: Cell[26/0.01s] Row[22/0.01s] Rows[62/0.02s] Column[1/0.00s] Update[9/0.00s] Insert[9/0.00s] Delete[0/0.00s]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement