From Bostjan, 6 Years ago, written in Plain Text.
Embed
  1. LibreNMS Poller
  2. ===================================
  3. Version info:
  4. Commit SHA: 34ed39c1f9a0aa9c21fe4d0859c7f3ac3678a976
  5. Commit Date: 1514928991
  6. DB Schema: 227
  7. PHP: 5.6.30-0+deb8u1
  8. MySQL: 10.0.32-MariaDB-0+deb8u1
  9. RRDTool: 1.4.8
  10. SNMP: NET-SNMP 5.7.2.1
  11. ==================================DEBUG!
  12. Starting polling run:
  13.  
  14. SQL[SELECT * FROM `devices` WHERE `disabled` = 0 AND `hostname` = '10.0.10.4' ORDER BY `device_id` ASC]
  15. SQL[SELECT * FROM devices_attribs WHERE `device_id` = '35']
  16. Hostname: 10.0.10.4
  17. Device ID: 35
  18. OS: generex-ups
  19.  
  20. SQL[INSERT INTO `device_perf` (`xmt`,`rcv`,`loss`,`min`,`max`,`avg`,`device_id`,`timestamp`)  VALUES ('3','3','0','3.81','3.95','3.86','35',NOW())]
  21. SNMP Check response code: 0
  22. SQL[UPDATE `devices` set `status` ='1',`status_reason` ='' WHERE device_id='35']
  23. SQL[INSERT INTO `eventlog` (`host`,`device_id`,`reference`,`type`,`datetime`,`severity`,`message`,`username`)  VALUES ('35','35','NULL','up',NOW(),'2','Device status changed to Up from snmp check.','')]
  24. Modules status: Global+ OS  Device  
  25. #### Load poller module core ####
  26. SNMP[/usr/bin/snmpget -v2c -c COMMUNITY -OQnUst -m SNMPv2-MIB:HOST-RESOURCES-MIB:SNMP-FRAMEWORK-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 sysUpTime.0 sysLocation.0 sysContact.0 sysName.0 sysObjectID.0]
  27. sysUpTime.0 = 1198477104
  28. sysLocation.0 = moja pisarna
  29. sysContact.0 = jaz
  30. sysName.0 = UPS_SIMTEL
  31. sysObjectID.0 = mib-2.33
  32.  
  33. SNMP[/usr/bin/snmpget -v2c -c COMMUNITY -OvQ -m SNMPv2-MIB:HOST-RESOURCES-MIB:SNMP-FRAMEWORK-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 sysDescr.0]
  34. CS121 v 5.40.59
  35.  
  36. SNMP[/usr/bin/snmpget -v2c -c COMMUNITY -OQnUst -m HOST-RESOURCES-MIB:SNMP-FRAMEWORK-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 snmpEngineTime.0 hrSystemUptime.0]
  37.  
  38. Uptime seconds: 11984771
  39. RRD[update /opt/librenms/rrd/10.0.10.4/uptime.rrd N:11984771]
  40. [RRD Disabled]Uptime: 138 days, 17h 6m 11s
  41. SQL[SELECT `lat`,`lng` FROM `locations` WHERE `location`='moja pisarna' LIMIT 1]
  42. Using cached lat/lng from other device
  43.  
  44. >> Runtime for poller module 'core': 0.0432 seconds with 25176 bytes
  45. >> SNMP: [3/0.04s] MySQL: [1/0.00s] RRD: [0/0.00s]
  46. #### Unload poller module core ####
  47.  
  48. RRD[update /opt/librenms/rrd/10.0.10.4/poller-perf-core.rrd N:0.043248176574707]
  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 -OQUs -m UPS-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 upsIdentManufacturer.0 upsIdentModel.0 upsIdentAgentSoftwareVersion.0]
  54. upsIdentManufacturer.0 = Alpha
  55. upsIdentModel.0 = Continuity 3000
  56. upsIdentAgentSoftwareVersion.0 = CS121 v 5.40.59
  57.  
  58. Array
  59. (
  60.     [0] => Array
  61.         (
  62.             [upsIdentManufacturer] => Alpha
  63.             [upsIdentModel] => Continuity 3000
  64.             [upsIdentAgentSoftwareVersion] => CS121 v 5.40.59
  65.         )
  66.  
  67. )
  68. Hardware: Alpha - Continuity 3000
  69. Version: CS121 v 5.40.59
  70. Features:
  71. Serial:
  72.  
  73. >> Runtime for poller module 'os': 0.2441 seconds with 3440 bytes
  74. >> SNMP: [1/0.24s] MySQL: [0/0.00s] RRD: [0/0.00s]
  75. #### Unload poller module os ####
  76.  
  77. RRD[update /opt/librenms/rrd/10.0.10.4/poller-perf-os.rrd N:0.24405002593994]
  78. [RRD Disabled]Modules status: Global+ OS  Device  
  79. #### Load poller module ipmi ####
  80. SQL[SELECT * FROM sensors WHERE device_id = '35' AND poller_type='ipmi']
  81. Array
  82. (
  83. )
  84.  
  85. >> Runtime for poller module 'ipmi': 0.0007 seconds with 2736 bytes
  86. >> SNMP: [0/0.00s] MySQL: [1/0.00s] RRD: [0/0.00s]
  87. #### Unload poller module ipmi ####
  88.  
  89. RRD[update /opt/librenms/rrd/10.0.10.4/poller-perf-ipmi.rrd N:0.00066089630126953]
  90. [RRD Disabled]Modules status: Global+ OS  Device  
  91. #### Load poller module sensors ####
  92. SQL[SELECT `sensor_class` FROM `sensors` WHERE `device_id` = '35' GROUP BY `sensor_class`]
  93. SQL[SELECT * FROM `sensors` WHERE `sensor_class` = 'current' AND `device_id` = '35']
  94. SNMP[/usr/bin/snmpget -v2c -c COMMUNITY -OUQnt -M /opt/librenms/mibs udp:HOSTNAME:161 .1.3.6.1.2.1.33.1.2.6.0 .1.3.6.1.2.1.33.1.4.4.1.3.1]
  95. .*.*.2.6.0 = 0
  96. .*.*.*.1 = 0
  97.  
  98. Checking (snmp) current Battery...
  99. Checking (snmp) current Output...
  100. 0
  101. RRD[update /opt/librenms/rrd/10.0.10.4/sensor-current-rfc1628-500.rrd N:0]
  102. [RRD Disabled]0
  103. RRD[update /opt/librenms/rrd/10.0.10.4/sensor-current-rfc1628-1.rrd N:0]
  104. [RRD Disabled]SQL[SELECT * FROM `sensors` WHERE `sensor_class` = 'voltage' AND `device_id` = '35']
  105. SNMP[/usr/bin/snmpget -v2c -c COMMUNITY -OUQnt -M /opt/librenms/mibs udp:HOSTNAME:161 .1.3.6.1.2.1.33.1.2.5.0 .1.3.6.1.2.1.33.1.4.4.1.2.1]
  106. .*.*.2.5.0 = 820
  107. .*.*.*.1 = 230
  108.  
  109. Checking (snmp) voltage Battery...
  110. Checking (snmp) voltage Output...
  111. 82
  112. RRD[update /opt/librenms/rrd/10.0.10.4/sensor-voltage-rfc1628-1.2.5.0.rrd N:82]
  113. [RRD Disabled]230
  114. RRD[update /opt/librenms/rrd/10.0.10.4/sensor-voltage-rfc1628-1.rrd N:230]
  115. [RRD Disabled]
  116. >> Runtime for poller module 'sensors': 0.4896 seconds with 3928 bytes
  117. >> SNMP: [2/0.49s] MySQL: [3/0.00s] RRD: [0/0.00s]
  118. #### Unload poller module sensors ####
  119.  
  120. RRD[update /opt/librenms/rrd/10.0.10.4/poller-perf-sensors.rrd N:0.48959803581238]
  121. [RRD Disabled]Modules status: Global+ OS  Device  
  122. #### Load poller module processors ####
  123. SQL[SELECT * FROM processors WHERE device_id = '35']
  124.  
  125. >> Runtime for poller module 'processors': 0.0005 seconds with 2144 bytes
  126. >> SNMP: [0/0.00s] MySQL: [1/0.00s] RRD: [0/0.00s]
  127. #### Unload poller module processors ####
  128.  
  129. RRD[update /opt/librenms/rrd/10.0.10.4/poller-perf-processors.rrd N:0.00049495697021484]
  130. [RRD Disabled]Modules status: Global+ OS  Device  
  131. #### Load poller module mempools ####
  132. SQL[SELECT * FROM mempools WHERE device_id = '35']
  133.  
  134. >> Runtime for poller module 'mempools': 0.0004 seconds with 2128 bytes
  135. >> SNMP: [0/0.00s] MySQL: [1/0.00s] RRD: [0/0.00s]
  136. #### Unload poller module mempools ####
  137.  
  138. RRD[update /opt/librenms/rrd/10.0.10.4/poller-perf-mempools.rrd N:0.00037217140197754]
  139. [RRD Disabled]Modules status: Global+ OS- Device  Module [ storage ] disabled on os.
  140.  
  141. Modules status: Global+ OS  Device  
  142. #### Load poller module netstats ####
  143.  IPSNMP[/usr/bin/snmpget -v2c -c COMMUNITY -OQUs -m IP-MIB -M /opt/librenms/mibs 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]
  144. ipForwDatagrams.0 = 0
  145. ipInDelivers.0 = 21731383
  146. ipInReceives.0 = 31505054
  147. ipOutRequests.0 = 21728573
  148. ipInDiscards.0 = 0
  149. ipOutDiscards.0 = 2
  150. ipOutNoRoutes.0 = 0
  151. ipReasmReqds.0 = 0
  152. ipReasmOKs.0 = 0
  153. ipReasmFails.0 = 0
  154. ipFragOKs.0 = 0
  155. ipFragFails.0 = 0
  156. ipFragCreates.0 = 0
  157. ipInUnknownProtos.0 = 0
  158. ipInHdrErrors.0 = 0
  159. ipInAddrErrors.0 = 0
  160.  
  161. RRD[update /opt/librenms/rrd/10.0.10.4/netstats-ip.rrd N:0:21731383:31505054:21728573:0:2:0:0:0:0:0:0:0:0:0:0]
  162. [RRD Disabled] TCPSNMP[/usr/bin/snmpget -v2c -c COMMUNITY -OQUs -m TCP-MIB -M /opt/librenms/mibs 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]
  163. tcpActiveOpens.0 = 60
  164. tcpPassiveOpens.0 = 606025
  165. tcpAttemptFails.0 = 116
  166. tcpEstabResets.0 = 11
  167. tcpCurrEstab.0 = 0
  168. tcpInSegs.0 = 4263002
  169. tcpOutSegs.0 = 4266551
  170. tcpRetransSegs.0 = 6309
  171. tcpInErrs.0 = 0
  172. tcpOutRsts.0 = 163
  173.  
  174. RRD[update /opt/librenms/rrd/10.0.10.4/netstats-tcp.rrd N:60:606025:116:11:0:4263002:4266551:6309:0:163]
  175. [RRD Disabled] UDPSNMP[/usr/bin/snmpget -v2c -c COMMUNITY -OQUs -m UDP-MIB -M /opt/librenms/mibs udp:HOSTNAME:161  UDP-MIB::udpInDatagrams.0 UDP-MIB::udpOutDatagrams.0 UDP-MIB::udpInErrors.0 UDP-MIB::udpNoPorts.0]
  176. udpInDatagrams.0 = 16207499
  177. udpOutDatagrams.0 = 16207339
  178. udpInErrors.0 = 0
  179. udpNoPorts.0 = 133
  180.  
  181. RRD[update /opt/librenms/rrd/10.0.10.4/netstats-udp.rrd N:16207499:16207339:0:133]
  182. [RRD Disabled] ICMPSNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m IP-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 icmp]
  183. icmpInMsgs.0 = 1260885
  184. icmpInErrors.0 = 0
  185. icmpInDestUnreachs.0 = 12641
  186. icmpInTimeExcds.0 = 0
  187. icmpInParmProbs.0 = 0
  188. icmpInSrcQuenchs.0 = 0
  189. icmpInRedirects.0 = 0
  190. icmpInEchos.0 = 1248244
  191. icmpInEchoReps.0 = 0
  192. icmpInTimestamps.0 = 0
  193. icmpInTimestampReps.0 = 0
  194. icmpInAddrMasks.0 = 0
  195. icmpInAddrMaskReps.0 = 0
  196. icmpOutMsgs.0 = 1248377
  197. icmpOutErrors.0 = 2
  198. icmpOutDestUnreachs.0 = 133
  199. icmpOutTimeExcds.0 = 0
  200. icmpOutParmProbs.0 = 0
  201. icmpOutSrcQuenchs.0 = 0
  202. icmpOutRedirects.0 = 0
  203. icmpOutEchos.0 = 0
  204. icmpOutEchoReps.0 = 1248244
  205. icmpOutTimestamps.0 = 0
  206. icmpOutTimestampReps.0 = 0
  207. icmpOutAddrMasks.0 = 0
  208. icmpOutAddrMaskReps.0 = 0
  209.  
  210. RRD[update /opt/librenms/rrd/10.0.10.4/netstats-icmp.rrd N:1260885:1248377:0:2:1248244:0:0:1248244:12641:133:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0]
  211. [RRD Disabled] SNMPSNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m SNMPv2-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 snmp]
  212. snmpInPkts.0 = 16206602
  213. snmpOutPkts.0 = 16206601
  214. snmpInBadVersions.0 = 0
  215. snmpInBadCommunityNames.0 = 0
  216. snmpInBadCommunityUses.0 = 0
  217. snmpInASNParseErrs.0 = 0
  218. snmpInTooBigs.0 = 0
  219. snmpInNoSuchNames.0 = 0
  220. snmpInBadValues.0 = 0
  221. snmpInReadOnlys.0 = 0
  222. snmpInGenErrs.0 = 0
  223. snmpInTotalReqVars.0 = 16349904
  224. snmpInTotalSetVars.0 = 0
  225. snmpInGetRequests.0 = 16115930
  226. snmpInGetNexts.0 = 0
  227. snmpInSetRequests.0 = 0
  228. snmpInGetResponses.0 = 0
  229. snmpInTraps.0 = 0
  230. snmpOutTooBigs.0 = 0
  231. snmpOutNoSuchNames.0 = 0
  232. snmpOutBadValues.0 = 0
  233. snmpOutGenErrs.0 = 0
  234. snmpOutGetRequests.0 = 0
  235. snmpOutGetNexts.0 = 0
  236. snmpOutSetRequests.0 = 0
  237. snmpOutGetResponses.0 = 16115930
  238. snmpOutTraps.0 = 0
  239. snmpEnableAuthenTraps.0 = disabled
  240. snmpSilentDrops.0 = 0
  241. snmpProxyDrops.0 = 0
  242.  
  243. RRD[update /opt/librenms/rrd/10.0.10.4/netstats-snmp.rrd N:16206602:16206601:0:0:0:0:0:0:0:0:0:16349904:0:16115930:0:0:0:0:0:0:0:0:0:0:0:16115930:0:0:0]
  244. [RRD Disabled] IP-FORWARDSNMP[/usr/bin/snmpget -v2c -c COMMUNITY -OQv -M /opt/librenms/mibs udp:HOSTNAME:161 IP-FORWARD-MIB::ipCidrRouteNumber.0]
  245.  
  246.  
  247.  
  248. >> Runtime for poller module 'netstats': 0.9659 seconds with 6976 bytes
  249. >> SNMP: [6/0.96s] MySQL: [0/0.00s] RRD: [0/0.00s]
  250. #### Unload poller module netstats ####
  251.  
  252. RRD[update /opt/librenms/rrd/10.0.10.4/poller-perf-netstats.rrd N:0.96586799621582]
  253. [RRD Disabled]Modules status: Global+ OS  Device  
  254. #### Load poller module hr-mib ####
  255. SNMP[/usr/bin/snmpget -v2c -c COMMUNITY -OUQs -m HOST-RESOURCES-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 hrSystemProcesses.0 hrSystemNumUsers.0]
  256.  
  257.  
  258.  
  259. >> Runtime for poller module 'hr-mib': 0.0127 seconds with 1424 bytes
  260. >> SNMP: [1/0.01s] MySQL: [0/0.00s] RRD: [0/0.00s]
  261. #### Unload poller module hr-mib ####
  262.  
  263. RRD[update /opt/librenms/rrd/10.0.10.4/poller-perf-hr-mib.rrd N:0.01269006729126]
  264. [RRD Disabled]Modules status: Global+ OS  Device  
  265. #### Load poller module ucd-mib ####
  266. SNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m UCD-SNMP-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 systemStats]
  267. systemStats = No more variables left in this MIB View (It is past the end of the MIB tree)
  268.  
  269. SNMP[/usr/bin/snmpget -v2c -c COMMUNITY -OQUs -m UCD-SNMP-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 memTotalSwap.0 memAvailSwap.0 memTotalReal.0 memAvailReal.0 memTotalFree.0 memShared.0 memBuffer.0 memCached.0]
  270.  
  271. SNMP[/usr/bin/snmpget -v2c -c COMMUNITY -OQUs -m UCD-SNMP-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 laLoadInt.1 laLoadInt.2 laLoadInt.3]
  272.  
  273.  
  274. >> Runtime for poller module 'ucd-mib': 0.0348 seconds with 1520 bytes
  275. >> SNMP: [3/0.03s] MySQL: [0/0.00s] RRD: [0/0.00s]
  276. #### Unload poller module ucd-mib ####
  277.  
  278. RRD[update /opt/librenms/rrd/10.0.10.4/poller-perf-ucd-mib.rrd N:0.034755945205688]
  279. [RRD Disabled]Modules status: Global+ OS  Device  
  280. #### Load poller module ipSystemStats ####
  281. SNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m IP-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 ipSystemStats]
  282.  
  283.  
  284.  
  285. >> Runtime for poller module 'ipSystemStats': 0.0239 seconds with 1448 bytes
  286. >> SNMP: [1/0.02s] MySQL: [0/0.00s] RRD: [0/0.00s]
  287. #### Unload poller module ipSystemStats ####
  288.  
  289. RRD[update /opt/librenms/rrd/10.0.10.4/poller-perf-ipSystemStats.rrd N:0.023936986923218]
  290. [RRD Disabled]Modules status: Global+ OS  Device  
  291. #### Load poller module ports ####
  292. Caching Oids: SNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m IF-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 ifXEntry]
  293.  
  294. SNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUst -m IF-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 ifEntry]
  295. ifIndex.1 = 1
  296. ifDescr.1 = CS121 Ethernet
  297. ifType.1 = ethernetCsmacd
  298. ifMtu.1 = 1500
  299. ifSpeed.1 = 100000000
  300. ifPhysAddress.1 = 0:3:5:1c:d8:b5
  301. ifAdminStatus.1 = up
  302. ifOperStatus.1 = up
  303. ifLastChange.1 = 0
  304. ifInOctets.1 = 2523560923
  305. ifInUcastPkts.1 = 31505075
  306. ifInNUcastPkts.1 = 0
  307. ifInDiscards.1 = 0
  308. ifInErrors.1 = 0
  309. ifInUnknownProtos.1 = 0
  310. ifOutOctets.1 = 3071171344
  311. ifOutUcastPkts.1 = 22687476
  312. ifOutNUcastPkts.1 = 2355
  313. ifOutDiscards.1 = 0
  314. ifOutErrors.1 = 2
  315. ifOutQLen.1 = 0
  316. ifSpecific.1 = internet
  317.  
  318. dot3StatsDuplexStatusSNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m EtherLike-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 dot3StatsDuplexStatus]
  319.  
  320. SQL[SELECT COUNT(*) FROM `ports` WHERE `device_id` = '35' AND `ifType` = 'adsl']
  321. SNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m Q-BRIDGE-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 dot1qPvid]
  322.  
  323. Array
  324. (
  325.     [1] => Array
  326.         (
  327.             [ifIndex] => 1
  328.             [ifDescr] => CS121 Ethernet
  329.             [ifType] => ethernetCsmacd
  330.             [ifMtu] => 1500
  331.             [ifSpeed] => 100000000
  332.             [ifPhysAddress] => 0:3:5:1c:d8:b5
  333.             [ifAdminStatus] => up
  334.             [ifOperStatus] => up
  335.             [ifLastChange] => 0
  336.             [ifInOctets] => 2523560923
  337.             [ifInUcastPkts] => 31505075
  338.             [ifInNUcastPkts] => 0
  339.             [ifInDiscards] => 0
  340.             [ifInErrors] => 0
  341.             [ifInUnknownProtos] => 0
  342.             [ifOutOctets] => 3071171344
  343.             [ifOutUcastPkts] => 22687476
  344.             [ifOutNUcastPkts] => 2355
  345.             [ifOutDiscards] => 0
  346.             [ifOutErrors] => 2
  347.             [ifOutQLen] => 0
  348.             [ifSpecific] => internet
  349.         )
  350.  
  351. )
  352. SQL[SELECT `name` FROM `port_association_mode` WHERE pom_id = '1']
  353. 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` = '35' ORDER BY ports.port_id]
  354. valid
  355. Port CS121 Ethernet: CS121 Ethernet (1 / #2543) ifInOctets ifOutOctets ifInUcastPkts ifOutUcastPkts ifInBroadcastPkts ifOutBroadcastPkts ifInMulticastPkts ifOutMulticastPkts ifSpeed VLAN == Using ifDescr as ifAliasUsing ifDescr as ifNameCS121 Ethernet
  356.  ifInOctets (49073 B) 103.52953586498 Bps 474 secs
  357.  
  358.  ifOutOctets (39217 B) 82.736286919831 Bps 474 secs
  359.  
  360.  ifInErrors (0 B) 0 Bps 474 secs
  361.  
  362.  ifOutErrors (0 B) 0 Bps 474 secs
  363.  
  364.  ifInUcastPkts (329 B) 0.69409282700422 Bps 474 secs
  365.  
  366.  ifOutUcastPkts (204 B) 0.43037974683544 Bps 474 secs
  367.  
  368.  ifInNUcastPkts (0 B) 0 Bps 474 secs
  369.  
  370.  ifOutNUcastPkts (0 B) 0 Bps 474 secs
  371.  
  372.  ifInDiscards (0 B) 0 Bps 474 secs
  373.  
  374.  ifOutDiscards (0 B) 0 Bps 474 secs
  375.  
  376.  ifInUnknownProtos (0 B) 0 Bps 474 secs
  377.  
  378.  ifInBroadcastPkts (0 B) 0 Bps 474 secs
  379.  
  380.  ifOutBroadcastPkts (0 B) 0 Bps 474 secs
  381.  
  382.  ifInMulticastPkts (0 B) 0 Bps 474 secs
  383.  
  384.  ifOutMulticastPkts (0 B) 0 Bps 474 secs
  385. bps(828.000bps/662.000bps)bytes(47.920kB/38.300kB)pkts(0.690pps/0.430pps)RRD[update /opt/librenms/rrd/10.0.10.4/port-id2543.rrd N:2523560923:3071171344:0:2:31505075:22687476:0:2355:0:0:0:U:U:U:U]
  386. [RRD Disabled]SQL[UPDATE `ports` set `poll_time` ='1514975580',`poll_prev` ='1514975106',`poll_period` ='474',`ifLastChange` ='0',`ifInOctets` ='2523560923',`ifInOctets_prev` ='2523511850',`ifInOctets_rate` ='103.52953586498',`ifInOctets_delta` ='49073',`ifOutOctets` ='3071171344',`ifOutOctets_prev` ='3071132127',`ifOutOctets_rate` ='82.736286919831',`ifOutOctets_delta` ='39217',`ifInErrors` ='0',`ifInErrors_prev` ='0',`ifInErrors_rate` ='0',`ifInErrors_delta` ='0',`ifOutErrors` ='2',`ifOutErrors_prev` ='2',`ifOutErrors_rate` ='0',`ifOutErrors_delta` ='0',`ifInUcastPkts` ='31505075',`ifInUcastPkts_prev` ='31504746',`ifInUcastPkts_rate` ='0.69409282700422',`ifInUcastPkts_delta` ='329',`ifOutUcastPkts` ='22687476',`ifOutUcastPkts_prev` ='22687272',`ifOutUcastPkts_rate` ='0.43037974683544',`ifOutUcastPkts_delta` ='204' WHERE `port_id` = '2543']
  387. SQL[UPDATE `ports_statistics` set `ifInNUcastPkts` ='0',`ifInNUcastPkts_prev` ='0',`ifInNUcastPkts_rate` ='0',`ifInNUcastPkts_delta` ='0',`ifOutNUcastPkts` ='2355',`ifOutNUcastPkts_prev` ='2355',`ifOutNUcastPkts_rate` ='0',`ifOutNUcastPkts_delta` ='0',`ifInDiscards` ='0',`ifInDiscards_prev` ='0',`ifInDiscards_rate` ='0',`ifInDiscards_delta` ='0',`ifOutDiscards` ='0',`ifOutDiscards_prev` ='0',`ifOutDiscards_rate` ='0',`ifOutDiscards_delta` ='0',`ifInUnknownProtos` ='0',`ifInUnknownProtos_prev` ='0',`ifInUnknownProtos_rate` ='0',`ifInUnknownProtos_delta` ='0',`ifInBroadcastPkts` ='0',`ifInBroadcastPkts_prev` ='0',`ifInBroadcastPkts_rate` ='0',`ifInBroadcastPkts_delta` ='0',`ifOutBroadcastPkts` ='0',`ifOutBroadcastPkts_prev` ='0',`ifOutBroadcastPkts_rate` ='0',`ifOutBroadcastPkts_delta` ='0',`ifInMulticastPkts` ='0',`ifInMulticastPkts_prev` ='0',`ifInMulticastPkts_rate` ='0',`ifInMulticastPkts_delta` ='0',`ifOutMulticastPkts` ='0',`ifOutMulticastPkts_prev` ='0',`ifOutMulticastPkts_rate` ='0',`ifOutMultica
  388. stPkts_delta` ='0' WHERE `port_id` = '2543']
  389. 1 updated
  390.  
  391. >> Runtime for poller module 'ports': 1.7343 seconds with 42712 bytes
  392. >> SNMP: [4/1.72s] MySQL: [5/0.01s] RRD: [0/0.00s]
  393. #### Unload poller module ports ####
  394.  
  395. RRD[update /opt/librenms/rrd/10.0.10.4/poller-perf-ports.rrd N:1.7342529296875]
  396. [RRD Disabled]Modules status: Global+ OS  Device  
  397. #### Load poller module bgp-peers ####
  398. SQL[SELECT * FROM bgpPeers WHERE device_id = '35']
  399.  
  400. >> Runtime for poller module 'bgp-peers': 0.0010 seconds with 1136 bytes
  401. >> SNMP: [0/0.00s] MySQL: [1/0.00s] RRD: [0/0.00s]
  402. #### Unload poller module bgp-peers ####
  403.  
  404. RRD[update /opt/librenms/rrd/10.0.10.4/poller-perf-bgp-peers.rrd N:0.00098085403442383]
  405. [RRD Disabled]Modules status: Global- OS  Device  Module [ junose-atm-vp ] disabled globally.
  406.  
  407. Modules status: Global- OS  Device  Module [ toner ] disabled globally.
  408.  
  409. Modules status: Global+ OS  Device  
  410. #### Load poller module ucd-diskio ####
  411. SQL[SELECT * FROM `ucd_diskio` WHERE `device_id`  = '35']
  412.  
  413. >> Runtime for poller module 'ucd-diskio': 0.0002 seconds with 2160 bytes
  414. >> SNMP: [0/0.00s] MySQL: [1/0.00s] RRD: [0/0.00s]
  415. #### Unload poller module ucd-diskio ####
  416.  
  417. RRD[update /opt/librenms/rrd/10.0.10.4/poller-perf-ucd-diskio.rrd N:0.00021910667419434]
  418. [RRD Disabled]Modules status: Global- OS  Device  Module [ wifi ] disabled globally.
  419.  
  420. Modules status: Global+ OS  Device  
  421. #### Load poller module wireless ####
  422. Attempting to initialize OS: generex-ups
  423. SQL[SELECT * FROM `wireless_sensors` WHERE `device_id` = '35']
  424.  
  425. >> Runtime for poller module 'wireless': 0.0013 seconds with 179264 bytes
  426. >> SNMP: [0/0.00s] MySQL: [1/0.00s] RRD: [0/0.00s]
  427. #### Unload poller module wireless ####
  428.  
  429. RRD[update /opt/librenms/rrd/10.0.10.4/poller-perf-wireless.rrd N:0.0013058185577393]
  430. [RRD Disabled]Modules status: Global+ OS- Device  Module [ ospf ] disabled on os.
  431.  
  432. Modules status: Global- OS  Device  Module [ cisco-ipsec-flow-monitor ] disabled globally.
  433.  
  434. Modules status: Global- OS  Device  Module [ cisco-remote-access-monitor ] disabled globally.
  435.  
  436. Modules status: Global- OS  Device  Module [ cisco-cef ] disabled globally.
  437.  
  438. Modules status: Global- OS  Device  Module [ cisco-sla ] disabled globally.
  439.  
  440. Modules status: Global- OS  Device  Module [ cisco-mac-accounting ] disabled globally.
  441.  
  442. Modules status: Global- OS  Device  Module [ cipsec-tunnels ] disabled globally.
  443.  
  444. Modules status: Global- OS  Device  Module [ cisco-ace-loadbalancer ] disabled globally.
  445.  
  446. Modules status: Global- OS  Device  Module [ cisco-ace-serverfarms ] disabled globally.
  447.  
  448. Modules status: Global- OS  Device  Module [ cisco-asa-firewall ] disabled globally.
  449.  
  450. Modules status: Global- OS  Device  Module [ cisco-voice ] disabled globally.
  451.  
  452. Modules status: Global- OS  Device  Module [ cisco-cbqos ] disabled globally.
  453.  
  454. Modules status: Global- OS  Device  Module [ cisco-otv ] disabled globally.
  455.  
  456. Modules status: Global- OS  Device  Module [ cisco-vpdn ] disabled globally.
  457.  
  458. Modules status: Global- OS  Device  Module [ netscaler-vsvr ] disabled globally.
  459.  
  460. Modules status: Global- OS  Device  Module [ aruba-controller ] disabled globally.
  461.  
  462. Modules status: Global+ OS  Device  
  463. #### Load poller module entity-physical ####
  464. SQL[SELECT * FROM `entPhysical_state` WHERE `device_id` = '35']
  465.  
  466. >> Runtime for poller module 'entity-physical': 0.0003 seconds with 2568 bytes
  467. >> SNMP: [0/0.00s] MySQL: [1/0.00s] RRD: [0/0.00s]
  468. #### Unload poller module entity-physical ####
  469.  
  470. RRD[update /opt/librenms/rrd/10.0.10.4/poller-perf-entity-physical.rrd N:0.0002589225769043]
  471. [RRD Disabled]Modules status: Global- OS  Device  Module [ entity-state ] disabled globally.
  472.  
  473. Modules status: Global+ OS  Device  
  474. #### Load poller module applications ####
  475. SQL[SELECT * FROM `applications` WHERE `device_id`  = '35']
  476.  
  477. >> Runtime for poller module 'applications': 0.0002 seconds with 2144 bytes
  478. >> SNMP: [0/0.00s] MySQL: [1/0.00s] RRD: [0/0.00s]
  479. #### Unload poller module applications ####
  480.  
  481. RRD[update /opt/librenms/rrd/10.0.10.4/poller-perf-applications.rrd N:0.00018811225891113]
  482. [RRD Disabled]Modules status: Global- OS  Device  Module [ mib ] disabled globally.
  483.  
  484. Modules status: Global+ OS  Device  
  485. #### Load poller module stp ####
  486. SQL[SELECT * FROM `stp` WHERE `device_id` = '35']
  487. SNMP[/usr/bin/snmpget -v2c -c COMMUNITY -Oqv -m RSTP-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 dot1dStpProtocolSpecification.0]
  488.  
  489.  
  490.  
  491. >> Runtime for poller module 'stp': 0.0132 seconds with 3176 bytes
  492. >> SNMP: [1/0.01s] MySQL: [1/0.00s] RRD: [0/0.00s]
  493. #### Unload poller module stp ####
  494.  
  495. RRD[update /opt/librenms/rrd/10.0.10.4/poller-perf-stp.rrd N:0.013240098953247]
  496. [RRD Disabled]Modules status: Global+ OS- Device  Module [ ntp ] disabled on os.
  497.  
  498. Modules status: Global+ OS- Device  Module [ services ] disabled on os.
  499.  
  500. Modules status: Global- OS  Device  Module [ loadbalancers ] disabled globally.
  501.  
  502. Modules status: Global- OS  Device  Module [ mef ] disabled globally.
  503.  
  504. ### Start Device Groups ###
  505. SQL[SELECT * FROM device_groups ORDER BY name]
  506. SQL[SELECT `device_group_id` FROM `device_group_device` WHERE `device_id`='35']
  507. Groups Added:
  508. Groups Removed:
  509. ### End Device Groups ###
  510. SQL[SELECT `graph` FROM `device_graphs` WHERE `device_id` = '35']
  511. uptime netstat_ip netstat_ip_frag netstat_tcp netstat_udp netstat_icmp netstat_icmp_info netstat_snmp netstat_snmp_pkt
  512. RRD[update /opt/librenms/rrd/10.0.10.4/ping-perf.rrd N:3.86]
  513. [RRD Disabled]RRD[update /opt/librenms/rrd/10.0.10.4/poller-perf.rrd N:4.599]
  514. [RRD Disabled]Polled in 4.599 seconds
  515. Updating 10.0.10.4
  516. SQL[UPDATE `devices` set `uptime` ='11984771',`last_ping` =NOW(),`last_ping_timetaken` ='3.86',`last_polled` =NOW(),`last_polled_timetaken` ='4.599' WHERE `device_id` = '35']
  517. UPDATED!
  518. #### Start Alerts ####
  519. SQL[SELECT `device_group_id` FROM `device_group_device` WHERE `device_id`='35']
  520. 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 = '35' ) && ((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]
  521. SQL[SELECT `device_group_id` FROM `device_group_device` WHERE `device_id`='35']
  522. 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 = '35' ) || alert_map.target = '35'  )]
  523. Rule #1 (Devices up/down):
  524. SQL[SELECT state FROM alerts WHERE rule_id = '1' && device_id = '35' ORDER BY id DESC LIMIT 1]
  525. SQL[SELECT * FROM devices WHERE (devices.device_id = '35') && (((devices.status = 0  &&  ((devices.disabled = 0  &&  devices.ignore = 0)))) = "1")]
  526. SQL[INSERT INTO `alert_log` (`state`,`device_id`,`rule_id`)  VALUES ('0','35','1')]
  527. SQL[UPDATE `alerts` set `state` ='0',`open` ='1' WHERE device_id = '35' && rule_id = '1']
  528.  
  529. Status: OK
  530. Rule #2 (Device rebooted):
  531. SQL[SELECT state FROM alerts WHERE rule_id = '2' && device_id = '35' ORDER BY id DESC LIMIT 1]
  532. SQL[SELECT * FROM devices WHERE (devices.device_id = '35') && (devices.uptime < "300"  &&  ((devices.disabled = 0  &&  devices.ignore = 0)) = "1")]
  533. Status: NOCHG
  534. Rule #3 (BGP Session down):
  535. SQL[SELECT state FROM alerts WHERE rule_id = '3' && device_id = '35' ORDER BY id DESC LIMIT 1]
  536. SQL[SELECT * FROM bgpPeers,devices WHERE (( devices.device_id = bgpPeers.device_id ) && bgpPeers.device_id = '35') && (bgpPeers.bgpPeerState != "established"  &&  ((devices.status = 1  &&  ((devices.disabled = 0  &&  devices.ignore = 0)))) = "1")]
  537. Status: NOCHG
  538. Rule #4 (BGP Session established):
  539. SQL[SELECT state FROM alerts WHERE rule_id = '4' && device_id = '35' ORDER BY id DESC LIMIT 1]
  540. SQL[SELECT * FROM bgpPeers,devices WHERE (( devices.device_id = bgpPeers.device_id ) && bgpPeers.device_id = '35') && (bgpPeers.bgpPeerFsmEstablishedTime < "300"  &&  bgpPeers.bgpPeerState = "established"  &&  ((devices.status = 1  &&  ((devices.disabled = 0  &&  devices.ignore = 0)))) = "1")]
  541. Status: NOCHG
  542. Rule #5 (Port status up/down):
  543. SQL[SELECT state FROM alerts WHERE rule_id = '5' && device_id = '35' ORDER BY id DESC LIMIT 1]
  544. SQL[SELECT * FROM ports WHERE (ports.device_id = '35') && (((ports.ifOperStatus = "down"  &&  ports.ifAdminStatus != "down"  &&  ((ports.deleted = 0  &&  ports.ignore = 0  &&  ports.disabled = 0)))) = "1"  )]
  545. Status: NOCHG
  546. Rule #6 (Port utilisation over threshold):
  547. SQL[SELECT state FROM alerts WHERE rule_id = '6' && device_id = '35' ORDER BY id DESC LIMIT 1]
  548. SQL[SELECT * FROM ports WHERE (ports.device_id = '35') && ((((ports.ifInOctets_rate*8) / ports.ifSpeed)*100) >= "80"  &&  ((ports.ifOperStatus = "up"  &&  ports.ifAdminStatus = "up"  &&  ((ports.deleted = 0  &&  ports.ignore = 0  &&  ports.disabled = 0)))) = "1"  &&  ((ports.deleted = 0  &&  ports.ignore = 0  &&  ports.disabled = 0)) = "1")]
  549. Status: NOCHG
  550. Rule #7 (Sensor over limit):
  551. SQL[SELECT state FROM alerts WHERE rule_id = '7' && device_id = '35' ORDER BY id DESC LIMIT 1]
  552. SQL[SELECT * FROM sensors,devices WHERE (( devices.device_id = sensors.device_id ) && sensors.device_id = '35') && (sensors.sensor_current > sensors.sensor_limit  &&  sensors.sensor_alert = "1"  &&  ((devices.status = 1  &&  ((devices.disabled = 0  &&  devices.ignore = 0)))) = "1")]
  553. Status: NOCHG
  554. Rule #8 (Sensor under limit):
  555. SQL[SELECT state FROM alerts WHERE rule_id = '8' && device_id = '35' ORDER BY id DESC LIMIT 1]
  556. SQL[SELECT * FROM sensors,devices WHERE (( devices.device_id = sensors.device_id ) && sensors.device_id = '35') && (sensors.sensor_current < sensors sensors.sensor_alert = "1" xss=removed xss=removed xss=removed rule_id = '9' device_id = '35' xss=removed services.device_id = '35' xss=removed xss=removed xss=removed rule_id = '10' device_id = '35' xss=removed wireless_sensors.device_id = '35'>= wireless_sensors.sensor_limit  &&  wireless_sensors.sensor_alert = "1"  &&  ((devices.status = 1  &&  ((devices.disabled = 0  &&  devices.ignore = 0)))) = "1")]
  557. Status: NOCHG
  558. Rule #11 (Wireless Sensor under limit):
  559. SQL[SELECT state FROM alerts WHERE rule_id = '11' && device_id = '35' ORDER BY id DESC LIMIT 1]
  560. SQL[SELECT * FROM wireless_sensors,devices WHERE (( devices.device_id = wireless_sensors.device_id ) && wireless_sensors.device_id = '35') && (wireless_sensors.sensor_current <= wireless_sensors.sensor_limit_low  &&  wireless_sensors.sensor_alert = "1"  &&  ((devices.status = 1  &&  ((devices.disabled = 0  &&  devices.ignore = 0)))) = "1")]
  561. Status: NOCHG
  562. #### End Alerts ####
  563. SQL[INSERT INTO `perf_times` (`type`,`doing`,`start`,`duration`,`devices`,`poller`)  VALUES ('poll','10.0.10.4','1514975575.9131','4.641','1','NMS')]
  564. /opt/librenms/poller.php 10.0.10.4 2018-01-03 11:33:00 - 1 devices polled in 4.641 secs
  565. SNMP [23/3.56s]: Get[15/0.91s] Getnext[0/0.00s] Walk[8/2.65s]
  566. MySQL [60/0.04s]: Cell[5/0.00s] Row[13/0.00s] Rows[30/0.01s] Column[3/0.00s] Update[5/0.01s] Insert[4/0.01s] Delete[0/0.00s]
  567. RRD [0/0.00s]: Update[0/0.00s] Create [0/0.00s] Other[0/0.00s]
  568.  
  569.