From natomiast, 5 Years ago, written in Plain Text.
Embed
  1. LibreNMS Poller
  2. ===================================
  3. Version info:
  4. Commit SHA: 798211401d9c7a4c05441fb023ec4e9a48cfac07
  5. Commit Date: 1517275748
  6. DB Schema: 228
  7. PHP: 5.4.16
  8. MySQL: 5.5.56-MariaDB
  9. RRDTool: 1.4.8
  10. SNMP: NET-SNMP 5.7.2
  11. ==================================DEBUG!
  12. Starting polling run:
  13.  
  14. SQL[SELECT * FROM `devices` WHERE `disabled` = 0 AND `hostname` = 'oc5500-1' ORDER BY `device_id` ASC]
  15. SQL[SELECT * FROM devices_attribs WHERE `device_id` = '33']
  16. Hostname: oc5500-1
  17. Device ID: 33
  18. OS: oceanstor (huawei)
  19.  
  20. SQL[INSERT INTO `device_perf` (`xmt`,`rcv`,`loss`,`min`,`max`,`avg`,`device_id`,`timestamp`)  VALUES ('3','3','0','0.27','0.62','0.42','33',NOW())]
  21. SNMP Check response code: 0
  22. Modules status: Global+ OS  Device  
  23. #### Load poller module core ####
  24. SNMP[/usr/bin/snmpget -v2c -c COMMUNITY -OQnUst -m SNMPv2-MIB:HOST-RESOURCES-MIB:SNMP-FRAMEWORK-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/huawei udp:HOSTNAME:161 sysUpTime.0 sysLocation.0 sysContact.0 sysName.0 sysObjectID.0]
  25. sysUpTime.0 = 654317939
  26. sysLocation.0 = Linx DC-WAW
  27. sysContact.0 =
  28. sysName.0 = OC5500v3
  29. sysObjectID.0 = enterprises.2011.2.91
  30.  
  31. SNMP[/usr/bin/snmpget -v2c -c COMMUNITY -OvQ -m SNMPv2-MIB:HOST-RESOURCES-MIB:SNMP-FRAMEWORK-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/huawei udp:HOSTNAME:161 sysDescr.0]
  32. ISM SNMP Agent
  33.  
  34. SNMP[/usr/bin/snmpget -v2c -c COMMUNITY -OQnUst -m HOST-RESOURCES-MIB:SNMP-FRAMEWORK-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/huawei udp:HOSTNAME:161 snmpEngineTime.0 hrSystemUptime.0]
  35. snmpEngineTime.0 = 49493169
  36. hrSystemUptime.0 = No Such Object available on this agent at this OID
  37.  
  38. Uptime seconds: 49493169
  39. RRD[update /opt/librenms/rrd/oc5500-1/uptime.rrd N:49493169]
  40. [RRD Disabled]Uptime: 1 years, 207 days, 20h 6m 9s
  41. SQL[SELECT `lat`,`lng` FROM `locations` WHERE `location`='LINX' LIMIT 1]
  42. Using cached lat/lng from other device
  43.  
  44. >> Runtime for poller module 'core': 0.3212 seconds with 26744 bytes
  45. >> SNMP: [3/0.32s] MySQL: [1/0.00s] RRD: [0/0.00s]
  46. #### Unload poller module core ####
  47.  
  48. RRD[update /opt/librenms/rrd/oc5500-1/poller-perf-core.rrd N:0.32120108604431]
  49. [RRD Disabled]Modules status: Global- OS  Device  Module [ unix-agent ] disabled globally.
  50.  
  51. Modules status: Global+ OS  Device  
  52. #### Load poller module os ####
  53. SNMP[/usr/bin/snmpget -v2c -c COMMUNITY -OQv -m ISM-STORAGE-SVC-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/huawei udp:HOSTNAME:161 version.0]
  54. V300R003C00
  55.  
  56. Hardware:
  57. Version: V300R003C00
  58. Features:
  59. Serial:
  60.  
  61. >> Runtime for poller module 'os': 0.1344 seconds with 2968 bytes
  62. >> SNMP: [1/0.13s] MySQL: [0/0.00s] RRD: [0/0.00s]
  63. #### Unload poller module os ####
  64.  
  65. RRD[update /opt/librenms/rrd/oc5500-1/poller-perf-os.rrd N:0.13441896438599]
  66. [RRD Disabled]Modules status: Global+ OS  Device  
  67. #### Load poller module ipmi ####
  68. SQL[SELECT * FROM sensors WHERE device_id = '33' AND poller_type='ipmi']
  69. Array
  70. (
  71. )
  72.  
  73. >> Runtime for poller module 'ipmi': 0.0009 seconds with 1872 bytes
  74. >> SNMP: [0/0.00s] MySQL: [1/0.00s] RRD: [0/0.00s]
  75. #### Unload poller module ipmi ####
  76.  
  77. RRD[update /opt/librenms/rrd/oc5500-1/poller-perf-ipmi.rrd N:0.0009150505065918]
  78. [RRD Disabled]Modules status: Global+ OS  Device  
  79. #### Load poller module sensors ####
  80. SQL[SELECT `sensor_class` FROM `sensors` WHERE `device_id` = '33' GROUP BY `sensor_class`]
  81.  
  82. >> Runtime for poller module 'sensors': 0.0005 seconds with 2144 bytes
  83. >> SNMP: [0/0.00s] MySQL: [1/0.00s] RRD: [0/0.00s]
  84. #### Unload poller module sensors ####
  85.  
  86. RRD[update /opt/librenms/rrd/oc5500-1/poller-perf-sensors.rrd N:0.00053119659423828]
  87. [RRD Disabled]Modules status: Global+ OS  Device  
  88. #### Load poller module processors ####
  89. SQL[SELECT * FROM processors WHERE device_id = '33']
  90.  
  91. >> Runtime for poller module 'processors': 0.0007 seconds with 3136 bytes
  92. >> SNMP: [0/0.00s] MySQL: [1/0.00s] RRD: [0/0.00s]
  93. #### Unload poller module processors ####
  94.  
  95. RRD[update /opt/librenms/rrd/oc5500-1/poller-perf-processors.rrd N:0.00069999694824219]
  96. [RRD Disabled]Modules status: Global+ OS  Device  
  97. #### Load poller module mempools ####
  98. SQL[SELECT * FROM mempools WHERE device_id = '33']
  99.  
  100. >> Runtime for poller module 'mempools': 0.0006 seconds with 2144 bytes
  101. >> SNMP: [0/0.00s] MySQL: [1/0.00s] RRD: [0/0.00s]
  102. #### Unload poller module mempools ####
  103.  
  104. RRD[update /opt/librenms/rrd/oc5500-1/poller-perf-mempools.rrd N:0.00056195259094238]
  105. [RRD Disabled]Modules status: Global+ OS  Device  
  106. #### Load poller module storage ####
  107. SQL[SELECT * FROM storage WHERE device_id = '33']
  108. Storage File System: oceanstor
  109.  
  110.  
  111.  
  112. SNMP[/usr/bin/snmpget -v2c -c COMMUNITY -OUQs -m ISM-STORAGE-SVC-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/huawei udp:HOSTNAME:161 usedCapacity.0 totalCapacity.0]
  113. usedCapacity.0 = 9442309
  114. totalCapacity.0 = 85063341
  115.  
  116. Array
  117. (
  118.     [storage_id] => 17
  119.     [device_id] => 33
  120.     [storage_mib] => oceanstor
  121.     [storage_index] => 0
  122.     [storage_type] => dsk
  123.     [storage_descr] => File System
  124.     [storage_size] => 85063341
  125.     [storage_units] => 1024
  126.     [storage_used] => 9442309
  127.     [storage_free] => 75621032
  128.     [storage_perc] => 11
  129.     [storage_perc_warn] => 60
  130.     [storage_deleted] => 0
  131.     [size] => 85063341
  132.     [used] => 9442309
  133.     [free] => 75621032
  134.     [units] => 1024
  135. )
  136. 11% RRD[update /opt/librenms/rrd/oc5500-1/storage-oceanstor-File_System.rrd N:9442309:75621032]
  137. [RRD Disabled]SQL[UPDATE `storage` set `storage_used` ='9442309',`storage_free` ='75621032',`storage_size` ='85063341',`storage_units` ='1024',`storage_perc` ='11' WHERE `storage_id` = '17']
  138.  
  139.  
  140. >> Runtime for poller module 'storage': 0.2407 seconds with 10960 bytes
  141. >> SNMP: [1/0.21s] MySQL: [2/0.03s] RRD: [0/0.00s]
  142. #### Unload poller module storage ####
  143.  
  144. RRD[update /opt/librenms/rrd/oc5500-1/poller-perf-storage.rrd N:0.24066400527954]
  145. [RRD Disabled]Modules status: Global+ OS  Device  
  146. #### Load poller module netstats ####
  147.  IPSNMP[/usr/bin/snmpget -v2c -c COMMUNITY -OQUs -m IP-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/huawei udp:HOSTNAME:161  IP-MIB::ipForwDatagrams.0 IP-MIB::ipInDelivers.0 IP-MIB::ipInReceives.0 IP-MIB::ipOutRequests.0 IP-MIB::ipInDiscards.0 IP-MIB::ipOutDiscards.0 IP-MIB::ipOutNoRoutes.0 IP-MIB::ipReasmReqds.0 IP-MIB::ipReasmOKs.0 IP-MIB::ipReasmFails.0 IP-MIB::ipFragOKs.0 IP-MIB::ipFragFails.0 IP-MIB::ipFragCreates.0 IP-MIB::ipInUnknownProtos.0 IP-MIB::ipInHdrErrors.0 IP-MIB::ipInAddrErrors.0]
  148. ipForwDatagrams.0 = No Such Object available on this agent at this OID
  149. ipInDelivers.0 = No Such Object available on this agent at this OID
  150. ipInReceives.0 = No Such Object available on this agent at this OID
  151. ipOutRequests.0 = No Such Object available on this agent at this OID
  152. ipInDiscards.0 = No Such Object available on this agent at this OID
  153. ipOutDiscards.0 = No Such Object available on this agent at this OID
  154. ipOutNoRoutes.0 = No Such Object available on this agent at this OID
  155. ipReasmReqds.0 = No Such Object available on this agent at this OID
  156. ipReasmOKs.0 = No Such Object available on this agent at this OID
  157. ipReasmFails.0 = No Such Object available on this agent at this OID
  158. ipFragOKs.0 = No Such Object available on this agent at this OID
  159. ipFragFails.0 = No Such Object available on this agent at this OID
  160. ipFragCreates.0 = No Such Object available on this agent at this OID
  161. ipInUnknownProtos.0 = No Such Object available on this agent at this OID
  162. ipInHdrErrors.0 = No Such Object available on this agent at this OID
  163. ipInAddrErrors.0 = No Such Object available on this agent at this OID
  164.  
  165.  TCPSNMP[/usr/bin/snmpget -v2c -c COMMUNITY -OQUs -m TCP-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/huawei udp:HOSTNAME:161  TCP-MIB::tcpActiveOpens.0 TCP-MIB::tcpPassiveOpens.0 TCP-MIB::tcpAttemptFails.0 TCP-MIB::tcpEstabResets.0 TCP-MIB::tcpCurrEstab.0 TCP-MIB::tcpInSegs.0 TCP-MIB::tcpOutSegs.0 TCP-MIB::tcpRetransSegs.0 TCP-MIB::tcpInErrs.0 TCP-MIB::tcpOutRsts.0 tcpHCInSegs.0 tcpHCOutSegs.0]
  166. tcpActiveOpens.0 = No Such Object available on this agent at this OID
  167. tcpPassiveOpens.0 = No Such Object available on this agent at this OID
  168. tcpAttemptFails.0 = No Such Object available on this agent at this OID
  169. tcpEstabResets.0 = No Such Object available on this agent at this OID
  170. tcpCurrEstab.0 = No Such Object available on this agent at this OID
  171. tcpInSegs.0 = No Such Object available on this agent at this OID
  172. tcpOutSegs.0 = No Such Object available on this agent at this OID
  173. tcpRetransSegs.0 = No Such Object available on this agent at this OID
  174. tcpInErrs.0 = No Such Object available on this agent at this OID
  175. tcpOutRsts.0 = No Such Object available on this agent at this OID
  176. tcpHCInSegs.0 = No Such Object available on this agent at this OID
  177. tcpHCOutSegs.0 = No Such Object available on this agent at this OID
  178.  
  179.  UDPSNMP[/usr/bin/snmpget -v2c -c COMMUNITY -OQUs -m UDP-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/huawei udp:HOSTNAME:161  UDP-MIB::udpInDatagrams.0 UDP-MIB::udpOutDatagrams.0 UDP-MIB::udpInErrors.0 UDP-MIB::udpNoPorts.0]
  180. udpInDatagrams.0 = No Such Object available on this agent at this OID
  181. udpOutDatagrams.0 = No Such Object available on this agent at this OID
  182. udpInErrors.0 = No Such Object available on this agent at this OID
  183. udpNoPorts.0 = No Such Object available on this agent at this OID
  184.  
  185.  ICMPSNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m IP-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/huawei udp:HOSTNAME:161 icmp]
  186. icmp = No Such Object available on this agent at this OID
  187.  
  188.  SNMPSNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m SNMPv2-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/huawei udp:HOSTNAME:161 snmp]
  189. snmpInPkts.0 = 4982741
  190. snmpOutPkts.0 = 4983322
  191. snmpInBadVersions.0 = 0
  192. snmpInBadCommunityNames.0 = 12
  193. snmpInBadCommunityUses.0 = 0
  194. snmpInASNParseErrs.0 = 0
  195. snmpInTooBigs.0 = 0
  196. snmpInNoSuchNames.0 = 0
  197. snmpInBadValues.0 = 0
  198. snmpInReadOnlys.0 = 0
  199. snmpInGenErrs.0 = 0
  200. snmpInTotalReqVars.0 = 20368892
  201. snmpInTotalSetVars.0 = 0
  202. snmpInGetRequests.0 = 3066515
  203. snmpInGetNexts.0 = 1916128
  204. snmpInSetRequests.0 = 0
  205. snmpInGetResponses.0 = 0
  206. snmpInTraps.0 = 0
  207. snmpOutTooBigs.0 = 0
  208. snmpOutNoSuchNames.0 = 7383554
  209. snmpOutBadValues.0 = 0
  210. snmpOutGenErrs.0 = 0
  211. snmpOutGetRequests.0 = 0
  212. snmpOutGetNexts.0 = 0
  213. snmpOutSetRequests.0 = 0
  214. snmpOutGetResponses.0 = 4982644
  215. snmpOutTraps.0 = 680
  216. snmpEnableAuthenTraps.0 = disabled
  217. snmpSilentDrops.0 = 0
  218. snmpProxyDrops.0 = 0
  219.  
  220. RRD[update /opt/librenms/rrd/oc5500-1/netstats-snmp.rrd N:4982741:4983322:0:12:0:0:0:0:0:0:0:20368892:0:3066515:1916128:0:0:0:0:7383554:0:0:0:0:0:4982644:680:0:0]
  221. [RRD Disabled] IP-FORWARDSNMP[/usr/bin/snmpget -v2c -c COMMUNITY -OQv -M /opt/librenms/mibs:/opt/librenms/mibs/huawei udp:HOSTNAME:161 IP-FORWARD-MIB::ipCidrRouteNumber.0]
  222. No Such Object available on this agent at this OID
  223.  
  224.  
  225.  
  226. >> Runtime for poller module 'netstats': 0.3740 seconds with 1464 bytes
  227. >> SNMP: [6/0.37s] MySQL: [0/0.00s] RRD: [0/0.00s]
  228. #### Unload poller module netstats ####
  229.  
  230. RRD[update /opt/librenms/rrd/oc5500-1/poller-perf-netstats.rrd N:0.37400102615356]
  231. [RRD Disabled]Modules status: Global+ OS  Device  
  232. #### Load poller module hr-mib ####
  233. SNMP[/usr/bin/snmpget -v2c -c COMMUNITY -OUQs -m HOST-RESOURCES-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/huawei udp:HOSTNAME:161 hrSystemProcesses.0 hrSystemNumUsers.0]
  234. hrSystemProcesses.0 = No Such Object available on this agent at this OID
  235. hrSystemNumUsers.0 = No Such Object available on this agent at this OID
  236.  
  237.  
  238.  
  239. >> Runtime for poller module 'hr-mib': 0.0379 seconds with 1424 bytes
  240. >> SNMP: [1/0.04s] MySQL: [0/0.00s] RRD: [0/0.00s]
  241. #### Unload poller module hr-mib ####
  242.  
  243. RRD[update /opt/librenms/rrd/oc5500-1/poller-perf-hr-mib.rrd N:0.037944793701172]
  244. [RRD Disabled]Modules status: Global+ OS  Device  
  245. #### Load poller module ucd-mib ####
  246. SNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m UCD-SNMP-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/huawei udp:HOSTNAME:161 systemStats]
  247. systemStats = No Such Object available on this agent at this OID
  248.  
  249. SNMP[/usr/bin/snmpget -v2c -c COMMUNITY -OQUs -m UCD-SNMP-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/huawei udp:HOSTNAME:161 memTotalSwap.0 memAvailSwap.0 memTotalReal.0 memAvailReal.0 memTotalFree.0 memShared.0 memBuffer.0 memCached.0]
  250. memTotalSwap.0 = No Such Object available on this agent at this OID
  251. memAvailSwap.0 = No Such Object available on this agent at this OID
  252. memTotalReal.0 = No Such Object available on this agent at this OID
  253. memAvailReal.0 = No Such Object available on this agent at this OID
  254. memTotalFree.0 = No Such Object available on this agent at this OID
  255. memShared.0 = No Such Object available on this agent at this OID
  256. memBuffer.0 = No Such Object available on this agent at this OID
  257. memCached.0 = No Such Object available on this agent at this OID
  258.  
  259. SNMP[/usr/bin/snmpget -v2c -c COMMUNITY -OQUs -m UCD-SNMP-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/huawei udp:HOSTNAME:161 laLoadInt.1 laLoadInt.2 laLoadInt.3]
  260. laLoadInt.1 = No Such Object available on this agent at this OID
  261. laLoadInt.2 = No Such Object available on this agent at this OID
  262. laLoadInt.3 = No Such Object available on this agent at this OID
  263.  
  264.  
  265. >> Runtime for poller module 'ucd-mib': 0.6508 seconds with 904 bytes
  266. >> SNMP: [3/0.65s] MySQL: [0/0.00s] RRD: [0/0.00s]
  267. #### Unload poller module ucd-mib ####
  268.  
  269. RRD[update /opt/librenms/rrd/oc5500-1/poller-perf-ucd-mib.rrd N:0.65083384513855]
  270. [RRD Disabled]Modules status: Global+ OS  Device  
  271. #### Load poller module ipSystemStats ####
  272. SNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m IP-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/huawei udp:HOSTNAME:161 ipSystemStats]
  273. ipSystemStatsTable = No Such Object available on this agent at this OID
  274.  
  275.  
  276.  
  277. >> Runtime for poller module 'ipSystemStats': 0.0447 seconds with 1448 bytes
  278. >> SNMP: [1/0.04s] MySQL: [0/0.00s] RRD: [0/0.00s]
  279. #### Unload poller module ipSystemStats ####
  280.  
  281. RRD[update /opt/librenms/rrd/oc5500-1/poller-perf-ipSystemStats.rrd N:0.04472804069519]
  282. [RRD Disabled]Modules status: Global+ OS  Device  
  283. #### Load poller module ports ####
  284. Caching Oids: SNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m IF-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/huawei udp:HOSTNAME:161 ifXEntry]
  285. ifXEntry = No Such Object available on this agent at this OID
  286.  
  287. SNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUst -m IF-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/huawei udp:HOSTNAME:161 ifEntry]
  288. ifEntry = No Such Object available on this agent at this OID
  289.  
  290. dot3StatsDuplexStatusSNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m EtherLike-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/huawei udp:HOSTNAME:161 dot3StatsDuplexStatus]
  291. dot3StatsDuplexStatus = No Such Object available on this agent at this OID
  292.  
  293. SQL[SELECT COUNT(*) FROM `ports` WHERE `device_id` = '33' AND `ifType` = 'adsl']
  294. SNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m Q-BRIDGE-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/huawei udp:HOSTNAME:161 dot1qPvid]
  295. dot1qPvid = No Such Object available on this agent at this OID
  296.  
  297. Array
  298. (
  299. )
  300. SQL[SELECT `name` FROM `port_association_mode` WHERE pom_id = '1']
  301. SQL[SELECT *, `ports_statistics`.`port_id` AS `ports_statistics_port_id`, `ports`.`port_id` AS `port_id` FROM `ports` LEFT OUTER JOIN `ports_statistics` ON `ports`.`port_id` = `ports_statistics`.`port_id` WHERE `ports`.`device_id` = '33' ORDER BY ports.port_id]
  302.  
  303.  
  304. >> Runtime for poller module 'ports': 0.4420 seconds with 15424 bytes
  305. >> SNMP: [4/0.44s] MySQL: [3/0.00s] RRD: [0/0.00s]
  306. #### Unload poller module ports ####
  307.  
  308. RRD[update /opt/librenms/rrd/oc5500-1/poller-perf-ports.rrd N:0.44198513031006]
  309. [RRD Disabled]Modules status: Global+ OS  Device  
  310. #### Load poller module bgp-peers ####
  311. SQL[SELECT * FROM bgpPeers WHERE device_id = '33']
  312.  
  313. >> Runtime for poller module 'bgp-peers': 0.0016 seconds with 1936 bytes
  314. >> SNMP: [0/0.00s] MySQL: [1/0.00s] RRD: [0/0.00s]
  315. #### Unload poller module bgp-peers ####
  316.  
  317. RRD[update /opt/librenms/rrd/oc5500-1/poller-perf-bgp-peers.rrd N:0.0015990734100342]
  318. [RRD Disabled]Modules status: Global- OS  Device  Module [ junose-atm-vp ] disabled globally.
  319.  
  320. Modules status: Global- OS  Device  Module [ toner ] disabled globally.
  321.  
  322. Modules status: Global+ OS  Device  
  323. #### Load poller module ucd-diskio ####
  324. SQL[SELECT * FROM `ucd_diskio` WHERE `device_id`  = '33']
  325.  
  326. >> Runtime for poller module 'ucd-diskio': 0.0005 seconds with 2160 bytes
  327. >> SNMP: [0/0.00s] MySQL: [1/0.00s] RRD: [0/0.00s]
  328. #### Unload poller module ucd-diskio ####
  329.  
  330. RRD[update /opt/librenms/rrd/oc5500-1/poller-perf-ucd-diskio.rrd N:0.00052404403686523]
  331. [RRD Disabled]Modules status: Global- OS  Device  Module [ wifi ] disabled globally.
  332.  
  333. Modules status: Global+ OS  Device  
  334. #### Load poller module wireless ####
  335. Attempting to initialize OS: oceanstor
  336. SQL[SELECT * FROM `wireless_sensors` WHERE `device_id` = '33']
  337.  
  338. >> Runtime for poller module 'wireless': 0.0028 seconds with 193888 bytes
  339. >> SNMP: [0/0.00s] MySQL: [1/0.00s] RRD: [0/0.00s]
  340. #### Unload poller module wireless ####
  341.  
  342. RRD[update /opt/librenms/rrd/oc5500-1/poller-perf-wireless.rrd N:0.0028030872344971]
  343. [RRD Disabled]Modules status: Global+ OS  Device  
  344. #### Load poller module ospf ####
  345. Processes: SQL[SELECT * FROM `ospf_instances` WHERE `device_id` = '33' AND `context_name` = '']
  346. SNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m OSPF-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/huawei udp:HOSTNAME:161 OSPF-MIB::ospfGeneralGroup]
  347. ospfGeneralGroup = No Such Object available on this agent at this OID
  348.  
  349.  
  350. Polled: Array
  351. (
  352. )
  353. Database:  Areas: SQL[SELECT * FROM `ospf_areas` WHERE `device_id` = '33' AND `context_name`= '']
  354. SNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m OSPF-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/huawei udp:HOSTNAME:161 OSPF-MIB::ospfAreaEntry]
  355. ospfAreaEntry = No Such Object available on this agent at this OID
  356.  
  357.  
  358. Polled: Array
  359. (
  360. )
  361. Database:  Ports: SQL[SELECT * FROM `ospf_ports` WHERE `device_id` = '33' AND `context_name` = '']
  362. SNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m OSPF-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/huawei udp:HOSTNAME:161 OSPF-MIB::ospfIfEntry]
  363. ospfIfEntry = No Such Object available on this agent at this OID
  364.  
  365.  
  366. Polled: Array
  367. (
  368. )
  369. Database:  Neighbours: SQL[SELECT * FROM `ospf_nbrs` WHERE `device_id` = '33' AND `context_name` = '']
  370. SNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m OSPF-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/huawei udp:HOSTNAME:161 OSPF-MIB::ospfNbrEntry]
  371. ospfNbrEntry = No Such Object available on this agent at this OID
  372.  
  373.  
  374. Polled: Array
  375. (
  376. )
  377. Database:
  378. RRD[update /opt/librenms/rrd/oc5500-1/ospf-statistics.rrd N:0:0:0:0]
  379. [RRD Disabled]
  380.  
  381. >> Runtime for poller module 'ospf': 0.6577 seconds with 3192 bytes
  382. >> SNMP: [4/0.65s] MySQL: [4/0.00s] RRD: [0/0.00s]
  383. #### Unload poller module ospf ####
  384.  
  385. RRD[update /opt/librenms/rrd/oc5500-1/poller-perf-ospf.rrd N:0.65771889686584]
  386. [RRD Disabled]Modules status: Global- OS  Device  Module [ cisco-ipsec-flow-monitor ] disabled globally.
  387.  
  388. Modules status: Global- OS  Device  Module [ cisco-remote-access-monitor ] disabled globally.
  389.  
  390. Modules status: Global- OS  Device  Module [ cisco-cef ] disabled globally.
  391.  
  392. Modules status: Global- OS  Device  Module [ cisco-sla ] disabled globally.
  393.  
  394. Modules status: Global- OS  Device  Module [ cisco-mac-accounting ] disabled globally.
  395.  
  396. Modules status: Global- OS  Device  Module [ cipsec-tunnels ] disabled globally.
  397.  
  398. Modules status: Global- OS  Device  Module [ cisco-ace-loadbalancer ] disabled globally.
  399.  
  400. Modules status: Global- OS  Device  Module [ cisco-ace-serverfarms ] disabled globally.
  401.  
  402. Modules status: Global- OS  Device  Module [ cisco-asa-firewall ] disabled globally.
  403.  
  404. Modules status: Global- OS  Device  Module [ cisco-voice ] disabled globally.
  405.  
  406. Modules status: Global- OS  Device  Module [ cisco-cbqos ] disabled globally.
  407.  
  408. Modules status: Global- OS  Device  Module [ cisco-otv ] disabled globally.
  409.  
  410. Modules status: Global- OS  Device  Module [ cisco-vpdn ] disabled globally.
  411.  
  412. Modules status: Global- OS  Device  Module [ netscaler-vsvr ] disabled globally.
  413.  
  414. Modules status: Global- OS  Device  Module [ aruba-controller ] disabled globally.
  415.  
  416. Modules status: Global+ OS  Device  
  417. #### Load poller module entity-physical ####
  418. SQL[SELECT * FROM `entPhysical_state` WHERE `device_id` = '33']
  419.  
  420. >> Runtime for poller module 'entity-physical': 0.0009 seconds with 2560 bytes
  421. >> SNMP: [0/0.00s] MySQL: [1/0.00s] RRD: [0/0.00s]
  422. #### Unload poller module entity-physical ####
  423.  
  424. RRD[update /opt/librenms/rrd/oc5500-1/poller-perf-entity-physical.rrd N:0.00085020065307617]
  425. [RRD Disabled]Modules status: Global- OS  Device  Module [ entity-state ] disabled globally.
  426.  
  427. Modules status: Global+ OS  Device  
  428. #### Load poller module applications ####
  429. SQL[SELECT * FROM `applications` WHERE `device_id`  = '33']
  430.  
  431. >> Runtime for poller module 'applications': 0.0005 seconds with 2144 bytes
  432. >> SNMP: [0/0.00s] MySQL: [1/0.00s] RRD: [0/0.00s]
  433. #### Unload poller module applications ####
  434.  
  435. RRD[update /opt/librenms/rrd/oc5500-1/poller-perf-applications.rrd N:0.00054407119750977]
  436. [RRD Disabled]Modules status: Global- OS  Device  Module [ mib ] disabled globally.
  437.  
  438. Modules status: Global+ OS  Device  
  439. #### Load poller module stp ####
  440. SQL[SELECT * FROM `stp` WHERE `device_id` = '33']
  441. SNMP[/usr/bin/snmpget -v2c -c COMMUNITY -Oqv -m RSTP-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/huawei udp:HOSTNAME:161 dot1dStpProtocolSpecification.0]
  442. No Such Object available on this agent at this OID
  443.  
  444.  
  445.  
  446. >> Runtime for poller module 'stp': 0.0387 seconds with 3176 bytes
  447. >> SNMP: [1/0.04s] MySQL: [1/0.00s] RRD: [0/0.00s]
  448. #### Unload poller module stp ####
  449.  
  450. RRD[update /opt/librenms/rrd/oc5500-1/poller-perf-stp.rrd N:0.038676023483276]
  451. [RRD Disabled]Modules status: Global+ OS  Device  
  452. #### Load poller module ntp ####
  453.  
  454. >> Runtime for poller module 'ntp': 0.0002 seconds with 368 bytes
  455. >> SNMP: [0/0.00s] MySQL: [0/0.00s] RRD: [0/0.00s]
  456. #### Unload poller module ntp ####
  457.  
  458. RRD[update /opt/librenms/rrd/oc5500-1/poller-perf-ntp.rrd N:0.00015497207641602]
  459. [RRD Disabled]Modules status: Global+ OS  Device  
  460. #### Load poller module services ####
  461.  
  462. >> Runtime for poller module 'services': 0.0001 seconds with 0 bytes
  463. >> SNMP: [0/0.00s] MySQL: [0/0.00s] RRD: [0/0.00s]
  464. #### Unload poller module services ####
  465.  
  466. RRD[update /opt/librenms/rrd/oc5500-1/poller-perf-services.rrd N:7.2002410888672E-5]
  467. [RRD Disabled]Modules status: Global- OS  Device  Module [ loadbalancers ] disabled globally.
  468.  
  469. Modules status: Global- OS  Device  Module [ mef ] disabled globally.
  470.  
  471. ### Start Device Groups ###
  472. SQL[SELECT * FROM device_groups ORDER BY name]
  473. SQL[SELECT `device_group_id` FROM `device_group_device` WHERE `device_id`='33']
  474. Groups Added:
  475. Groups Removed:
  476. ### End Device Groups ###
  477. SQL[SELECT `graph` FROM `device_graphs` WHERE `device_id` = '33']
  478. uptime netstat_snmp netstat_snmp_pkt
  479. RRD[update /opt/librenms/rrd/oc5500-1/ping-perf.rrd N:0.42]
  480. [RRD Disabled]RRD[update /opt/librenms/rrd/oc5500-1/poller-perf.rrd N:4.078]
  481. [RRD Disabled]Polled in 4.078 seconds
  482. Updating oc5500-1
  483. SQL[UPDATE `devices` set `uptime` ='49493169',`last_ping` =NOW(),`last_ping_timetaken` ='0.42',`last_polled` =NOW(),`last_polled_timetaken` ='4.078' WHERE `device_id` = '33']
  484. UPDATED!
  485. #### Start Alerts ####
  486. SQL[SELECT `device_group_id` FROM `device_group_device` WHERE `device_id`='33']
  487. SQL[SELECT alert_schedule.schedule_id FROM alert_schedule LEFT JOIN alert_schedule_items ON alert_schedule.schedule_id=alert_schedule_items.schedule_id WHERE ( alert_schedule_items.target = '33' ) && ((alert_schedule.recurring = 0 AND (NOW() BETWEEN alert_schedule.start AND alert_schedule.end)) OR (alert_schedule.recurring = 1 AND (alert_schedule.start_recurring_dt <= date_format(NOW(), '--%d') AND (end_recurring_dt >= date_format(NOW(), '--%d') OR end_recurring_dt is NULL OR end_recurring_dt = '0000-00-00' OR end_recurring_dt = '')) AND (date_format(now(), '%H:%i:%s') BETWEEN `start_recurring_hr` AND end_recurring_hr) AND (recurring_day LIKE CONCAT('%',date_format(now(), ''),'%') OR recurring_day is null or recurring_day = ''))) LIMIT 1]
  488. SQL[SELECT `device_group_id` FROM `device_group_device` WHERE `device_id`='33']
  489. SQL[SELECT alert_rules.* FROM alert_rules LEFT JOIN alert_map ON alert_rules.id=alert_map.rule WHERE alert_rules.disabled = 0 && ( (alert_rules.device_id = -1 || alert_rules.device_id = '33' ) || alert_map.target = '33'  )]
  490. Rule #1 (Devices up/down):
  491. SQL[SELECT state FROM alerts WHERE rule_id = '1' && device_id = '33' ORDER BY id DESC LIMIT 1]
  492. SQL[SELECT * FROM devices WHERE (devices.device_id = '33') && (((devices.status = 0  &&  ((devices.disabled = 0  &&  devices.ignore = 0)))) = "1"                  )]
  493. Status: NOCHG
  494. Rule #2 (Device rebooted):
  495. SQL[SELECT state FROM alerts WHERE rule_id = '2' && device_id = '33' ORDER BY id DESC LIMIT 1]
  496. SQL[SELECT * FROM devices WHERE (devices.device_id = '33') && (devices.uptime < "300"  &&  ((devices.disabled = 0  &&  devices.ignore = 0)) = "1")]
  497. Status: NOCHG
  498. Rule #3 (BGP Session down):
  499. SQL[SELECT state FROM alerts WHERE rule_id = '3' && device_id = '33' ORDER BY id DESC LIMIT 1]
  500. SQL[SELECT * FROM bgpPeers,devices WHERE (( devices.device_id = bgpPeers.device_id ) && bgpPeers.device_id = '33') && (bgpPeers.bgpPeerState != "established"  &&  ((devices.status = 1  &&  ((devices.disabled = 0  &&  devices.ignore = 0)))) = "1"  )]
  501. Status: NOCHG
  502. Rule #4 (BGP Session established):
  503. SQL[SELECT state FROM alerts WHERE rule_id = '4' && device_id = '33' ORDER BY id DESC LIMIT 1]
  504. SQL[SELECT * FROM bgpPeers WHERE (bgpPeers.device_id = '33') && (bgpPeers.bgpPeerFsmEstablishedTime < "300"  &&  bgpPeers.bgpPeerState = "established"  )]
  505. Status: NOCHG
  506. Rule #5 (Port status up/down):
  507. SQL[SELECT state FROM alerts WHERE rule_id = '5' && device_id = '33' ORDER BY id DESC LIMIT 1]
  508. SQL[SELECT * FROM ports WHERE (ports.device_id = '33') && (((ports.ifOperStatus = "down"  &&  ports.ifAdminStatus != "down"  &&  ((ports.deleted = 0  &&  ports.ignore = 0  &&  ports.disabled = 0)))) = "1"        )]
  509. Status: NOCHG
  510. Rule #6 (Port utilisation over threshold):
  511. SQL[SELECT state FROM alerts WHERE rule_id = '6' && device_id = '33' ORDER BY id DESC LIMIT 1]
  512. SQL[SELECT * FROM ports WHERE (ports.device_id = '33') && ((((ports.ifInOctets_rate*8) / ports.ifSpeed)*100) >= "80"        )]
  513. Status: NOCHG
  514. Rule #7 (Sensor over limit):
  515. SQL[SELECT state FROM alerts WHERE rule_id = '7' && device_id = '33' ORDER BY id DESC LIMIT 1]
  516. SQL[SELECT * FROM sensors WHERE (sensors.device_id = '33') && (sensors.sensor_current > sensors.sensor_limit    )]
  517. Status: NOCHG
  518. #### End Alerts ####
  519. SQL[INSERT INTO `perf_times` (`type`,`doing`,`start`,`duration`,`devices`,`poller`)  VALUES ('poll','oc5500-1','1529406906.7538','4.173','1','adm.pl.omnitec')]
  520. /opt/librenms/poller.php oc5500-1 2018-06-19 11:15:10 - 1 devices polled in 4.173 secs
  521. SNMP [26/2.95s]: Get[14/1.03s] Getnext[0/0.00s] Walk[12/1.91s]
  522. MySQL [50/0.15s]: Cell[5/0.00s] Row[9/0.00s] Rows[29/0.01s] Column[3/0.00s] Update[2/0.05s] Insert[2/0.08s] Delete[0/0.00s]
  523. RRD [0/0.00s]: Update[0/0.00s] Create [0/0.00s] Other[0/0.00s]
  524.  
  525.