From Brandon, 6 Years ago, written in Plain Text.
Embed
  1. LibreNMS Poller
  2. ===================================
  3. Version info:
  4. Commit SHA: b1ec1d14f0f1230dee8096e8208ce523f299851f
  5. Commit Date: 1522321538
  6. DB Schema: 247
  7. PHP: 7.0.28-0ubuntu0.16.04.1
  8. MySQL: 10.0.34-MariaDB-0ubuntu0.16.04.1
  9. RRDTool: 1.5.5
  10. SNMP: NET-SNMP 5.7.3
  11. ==================================DEBUG!
  12. Updating os_def.cache... Done
  13. Starting polling run:
  14.  
  15. SQL[SELECT * FROM `devices` WHERE `disabled` = 0 AND `hostname` = '192.1.1.22' ORDER BY `device_id` ASC]
  16. SQL[SELECT * FROM devices_attribs WHERE `device_id` = '40']
  17. Hostname: 192.1.1.22
  18. Device ID: 40
  19. OS: hikvision
  20.  
  21. SQL[INSERT INTO `device_perf` (`xmt`,`rcv`,`loss`,`min`,`max`,`avg`,`device_id`,`timestamp`)  VALUES ('3','3','0','1.94','2.07','1.99','40',NOW())]
  22. SNMP Check response code: 0
  23. Modules status: Global+ OS  Device  
  24. #### Load poller module core ####
  25. SNMP[/usr/bin/snmpget -v2c -c COMMUNITY -OQnUt -m SNMPv2-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 sysUpTime.0 sysLocation.0 sysContact.0 sysName.0 sysObjectID.0 sysDescr.0]
  26. .*.*.0 = 87444984
  27. .*.*.0 =
  28. .*.*.0 =
  29. .*.*.0 =
  30. .*.*.0 = .*.4.1.50001
  31. .*.*.0 = Hikvision company products
  32.  
  33. 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]
  34. snmpEngineTime.0 = No Such Object available on this agent at this OID
  35. hrSystemUptime.0 = No Such Object available on this agent at this OID
  36.  
  37. Uptime seconds: 874450
  38. RRD[update 192.1.1.22/uptime.rrd N:874450 --daemon unix:/var/run/rrdcached.sock]
  39. [RRD Disabled]Uptime: 10 days, 2h 54m 10s
  40.  
  41. >> Runtime for poller module 'core': 0.0222 seconds with 15528 bytes
  42. >> SNMP: [2/0.02s] MySQL: [0/0.00s] RRD: [0/0.00s]
  43. #### Unload poller module core ####
  44.  
  45. RRD[update 192.1.1.22/poller-perf-core.rrd N:0.022202014923096 --daemon unix:/var/run/rrdcached.sock]
  46. [RRD Disabled]Modules status: Global- OS  Device  Module [ unix-agent ] disabled globally.
  47.  
  48. Modules status: Global+ OS  Device  
  49. #### Load poller module os ####
  50. SNMP[/usr/bin/snmpget -v2c -c COMMUNITY -OQv udp:HOSTNAME:161 .1.3.6.1.4.1.39165.1.3.0]
  51. No Such Object available on this agent at this OID
  52.  
  53. SNMP[/usr/bin/snmpget -v2c -c COMMUNITY -OQv udp:HOSTNAME:161 .1.3.6.1.4.1.39165.1.1.0]
  54. No Such Object available on this agent at this OID
  55.  
  56. Hardware:
  57. Version:
  58. Features:
  59. Serial:
  60.  
  61. >> Runtime for poller module 'os': 0.0152 seconds with 1864 bytes
  62. >> SNMP: [2/0.01s] MySQL: [0/0.00s] RRD: [0/0.00s]
  63. #### Unload poller module os ####
  64.  
  65. RRD[update 192.1.1.22/poller-perf-os.rrd N:0.01515793800354 --daemon unix:/var/run/rrdcached.sock]
  66. [RRD Disabled]Modules status: Global+ OS  Device  
  67. #### Load poller module ipmi ####
  68. SQL[SELECT * FROM sensors WHERE device_id = '40' AND poller_type='ipmi']
  69. Array
  70. (
  71. )
  72.  
  73. >> Runtime for poller module 'ipmi': 0.0008 seconds with 2384 bytes
  74. >> SNMP: [0/0.00s] MySQL: [1/0.00s] RRD: [0/0.00s]
  75. #### Unload poller module ipmi ####
  76.  
  77. RRD[update 192.1.1.22/poller-perf-ipmi.rrd N:0.00084090232849121 --daemon unix:/var/run/rrdcached.sock]
  78. [RRD Disabled]Modules status: Global+ OS  Device  
  79. #### Load poller module sensors ####
  80. SQL[SELECT `sensor_class` FROM `sensors` WHERE `device_id` = '40' GROUP BY `sensor_class`]
  81.  
  82. >> Runtime for poller module 'sensors': 0.0006 seconds with 1336 bytes
  83. >> SNMP: [0/0.00s] MySQL: [1/0.00s] RRD: [0/0.00s]
  84. #### Unload poller module sensors ####
  85.  
  86. RRD[update 192.1.1.22/poller-perf-sensors.rrd N:0.00061893463134766 --daemon unix:/var/run/rrdcached.sock]
  87. [RRD Disabled]Modules status: Global+ OS  Device  
  88. #### Load poller module processors ####
  89. Attempting to initialize OS: hikvision
  90. OS initilized as Generic
  91. SQL[SELECT * FROM processors WHERE device_id='40']
  92.  
  93. >> Runtime for poller module 'processors': 0.0024 seconds with 155608 bytes
  94. >> SNMP: [0/0.00s] MySQL: [1/0.00s] RRD: [0/0.00s]
  95. #### Unload poller module processors ####
  96.  
  97. RRD[update 192.1.1.22/poller-perf-processors.rrd N:0.0023670196533203 --daemon unix:/var/run/rrdcached.sock]
  98. [RRD Disabled]Modules status: Global+ OS  Device  
  99. #### Load poller module mempools ####
  100. SQL[SELECT * FROM mempools WHERE device_id = '40']
  101.  
  102. >> Runtime for poller module 'mempools': 0.0009 seconds with 1760 bytes
  103. >> SNMP: [0/0.00s] MySQL: [1/0.00s] RRD: [0/0.00s]
  104. #### Unload poller module mempools ####
  105.  
  106. RRD[update 192.1.1.22/poller-perf-mempools.rrd N:0.00088214874267578 --daemon unix:/var/run/rrdcached.sock]
  107. [RRD Disabled]Modules status: Global+ OS  Device  
  108. #### Load poller module storage ####
  109. SQL[SELECT * FROM storage WHERE device_id = '40']
  110.  
  111. >> Runtime for poller module 'storage': 0.0005 seconds with 1824 bytes
  112. >> SNMP: [0/0.00s] MySQL: [1/0.00s] RRD: [0/0.00s]
  113. #### Unload poller module storage ####
  114.  
  115. RRD[update 192.1.1.22/poller-perf-storage.rrd N:0.00045204162597656 --daemon unix:/var/run/rrdcached.sock]
  116. [RRD Disabled]Modules status: Global+ OS  Device  
  117. #### Load poller module netstats ####
  118.  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]
  119. ipForwDatagrams.0 = No Such Object available on this agent at this OID
  120. ipInDelivers.0 = No Such Object available on this agent at this OID
  121. ipInReceives.0 = No Such Object available on this agent at this OID
  122. ipOutRequests.0 = No Such Object available on this agent at this OID
  123. ipInDiscards.0 = No Such Object available on this agent at this OID
  124. ipOutDiscards.0 = No Such Object available on this agent at this OID
  125. ipOutNoRoutes.0 = No Such Object available on this agent at this OID
  126. ipReasmReqds.0 = No Such Object available on this agent at this OID
  127. ipReasmOKs.0 = No Such Object available on this agent at this OID
  128. ipReasmFails.0 = No Such Object available on this agent at this OID
  129. ipFragOKs.0 = No Such Object available on this agent at this OID
  130. ipFragFails.0 = No Such Object available on this agent at this OID
  131. ipFragCreates.0 = No Such Object available on this agent at this OID
  132. ipInUnknownProtos.0 = No Such Object available on this agent at this OID
  133. ipInHdrErrors.0 = No Such Object available on this agent at this OID
  134. ipInAddrErrors.0 = No Such Object available on this agent at this OID
  135.  
  136.  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]
  137. tcpActiveOpens.0 = No Such Object available on this agent at this OID
  138. tcpPassiveOpens.0 = No Such Object available on this agent at this OID
  139. tcpAttemptFails.0 = No Such Object available on this agent at this OID
  140. tcpEstabResets.0 = No Such Object available on this agent at this OID
  141. tcpCurrEstab.0 = No Such Object available on this agent at this OID
  142. tcpInSegs.0 = No Such Object available on this agent at this OID
  143. tcpOutSegs.0 = No Such Object available on this agent at this OID
  144. tcpRetransSegs.0 = No Such Object available on this agent at this OID
  145. tcpInErrs.0 = No Such Object available on this agent at this OID
  146. tcpOutRsts.0 = No Such Object available on this agent at this OID
  147. tcpHCInSegs.0 = No Such Object available on this agent at this OID
  148. tcpHCOutSegs.0 = No Such Object available on this agent at this OID
  149.  
  150.  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]
  151. udpInDatagrams.0 = No Such Object available on this agent at this OID
  152. udpOutDatagrams.0 = No Such Object available on this agent at this OID
  153. udpInErrors.0 = No Such Object available on this agent at this OID
  154. udpNoPorts.0 = No Such Object available on this agent at this OID
  155.  
  156.  ICMPSNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m IP-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 icmp]
  157. icmp = No Such Object available on this agent at this OID
  158.  
  159.  SNMPSNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m SNMPv2-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 snmp]
  160. snmp = No Such Object available on this agent at this OID
  161.  
  162.  IP-FORWARDSNMP[/usr/bin/snmpget -v2c -c COMMUNITY -OQv -M /opt/librenms/mibs udp:HOSTNAME:161 IP-FORWARD-MIB::ipCidrRouteNumber.0]
  163. No Such Object available on this agent at this OID
  164.  
  165.  
  166.  
  167. >> Runtime for poller module 'netstats': 0.1026 seconds with 14808 bytes
  168. >> SNMP: [6/0.10s] MySQL: [0/0.00s] RRD: [0/0.00s]
  169. #### Unload poller module netstats ####
  170.  
  171. RRD[update 192.1.1.22/poller-perf-netstats.rrd N:0.10262012481689 --daemon unix:/var/run/rrdcached.sock]
  172. [RRD Disabled]Modules status: Global+ OS  Device  
  173. #### Load poller module hr-mib ####
  174. SNMP[/usr/bin/snmpget -v2c -c COMMUNITY -OUQs -m HOST-RESOURCES-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 hrSystemProcesses.0 hrSystemNumUsers.0]
  175. hrSystemProcesses.0 = No Such Object available on this agent at this OID
  176. hrSystemNumUsers.0 = No Such Object available on this agent at this OID
  177.  
  178.  
  179.  
  180. >> Runtime for poller module 'hr-mib': 0.0270 seconds with 1584 bytes
  181. >> SNMP: [1/0.03s] MySQL: [0/0.00s] RRD: [0/0.00s]
  182. #### Unload poller module hr-mib ####
  183.  
  184. RRD[update 192.1.1.22/poller-perf-hr-mib.rrd N:0.026962041854858 --daemon unix:/var/run/rrdcached.sock]
  185. [RRD Disabled]Modules status: Global+ OS  Device  
  186. #### Load poller module ucd-mib ####
  187. SNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m UCD-SNMP-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 systemStats]
  188. systemStats = No Such Object available on this agent at this OID
  189.  
  190. 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]
  191. memTotalSwap.0 = No Such Object available on this agent at this OID
  192. memAvailSwap.0 = No Such Object available on this agent at this OID
  193. memTotalReal.0 = No Such Object available on this agent at this OID
  194. memAvailReal.0 = No Such Object available on this agent at this OID
  195. memTotalFree.0 = No Such Object available on this agent at this OID
  196. memShared.0 = No Such Object available on this agent at this OID
  197. memBuffer.0 = No Such Object available on this agent at this OID
  198. memCached.0 = No Such Object available on this agent at this OID
  199.  
  200. 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]
  201. laLoadInt.1 = No Such Object available on this agent at this OID
  202. laLoadInt.2 = No Such Object available on this agent at this OID
  203. laLoadInt.3 = No Such Object available on this agent at this OID
  204.  
  205.  
  206. >> Runtime for poller module 'ucd-mib': 0.0475 seconds with 2832 bytes
  207. >> SNMP: [3/0.05s] MySQL: [0/0.00s] RRD: [0/0.00s]
  208. #### Unload poller module ucd-mib ####
  209.  
  210. RRD[update 192.1.1.22/poller-perf-ucd-mib.rrd N:0.047451972961426 --daemon unix:/var/run/rrdcached.sock]
  211. [RRD Disabled]Modules status: Global+ OS  Device  
  212. #### Load poller module ipSystemStats ####
  213. SNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m IP-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 ipSystemStats]
  214. ipSystemStatsTable = No Such Object available on this agent at this OID
  215.  
  216.  
  217.  
  218. >> Runtime for poller module 'ipSystemStats': 0.0244 seconds with 1920 bytes
  219. >> SNMP: [1/0.02s] MySQL: [0/0.00s] RRD: [0/0.00s]
  220. #### Unload poller module ipSystemStats ####
  221.  
  222. RRD[update 192.1.1.22/poller-perf-ipSystemStats.rrd N:0.024363994598389 --daemon unix:/var/run/rrdcached.sock]
  223. [RRD Disabled]Modules status: Global+ OS  Device  
  224. #### Load poller module ports ####
  225. Caching Oids: SNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m IF-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 ifXEntry]
  226. ifXEntry = No Such Object available on this agent at this OID
  227.  
  228. SNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUst -m IF-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 ifEntry]
  229. ifEntry = No Such Object available on this agent at this OID
  230.  
  231. dot3StatsDuplexStatusSNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m EtherLike-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 dot3StatsDuplexStatus]
  232. dot3StatsDuplexStatus = No Such Object available on this agent at this OID
  233.  
  234. SQL[SELECT COUNT(*) FROM `ports` WHERE `device_id` = '40' AND `ifType` = 'adsl']
  235. SNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m Q-BRIDGE-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 dot1qPvid]
  236. dot1qPvid = No Such Object available on this agent at this OID
  237.  
  238. Array
  239. (
  240. )
  241. SQL[SELECT `name` FROM `port_association_mode` WHERE pom_id = '1']
  242. 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` = '40' ORDER BY ports.port_id]
  243.  
  244.  
  245. >> Runtime for poller module 'ports': 0.0899 seconds with 24936 bytes
  246. >> SNMP: [4/0.09s] MySQL: [3/0.00s] RRD: [0/0.00s]
  247. #### Unload poller module ports ####
  248.  
  249. RRD[update 192.1.1.22/poller-perf-ports.rrd N:0.089884996414185 --daemon unix:/var/run/rrdcached.sock]
  250. [RRD Disabled]Modules status: Global+ OS  Device  
  251. #### Load poller module bgp-peers ####
  252. SQL[SELECT * FROM bgpPeers WHERE device_id = '40']
  253.  
  254. >> Runtime for poller module 'bgp-peers': 0.0014 seconds with 10176 bytes
  255. >> SNMP: [0/0.00s] MySQL: [1/0.00s] RRD: [0/0.00s]
  256. #### Unload poller module bgp-peers ####
  257.  
  258. RRD[update 192.1.1.22/poller-perf-bgp-peers.rrd N:0.0013589859008789 --daemon unix:/var/run/rrdcached.sock]
  259. [RRD Disabled]Modules status: Global- OS  Device  Module [ junose-atm-vp ] disabled globally.
  260.  
  261. Modules status: Global- OS  Device  Module [ toner ] disabled globally.
  262.  
  263. Modules status: Global+ OS  Device  
  264. #### Load poller module ucd-diskio ####
  265. SQL[SELECT * FROM `ucd_diskio` WHERE `device_id`  = '40']
  266.  
  267. >> Runtime for poller module 'ucd-diskio': 0.0005 seconds with 1856 bytes
  268. >> SNMP: [0/0.00s] MySQL: [1/0.00s] RRD: [0/0.00s]
  269. #### Unload poller module ucd-diskio ####
  270.  
  271. RRD[update 192.1.1.22/poller-perf-ucd-diskio.rrd N:0.00051307678222656 --daemon unix:/var/run/rrdcached.sock]
  272. [RRD Disabled]Modules status: Global- OS  Device  Module [ wifi ] disabled globally.
  273.  
  274. Modules status: Global+ OS  Device  
  275. #### Load poller module wireless ####
  276. Attempting to initialize OS: hikvision
  277. OS initilized as Generic
  278. SQL[SELECT * FROM `wireless_sensors` WHERE `device_id` = '40']
  279.  
  280. >> Runtime for poller module 'wireless': 0.0016 seconds with 98760 bytes
  281. >> SNMP: [0/0.00s] MySQL: [1/0.00s] RRD: [0/0.00s]
  282. #### Unload poller module wireless ####
  283.  
  284. RRD[update 192.1.1.22/poller-perf-wireless.rrd N:0.0016210079193115 --daemon unix:/var/run/rrdcached.sock]
  285. [RRD Disabled]Modules status: Global+ OS  Device  
  286. #### Load poller module ospf ####
  287. Processes: SQL[SELECT * FROM `ospf_instances` WHERE `device_id` = '40' AND `context_name` = '']
  288. SNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m OSPF-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 OSPF-MIB::ospfGeneralGroup]
  289. ospfGeneralGroup = No Such Object available on this agent at this OID
  290.  
  291.  
  292. Polled: Array
  293. (
  294. )
  295. Database:  Areas: SQL[SELECT * FROM `ospf_areas` WHERE `device_id` = '40' AND `context_name`= '']
  296. SNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m OSPF-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 OSPF-MIB::ospfAreaEntry]
  297. ospfAreaEntry = No Such Object available on this agent at this OID
  298.  
  299.  
  300. Polled: Array
  301. (
  302. )
  303. Database:  Ports: SQL[SELECT * FROM `ospf_ports` WHERE `device_id` = '40' AND `context_name` = '']
  304. SNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m OSPF-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 OSPF-MIB::ospfIfEntry]
  305. ospfIfEntry = No Such Object available on this agent at this OID
  306.  
  307.  
  308. Polled: Array
  309. (
  310. )
  311. Database:  Neighbours: SQL[SELECT * FROM `ospf_nbrs` WHERE `device_id` = '40' AND `context_name` = '']
  312. SNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m OSPF-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 OSPF-MIB::ospfNbrEntry]
  313. ospfNbrEntry = No Such Object available on this agent at this OID
  314.  
  315.  
  316. Polled: Array
  317. (
  318. )
  319. Database:
  320. RRD[update 192.1.1.22/ospf-statistics.rrd N:0:0:0:0 --daemon unix:/var/run/rrdcached.sock]
  321. [RRD Disabled]
  322.  
  323. >> Runtime for poller module 'ospf': 0.0849 seconds with 6992 bytes
  324. >> SNMP: [4/0.08s] MySQL: [4/0.00s] RRD: [0/0.00s]
  325. #### Unload poller module ospf ####
  326.  
  327. RRD[update 192.1.1.22/poller-perf-ospf.rrd N:0.084932088851929 --daemon unix:/var/run/rrdcached.sock]
  328. [RRD Disabled]Modules status: Global- OS  Device  Module [ cisco-ipsec-flow-monitor ] disabled globally.
  329.  
  330. Modules status: Global- OS  Device  Module [ cisco-remote-access-monitor ] disabled globally.
  331.  
  332. Modules status: Global- OS  Device  Module [ cisco-cef ] disabled globally.
  333.  
  334. Modules status: Global- OS  Device  Module [ cisco-sla ] disabled globally.
  335.  
  336. Modules status: Global- OS  Device  Module [ cisco-mac-accounting ] disabled globally.
  337.  
  338. Modules status: Global- OS  Device  Module [ cipsec-tunnels ] disabled globally.
  339.  
  340. Modules status: Global- OS  Device  Module [ cisco-ace-loadbalancer ] disabled globally.
  341.  
  342. Modules status: Global- OS  Device  Module [ cisco-ace-serverfarms ] disabled globally.
  343.  
  344. Modules status: Global- OS  Device  Module [ cisco-asa-firewall ] disabled globally.
  345.  
  346. Modules status: Global- OS  Device  Module [ cisco-voice ] disabled globally.
  347.  
  348. Modules status: Global- OS  Device  Module [ cisco-cbqos ] disabled globally.
  349.  
  350. Modules status: Global- OS  Device  Module [ cisco-otv ] disabled globally.
  351.  
  352. Modules status: Global- OS  Device  Module [ cisco-vpdn ] disabled globally.
  353.  
  354. Modules status: Global- OS  Device  Module [ netscaler-vsvr ] disabled globally.
  355.  
  356. Modules status: Global- OS  Device  Module [ aruba-controller ] disabled globally.
  357.  
  358. Modules status: Global+ OS  Device  
  359. #### Load poller module entity-physical ####
  360. SQL[SELECT * FROM `entPhysical_state` WHERE `device_id` = '40']
  361.  
  362. >> Runtime for poller module 'entity-physical': 0.0018 seconds with 2072 bytes
  363. >> SNMP: [0/0.00s] MySQL: [1/0.00s] RRD: [0/0.00s]
  364. #### Unload poller module entity-physical ####
  365.  
  366. RRD[update 192.1.1.22/poller-perf-entity-physical.rrd N:0.001845121383667 --daemon unix:/var/run/rrdcached.sock]
  367. [RRD Disabled]Modules status: Global- OS  Device  Module [ entity-state ] disabled globally.
  368.  
  369. Modules status: Global+ OS  Device  
  370. #### Load poller module applications ####
  371. SQL[SELECT * FROM `applications` WHERE `device_id`  = '40']
  372.  
  373. >> Runtime for poller module 'applications': 0.0025 seconds with 1496 bytes
  374. >> SNMP: [0/0.00s] MySQL: [1/0.00s] RRD: [0/0.00s]
  375. #### Unload poller module applications ####
  376.  
  377. RRD[update 192.1.1.22/poller-perf-applications.rrd N:0.0024709701538086 --daemon unix:/var/run/rrdcached.sock]
  378. [RRD Disabled]Modules status: Global- OS  Device  Module [ mib ] disabled globally.
  379.  
  380. Modules status: Global+ OS  Device  
  381. #### Load poller module stp ####
  382. SQL[SELECT * FROM `stp` WHERE `device_id` = '40']
  383. SNMP[/usr/bin/snmpget -v2c -c COMMUNITY -Oqv -m RSTP-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 dot1dStpProtocolSpecification.0]
  384. No Such Object available on this agent at this OID
  385.  
  386.  
  387.  
  388. >> Runtime for poller module 'stp': 0.0143 seconds with 5736 bytes
  389. >> SNMP: [1/0.01s] MySQL: [1/0.00s] RRD: [0/0.00s]
  390. #### Unload poller module stp ####
  391.  
  392. RRD[update 192.1.1.22/poller-perf-stp.rrd N:0.014319896697998 --daemon unix:/var/run/rrdcached.sock]
  393. [RRD Disabled]Modules status: Global+ OS  Device  
  394. #### Load poller module ntp ####
  395.  
  396. >> Runtime for poller module 'ntp': 0.0002 seconds with 192 bytes
  397. >> SNMP: [0/0.00s] MySQL: [0/0.00s] RRD: [0/0.00s]
  398. #### Unload poller module ntp ####
  399.  
  400. RRD[update 192.1.1.22/poller-perf-ntp.rrd N:0.00022697448730469 --daemon unix:/var/run/rrdcached.sock]
  401. [RRD Disabled]Modules status: Global+ OS  Device  
  402. #### Load poller module services ####
  403.  
  404. >> Runtime for poller module 'services': 0.0000 seconds with 0 bytes
  405. >> SNMP: [0/0.00s] MySQL: [0/0.00s] RRD: [0/0.00s]
  406. #### Unload poller module services ####
  407.  
  408. RRD[update 192.1.1.22/poller-perf-services.rrd N:3.6954879760742E-5 --daemon unix:/var/run/rrdcached.sock]
  409. [RRD Disabled]Modules status: Global- OS  Device  Module [ loadbalancers ] disabled globally.
  410.  
  411. Modules status: Global- OS  Device  Module [ mef ] disabled globally.
  412.  
  413. ### Start Device Groups ###
  414. SQL[SELECT * FROM device_groups ORDER BY name]
  415. SQL[SELECT `device_group_id` FROM `device_group_device` WHERE `device_id`='40']
  416. Groups Added:
  417. Groups Removed:
  418. ### End Device Groups ###
  419. SQL[SELECT `graph` FROM `device_graphs` WHERE `device_id` = '40']
  420. uptime
  421. RRD[update 192.1.1.22/ping-perf.rrd N:1.99 --daemon unix:/var/run/rrdcached.sock]
  422. [RRD Disabled]RRD[update 192.1.1.22/poller-perf.rrd N:1.498 --daemon unix:/var/run/rrdcached.sock]
  423. [RRD Disabled]Polled in 1.498 seconds
  424. Updating 192.1.1.22
  425. SQL[UPDATE `devices` set `uptime` ='874450',`last_ping` =NOW(),`last_ping_timetaken` ='1.99',`last_polled` =NOW(),`last_polled_timetaken` ='1.498' WHERE `device_id` = '40']
  426. UPDATED!
  427. #### Start Alerts ####
  428. SQL[SELECT `device_group_id` FROM `device_group_device` WHERE `device_id`='40']
  429. 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 = '40' ) && ((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]
  430. SQL[SELECT DISTINCT a.* FROM alert_rules a  LEFT JOIN alert_device_map d ON a.id=d.rule_id  LEFT JOIN alert_group_map g ON a.id=g.rule_id  LEFT JOIN device_group_device dg ON g.group_id=dg.device_group_id  WHERE a.disabled = 0 AND ((d.device_id IS NULL AND g.group_id IS NULL) OR d.device_id='40' OR dg.device_id='40')]
  431. Rule #1 (Devices up/down):
  432. SQL[SELECT state FROM alerts WHERE rule_id = '1' && device_id = '40' ORDER BY id DESC LIMIT 1]
  433. SQL[SELECT * FROM devices WHERE (devices.device_id = '40') && (((devices.status = 0  &&  ((devices.disabled = 0  &&  devices.ignore = 0)))) = "1")]
  434. Status: NOCHG
  435. Rule #2 (Device rebooted):
  436. SQL[SELECT state FROM alerts WHERE rule_id = '2' && device_id = '40' ORDER BY id DESC LIMIT 1]
  437. SQL[SELECT * FROM devices WHERE (devices.device_id = '40') && (devices.uptime < "300"  &&  ((devices.disabled = 0  &&  devices.ignore = 0)) = "1")]
  438. Status: NOCHG
  439. Rule #3 (BGP Session down):
  440. SQL[SELECT state FROM alerts WHERE rule_id = '3' && device_id = '40' ORDER BY id DESC LIMIT 1]
  441. SQL[SELECT * FROM bgpPeers,devices WHERE (( devices.device_id = bgpPeers.device_id ) && bgpPeers.device_id = '40') && (bgpPeers.bgpPeerState != "established"  &&  ((devices.status = 1  &&  ((devices.disabled = 0  &&  devices.ignore = 0)))) = "1")]
  442. Status: NOCHG
  443. Rule #4 (BGP Session established):
  444. SQL[SELECT state FROM alerts WHERE rule_id = '4' && device_id = '40' ORDER BY id DESC LIMIT 1]
  445. SQL[SELECT * FROM bgpPeers WHERE (bgpPeers.device_id = '40') && (bgpPeers.bgpPeerFsmEstablishedTime < "300"  &&  bgpPeers.bgpPeerState = "established")]
  446. Status: NOCHG
  447. Rule #5 (Port status up/down):
  448. SQL[SELECT state FROM alerts WHERE rule_id = '5' && device_id = '40' ORDER BY id DESC LIMIT 1]
  449. SQL[SELECT * FROM ports WHERE (ports.device_id = '40') && (((ports.ifOperStatus = "down"  &&  ports.ifAdminStatus != "down"  &&  ((ports.deleted = 0  &&  ports.ignore = 0  &&  ports.disabled = 0)))) = "1")]
  450. Status: NOCHG
  451. Rule #6 (Port utilisation over threshold):
  452. SQL[SELECT state FROM alerts WHERE rule_id = '6' && device_id = '40' ORDER BY id DESC LIMIT 1]
  453. SQL[SELECT * FROM ports WHERE (ports.device_id = '40') && ((((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")]
  454. Status: NOCHG
  455. Rule #7 (Sensor over limit):
  456. SQL[SELECT state FROM alerts WHERE rule_id = '7' && device_id = '40' ORDER BY id DESC LIMIT 1]
  457. SQL[SELECT * FROM sensors WHERE (sensors.device_id = '40') && (sensors.sensor_current > sensors.sensor_limit  &&  sensors.sensor_alert = "1")]
  458. Status: NOCHG
  459. Rule #8 (Sensor under limit):
  460. SQL[SELECT state FROM alerts WHERE rule_id = '8' && device_id = '40' ORDER BY id DESC LIMIT 1]
  461. SQL[SELECT * FROM sensors WHERE (sensors.device_id = '40') && (sensors.sensor_current &lt; sensors.sensor_limit_low  &&  sensors.sensor_alert = "1")]
  462. Status: NOCHG
  463. #### End Alerts ####
  464. SQL[INSERT INTO `perf_times` (`type`,`doing`,`start`,`duration`,`devices`,`poller`)  VALUES ('poll','192.1.1.22','1522356732.4538','1.844','1','librenms')]
  465. /opt/librenms/poller.php 192.1.1.22 2018-03-29 20:52:14 - 1 devices polled in 1.844 secs
  466. SNMP [25/0.42s]: Get[13/0.18s] Getnext[0/0.00s] Walk[12/0.24s]
  467. MySQL [49/0.04s]: Cell[5/0.00s] Row[9/0.00s] Rows[30/0.02s] Column[2/0.00s] Update[1/0.00s] Insert[2/0.01s] Delete[0/0.00s]
  468. RRD [0/0.00s]: Update[0/0.00s] Create [0/0.00s] Other[0/0.00s]
  469.  
  470.