From Hien The Nguy, 6 Years ago, written in Plain Text.
Embed
  1. $ ./poller.php -h camtifdp00157.company.com  -r -f -d
  2. LibreNMS Poller
  3. ===================================
  4. Version info:
  5. Commit SHA: 9dbb6c32628db80ec4faf8d8247c8749d2ba68b2
  6. Commit Date: 1499991479
  7. DB Schema: 199
  8. PHP: 7.0.18-0ubuntu0.16.04.1
  9. MySQL: 10.0.29-MariaDB-0ubuntu0.16.04.1
  10. RRDTool: 1.5.5
  11. SNMP: NET-SNMP 5.7.3
  12. ==================================DEBUG!
  13. Starting polling run:
  14.  
  15. SQL[SELECT * FROM `devices` WHERE `disabled` = 0 AND `hostname` = 'camtifdp00157.company.com' ORDER BY `device_id` ASC]
  16. SQL[SELECT * FROM devices_attribs WHERE `device_id` = '971']
  17. Hostname: camtifdp00157.company.com
  18. Device ID: 971
  19. OS: linux (unix)
  20.  
  21. SQL[INSERT INTO `device_perf` (`xmt`,`rcv`,`loss`,`min`,`max`,`avg`,`device_id`,`timestamp`)  VALUES ('3','3','0','2.11','5.33','3.23','971',NOW())]
  22. SNMP Check response code: 0
  23. SNMP[/usr/bin/snmpget -v2c -c COMMUNITY -OQnUst -m SNMPv2-MIB:HOST-RESOURCES-MIB:SNMP-FRAMEWORK-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/supermicro:/opt/librenms/mibs/dell udp:HO                                                 STNAME:161 sysUpTime.0 sysLocation.0 sysContact.0 sysName.0 sysObjectID.0]
  24. sysUpTime.0 = 24676667
  25. sysLocation.0 = Unknown
  26. sysContact.0 = z92366@@no.where
  27. sysName.0 = ES_Controller
  28. sysObjectID.0 = enterprises.6302.2.1
  29.  
  30. SNMP[/usr/bin/snmpget -v2c -c COMMUNITY -OvQ -m SNMPv2-MIB:HOST-RESOURCES-MIB:SNMP-FRAMEWORK-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/supermicro:/opt/librenms/mibs/dell udp:HOSTN                                                 AME:161 sysDescr.0]
  31. Linux ES_Controller *-419-g12a78a3 #267 PREEMPT Fri Aug 15 15:19:49 CDT 2014 armv5tejl
  32.  
  33. SNMP[/usr/bin/snmpget -v2c -c COMMUNITY -OQnUst -m HOST-RESOURCES-MIB:SNMP-FRAMEWORK-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/supermicro:/opt/librenms/mibs/dell udp:HOSTNAME:161                                                  snmpEngineTime.0 hrSystemUptime.0]
  34. snmpEngineTime.0 = 12116763
  35. hrSystemUptime.0 = No Such Object available on this agent at this OID
  36.  
  37. Uptime seconds: 12116763
  38. RRD[last camtifdp00157.company.com/uptime.rrd  --daemon unix:/var/run/rrdcached.sock]
  39. RRD[update camtifdp00157.company.com/uptime.rrd N:12116763 --daemon unix:/var/run/rrdcached.sock]
  40. [RRD Disabled]Uptime: 140 days, 5h 46m 3s
  41. SQL[SELECT `lat`,`lng` FROM `locations` WHERE `location`='Unknown' LIMIT 1]
  42. Using cached lat/lng from other device
  43. Modules status: Global- OS  Device  Module [ unix-agent ] disabled globally.
  44.  
  45. Modules status: Global+ OS  Device
  46. #### Load poller module os ####
  47. SNMP[/usr/bin/snmpget -v2c -c COMMUNITY -Oqv -m NET-SNMP-EXTEND-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/supermicro:/opt/librenms/mibs/dell udp:HOSTNAME:161 .1.3.6.1.4.1.8072.1.3                                                 .2.3.1.1.6.100.105.115.116.114.111]
  48. No Such Object available on this agent at this OID
  49.  
  50. SNMP[/usr/bin/snmpget -v2c -c COMMUNITY -Oqv -m UCD-SNMP-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/supermicro:/opt/librenms/mibs/dell udp:HOSTNAME:161 .1.3.6.1.4.1.2021.7890.1.3.1                                                 .1.6.100.105.115.116.114.111]
  51. No Such Object available on this agent at this OID
  52.  
  53. SNMP[/usr/bin/snmpget -v2c -c COMMUNITY -Oqv -m UCD-SNMP-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/supermicro:/opt/librenms/mibs/dell udp:HOSTNAME:161 .1.3.6.1.4.1.2021.7890.1.101                                                 .1]
  54. No Such Object available on this agent at this OID
  55.  
  56. SNMP[/usr/bin/snmpget -v2c -c COMMUNITY -Oqv -m MIB-Dell-10892 -M /opt/librenms/mibs:/opt/librenms/mibs/supermicro:/opt/librenms/mibs/dell udp:HOSTNAME:161 .1.3.6.1.4.1.674.10892.1.3                                                 00.10.1.9.1]
  57. No Such Object available on this agent at this OID
  58.  
  59. SNMP[/usr/bin/snmpget -v2c -c COMMUNITY -Oqv -m CPQSINFO-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/supermicro:/opt/librenms/mibs/dell:/opt/librenms/mibs/hp udp:HOSTNAME:161 cpqSiP                                                 roductName.0]
  60. No Such Object available on this agent at this OID
  61.  
  62. SNMP[/usr/bin/snmpget -v2c -c COMMUNITY -Oqv -M /opt/librenms/mibs:/opt/librenms/mibs/supermicro:/opt/librenms/mibs/dell udp:HOSTNAME:161 .1.3.6.1.4.1.2021.7890.2.4.1.2.8.104.97.114.                                                 100.119.97.114.101.1]
  63. No Such Object available on this agent at this OID
  64.  
  65. SNMP[/usr/bin/snmpget -v2c -c COMMUNITY -Oqv -M /opt/librenms/mibs:/opt/librenms/mibs/supermicro:/opt/librenms/mibs/dell udp:HOSTNAME:161 .1.3.6.1.4.1.2021.7890.3.4.1.2.12.109.97.110                                                 .117.102.97.99.116.117.114.101.114.1]
  66. No Such Object available on this agent at this OID
  67.  
  68. SNMP[/usr/bin/snmpget -v2c -c COMMUNITY -Oqv -m MIB-Dell-10892 -M /opt/librenms/mibs:/opt/librenms/mibs/supermicro:/opt/librenms/mibs/dell udp:HOSTNAME:161 .1.3.6.1.4.1.674.10892.1.3                                                 00.10.1.11.1]
  69. No Such Object available on this agent at this OID
  70.  
  71. SNMP[/usr/bin/snmpget -v2c -c COMMUNITY -Oqv -M /opt/librenms/mibs:/opt/librenms/mibs/supermicro:/opt/librenms/mibs/dell udp:HOSTNAME:161 .1.3.6.1.4.1.2021.7890.4.4.1.2.6.115.101.114                                                 .105.97.108.1]
  72. No Such Object available on this agent at this OID
  73.  
  74. Hardware: Generic ARMv5
  75. Version: 2.6.27.18-419-g12a78a3
  76. Features:
  77. Serial:
  78.  
  79. >> Runtime for poller module 'os': 0.2248 seconds with 3912 bytes
  80. #### Unload poller module os ####
  81.  
  82. RRD[last camtifdp00157.company.com/poller-perf-os.rrd  --daemon unix:/var/run/rrdcached.sock]
  83. RRD[update camtifdp00157.company.com/poller-perf-os.rrd N:0.22477722167969 --daemon unix:/var/run/rrdcached.sock]
  84. [RRD Disabled]Modules status: Global+ OS  Device
  85. #### Load poller module ipmi ####
  86. SQL[SELECT * FROM sensors WHERE device_id = '971' AND poller_type='ipmi']
  87. Array
  88. (
  89. )
  90.  
  91. >> Runtime for poller module 'ipmi': 0.0016 seconds with 1352 bytes
  92. #### Unload poller module ipmi ####
  93.  
  94. RRD[last camtifdp00157.company.com/poller-perf-ipmi.rrd  --daemon unix:/var/run/rrdcached.sock]
  95. RRD[update camtifdp00157.company.com/poller-perf-ipmi.rrd N:0.0016248226165771 --daemon unix:/var/run/rrdcached.sock]
  96. [RRD Disabled]Modules status: Global+ OS  Device
  97. #### Load poller module sensors ####
  98. SQL[SELECT `sensor_class` FROM `sensors` WHERE `device_id` = '971' GROUP BY `sensor_class`]
  99.  
  100. >> Runtime for poller module 'sensors': 0.0011 seconds with 208 bytes
  101. #### Unload poller module sensors ####
  102.  
  103. RRD[last camtifdp00157.company.com/poller-perf-sensors.rrd  --daemon unix:/var/run/rrdcached.sock]
  104. RRD[update camtifdp00157.company.com/poller-perf-sensors.rrd N:0.0011188983917236 --daemon unix:/var/run/rrdcached.sock]
  105. [RRD Disabled]Modules status: Global+ OS  Device
  106. #### Load poller module processors ####
  107. SQL[SELECT * FROM processors WHERE device_id = '971']
  108.  
  109. >> Runtime for poller module 'processors': 0.0014 seconds with 600 bytes
  110. #### Unload poller module processors ####
  111.  
  112. RRD[last camtifdp00157.company.com/poller-perf-processors.rrd  --daemon unix:/var/run/rrdcached.sock]
  113. RRD[update camtifdp00157.company.com/poller-perf-processors.rrd N:0.0013949871063232 --daemon unix:/var/run/rrdcached.sock]
  114. [RRD Disabled]Modules status: Global+ OS  Device
  115. #### Load poller module mempools ####
  116. SQL[SELECT * FROM mempools WHERE device_id = '971']
  117.  
  118. >> Runtime for poller module 'mempools': 0.0011 seconds with 600 bytes
  119. #### Unload poller module mempools ####
  120.  
  121. RRD[last camtifdp00157.company.com/poller-perf-mempools.rrd  --daemon unix:/var/run/rrdcached.sock]
  122. RRD[update camtifdp00157.company.com/poller-perf-mempools.rrd N:0.0011320114135742 --daemon unix:/var/run/rrdcached.sock]
  123. [RRD Disabled]Modules status: Global+ OS  Device
  124. #### Load poller module storage ####
  125. SQL[SELECT * FROM storage WHERE device_id = '971']
  126.  
  127. >> Runtime for poller module 'storage': 0.0011 seconds with 752 bytes
  128. #### Unload poller module storage ####
  129.  
  130. RRD[last camtifdp00157.company.com/poller-perf-storage.rrd  --daemon unix:/var/run/rrdcached.sock]
  131. RRD[update camtifdp00157.company.com/poller-perf-storage.rrd N:0.0011250972747803 --daemon unix:/var/run/rrdcached.sock]
  132. [RRD Disabled]Modules status: Global+ OS  Device
  133. #### Load poller module netstats ####
  134.  IPSNMP[/usr/bin/snmpget -v2c -c COMMUNITY -OQUs -m IP-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/supermicro:/opt/librenms/mibs/dell 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]
  135. ipForwDatagrams.0 = No Such Object available on this agent at this OID
  136. ipInDelivers.0 = No Such Object available on this agent at this OID
  137. ipInReceives.0 = No Such Object available on this agent at this OID
  138. ipOutRequests.0 = No Such Object available on this agent at this OID
  139. ipInDiscards.0 = No Such Object available on this agent at this OID
  140. ipOutDiscards.0 = No Such Object available on this agent at this OID
  141. ipOutNoRoutes.0 = No Such Object available on this agent at this OID
  142. ipReasmReqds.0 = No Such Object available on this agent at this OID
  143. ipReasmOKs.0 = No Such Object available on this agent at this OID
  144. ipReasmFails.0 = No Such Object available on this agent at this OID
  145. ipFragOKs.0 = No Such Object available on this agent at this OID
  146. ipFragFails.0 = No Such Object available on this agent at this OID
  147. ipFragCreates.0 = No Such Object available on this agent at this OID
  148. ipInUnknownProtos.0 = No Such Object available on this agent at this OID
  149. ipInHdrErrors.0 = No Such Object available on this agent at this OID
  150. ipInAddrErrors.0 = No Such Object available on this agent at this OID
  151.  
  152.  TCPSNMP[/usr/bin/snmpget -v2c -c COMMUNITY -OQUs -m TCP-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/supermicro:/opt/librenms/mibs/dell udp:HOSTNAME:161  TCP-MIB::tcpActiveOpens.0 T                                                 CP-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::t                                                 cpInErrs.0 TCP-MIB::tcpOutRsts.0 tcpHCInSegs.0 tcpHCOutSegs.0]
  153. tcpActiveOpens.0 = No Such Object available on this agent at this OID
  154. tcpPassiveOpens.0 = No Such Object available on this agent at this OID
  155. tcpAttemptFails.0 = No Such Object available on this agent at this OID
  156. tcpEstabResets.0 = No Such Object available on this agent at this OID
  157. tcpCurrEstab.0 = No Such Object available on this agent at this OID
  158. tcpInSegs.0 = No Such Object available on this agent at this OID
  159. tcpOutSegs.0 = No Such Object available on this agent at this OID
  160. tcpRetransSegs.0 = No Such Object available on this agent at this OID
  161. tcpInErrs.0 = No Such Object available on this agent at this OID
  162. tcpOutRsts.0 = No Such Object available on this agent at this OID
  163. tcpHCInSegs.0 = No Such Object available on this agent at this OID
  164. tcpHCOutSegs.0 = No Such Object available on this agent at this OID
  165.  
  166.  UDPSNMP[/usr/bin/snmpget -v2c -c COMMUNITY -OQUs -m UDP-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/supermicro:/opt/librenms/mibs/dell udp:HOSTNAME:161  UDP-MIB::udpInDatagrams.0 U                                                 DP-MIB::udpOutDatagrams.0 UDP-MIB::udpInErrors.0 UDP-MIB::udpNoPorts.0]
  167. udpInDatagrams.0 = No Such Object available on this agent at this OID
  168. udpOutDatagrams.0 = No Such Object available on this agent at this OID
  169. udpInErrors.0 = No Such Object available on this agent at this OID
  170. udpNoPorts.0 = No Such Object available on this agent at this OID
  171.  
  172.  ICMPSNMP[/usr/bin/snmpbulkwalk -Cr20  -v2c -c COMMUNITY -OQUs -m IP-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/supermicro:/opt/librenms/mibs/dell udp:HOSTNAME:161 icmp]
  173. icmp = No Such Object available on this agent at this OID
  174.  
  175.  SNMPSNMP[/usr/bin/snmpbulkwalk -Cr20  -v2c -c COMMUNITY -OQUs -m SNMPv2-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/supermicro:/opt/librenms/mibs/dell udp:HOSTNAME:161 snmp]
  176. snmpInPkts.0 = 23717930
  177. snmpOutPkts.0 = 23707275
  178. snmpInBadVersions.0 = 0
  179. snmpInBadCommunityNames.0 = 10246
  180. snmpInBadCommunityUses.0 = 0
  181. snmpInASNParseErrs.0 = 0
  182. snmpInTooBigs.0 = 0
  183. snmpInNoSuchNames.0 = 0
  184. snmpInBadValues.0 = 0
  185. snmpInReadOnlys.0 = 0
  186. snmpInGenErrs.0 = 0
  187. snmpInTotalReqVars.0 = 23781830
  188. snmpInTotalSetVars.0 = 0
  189. snmpInGetRequests.0 = 23704040
  190. snmpInGetNexts.0 = 0
  191. snmpInSetRequests.0 = 0
  192. snmpInGetResponses.0 = 0
  193. snmpInTraps.0 = 0
  194. snmpOutTooBigs.0 = 0
  195. snmpOutNoSuchNames.0 = 0
  196. snmpOutBadValues.0 = 0
  197. snmpOutGenErrs.0 = 0
  198. snmpOutGetRequests.0 = 0
  199. snmpOutGetNexts.0 = 0
  200. snmpOutSetRequests.0 = 0
  201. snmpOutGetResponses.0 = 23707276
  202. snmpOutTraps.0 = 0
  203. snmpEnableAuthenTraps.0 = disabled
  204. snmpSilentDrops.0 = 0
  205. snmpProxyDrops.0 = 0
  206.  
  207. RRD[last camtifdp00157.company.com/netstats-snmp.rrd  --daemon unix:/var/run/rrdcached.sock]
  208. RRD[update camtifdp00157.company.com/netstats-snmp.rrd N:23717930:23707275:0:10246:0:0:0:0:0:0:0:23781830:0:23704040:0:0:0:0:0:0:0:0:0:0:0:23707276:0:0:0 --daemon unix:                                                 /var/run/rrdcached.sock]
  209. [RRD Disabled] IP-FORWARDSNMP[/usr/bin/snmpget -v2c -c COMMUNITY -OQv -M /opt/librenms/mibs:/opt/librenms/mibs/supermicro:/opt/librenms/mibs/dell udp:HOSTNAME:161 IP-FORWARD-MIB::ipC                                                 idrRouteNumber.0]
  210. No Such Object available on this agent at this OID
  211.  
  212.  
  213.  
  214. >> Runtime for poller module 'netstats': 0.1777 seconds with 13704 bytes
  215. #### Unload poller module netstats ####
  216.  
  217. RRD[last camtifdp00157.company.com/poller-perf-netstats.rrd  --daemon unix:/var/run/rrdcached.sock]
  218. RRD[update camtifdp00157.company.com/poller-perf-netstats.rrd N:0.17765998840332 --daemon unix:/var/run/rrdcached.sock]
  219. [RRD Disabled]Modules status: Global+ OS  Device
  220. #### Load poller module hr-mib ####
  221. SNMP[/usr/bin/snmpget -v2c -c COMMUNITY -OUQs -m HOST-RESOURCES-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/supermicro:/opt/librenms/mibs/dell udp:HOSTNAME:161 hrSystemProcesses.0 h                                                 rSystemNumUsers.0]
  222. hrSystemProcesses.0 = No Such Object available on this agent at this OID
  223. hrSystemNumUsers.0 = No Such Object available on this agent at this OID
  224.  
  225.  
  226.  
  227. >> Runtime for poller module 'hr-mib': 0.0259 seconds with 496 bytes
  228. #### Unload poller module hr-mib ####
  229.  
  230. RRD[last camtifdp00157.company.com/poller-perf-hr-mib.rrd  --daemon unix:/var/run/rrdcached.sock]
  231. RRD[update camtifdp00157.company.com/poller-perf-hr-mib.rrd N:0.025874137878418 --daemon unix:/var/run/rrdcached.sock]
  232. [RRD Disabled]Modules status: Global+ OS  Device
  233. #### Load poller module ucd-mib ####
  234. SNMP[/usr/bin/snmpbulkwalk -Cr20  -v2c -c COMMUNITY -OQUs -m UCD-SNMP-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/supermicro:/opt/librenms/mibs/dell udp:HOSTNAME:161 systemStats]
  235. systemStats = No Such Object available on this agent at this OID
  236.  
  237. SNMP[/usr/bin/snmpget -v2c -c COMMUNITY -OQUs -m UCD-SNMP-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/supermicro:/opt/librenms/mibs/dell udp:HOSTNAME:161 memTotalSwap.0 memAvailSwap                                                 .0 memTotalReal.0 memAvailReal.0 memTotalFree.0 memShared.0 memBuffer.0 memCached.0]
  238. memTotalSwap.0 = No Such Object available on this agent at this OID
  239. memAvailSwap.0 = No Such Object available on this agent at this OID
  240. memTotalReal.0 = No Such Object available on this agent at this OID
  241. memAvailReal.0 = No Such Object available on this agent at this OID
  242. memTotalFree.0 = No Such Object available on this agent at this OID
  243. memShared.0 = No Such Object available on this agent at this OID
  244. memBuffer.0 = No Such Object available on this agent at this OID
  245. memCached.0 = No Such Object available on this agent at this OID
  246.  
  247. SNMP[/usr/bin/snmpget -v2c -c COMMUNITY -OQUs -m UCD-SNMP-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/supermicro:/opt/librenms/mibs/dell udp:HOSTNAME:161 laLoadInt.1 laLoadInt.2 laL                                                 oadInt.3]
  248. laLoadInt.1 = No Such Object available on this agent at this OID
  249. laLoadInt.2 = No Such Object available on this agent at this OID
  250. laLoadInt.3 = No Such Object available on this agent at this OID
  251.  
  252.  
  253. >> Runtime for poller module 'ucd-mib': 0.0742 seconds with 7288 bytes
  254. #### Unload poller module ucd-mib ####
  255.  
  256. RRD[last camtifdp00157.company.com/poller-perf-ucd-mib.rrd  --daemon unix:/var/run/rrdcached.sock]
  257. RRD[update camtifdp00157.company.com/poller-perf-ucd-mib.rrd N:0.074196100234985 --daemon unix:/var/run/rrdcached.sock]
  258. [RRD Disabled]Modules status: Global+ OS  Device
  259. #### Load poller module ipSystemStats ####
  260. SNMP[/usr/bin/snmpbulkwalk -Cr20  -v2c -c COMMUNITY -OQUs -m IP-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/supermicro:/opt/librenms/mibs/dell udp:HOSTNAME:161 ipSystemStats]
  261. ipSystemStatsTable = No Such Object available on this agent at this OID
  262.  
  263.  
  264.  
  265. >> Runtime for poller module 'ipSystemStats': 0.0380 seconds with 792 bytes
  266. #### Unload poller module ipSystemStats ####
  267.  
  268. RRD[last camtifdp00157.company.com/poller-perf-ipSystemStats.rrd  --daemon unix:/var/run/rrdcached.sock]
  269. RRD[update camtifdp00157.company.com/poller-perf-ipSystemStats.rrd N:0.038011074066162 --daemon unix:/var/run/rrdcached.sock]
  270. [RRD Disabled]Modules status: Global+ OS  Device
  271. #### Load poller module ports ####
  272. Caching Oids: SNMP[/usr/bin/snmpbulkwalk -Cr20  -v2c -c COMMUNITY -OQUs -m IF-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/supermicro:/opt/librenms/mibs/dell udp:HOSTNAME:161 ifXEntr                                                 y]
  273. ifXEntry = No Such Object available on this agent at this OID
  274.  
  275. SNMP[/usr/bin/snmpbulkwalk -Cr20  -v2c -c COMMUNITY -OQUst -m IF-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/supermicro:/opt/librenms/mibs/dell udp:HOSTNAME:161 ifEntry]
  276. ifEntry = No Such Object available on this agent at this OID
  277.  
  278. dot3StatsDuplexStatusSNMP[/usr/bin/snmpbulkwalk -Cr20  -v2c -c COMMUNITY -OQUs -m EtherLike-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/supermicro:/opt/librenms/mibs/dell udp:HOSTNA                                                 ME:161 dot3StatsDuplexStatus]
  279. dot3StatsDuplexStatus = No Such Object available on this agent at this OID
  280.  
  281. SQL[SELECT COUNT(*) FROM `ports` WHERE `device_id` = '971' AND `ifType` = 'adsl']
  282. SNMP[/usr/bin/snmpbulkwalk -Cr20  -v2c -c COMMUNITY -OQUs -m Q-BRIDGE-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/supermicro:/opt/librenms/mibs/dell udp:HOSTNAME:161 dot1qPvid]
  283. dot1qPvid = No Such Object available on this agent at this OID
  284.  
  285. Array
  286. (
  287. )
  288. SQL[SELECT `name` FROM `port_association_mode` WHERE pom_id = '1']
  289. 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` = '971' ORDER BY ports.port_id]
  290.  
  291.  
  292. >> Runtime for poller module 'ports': 0.1521 seconds with 16368 bytes
  293. #### Unload poller module ports ####
  294.  
  295. RRD[last camtifdp00157.company.com/poller-perf-ports.rrd  --daemon unix:/var/run/rrdcached.sock]
  296. RRD[update camtifdp00157.company.com/poller-perf-ports.rrd N:0.15206003189087 --daemon unix:/var/run/rrdcached.sock]
  297. [RRD Disabled]Modules status: Global+ OS- Device  Module [ bgp-peers ] disabled on os.
  298.  
  299. Modules status: Global- OS  Device  Module [ junose-atm-vp ] disabled globally.
  300.  
  301. Modules status: Global- OS  Device  Module [ toner ] disabled globally.
  302.  
  303. Modules status: Global+ OS  Device
  304. #### Load poller module ucd-diskio ####
  305. SQL[SELECT * FROM `ucd_diskio` WHERE `device_id`  = '971']
  306.  
  307. >> Runtime for poller module 'ucd-diskio': 0.0007 seconds with 488 bytes
  308. #### Unload poller module ucd-diskio ####
  309.  
  310. RRD[last camtifdp00157.company.com/poller-perf-ucd-diskio.rrd  --daemon unix:/var/run/rrdcached.sock]
  311. RRD[update camtifdp00157.company.com/poller-perf-ucd-diskio.rrd N:0.00074100494384766 --daemon unix:/var/run/rrdcached.sock]
  312. [RRD Disabled]Modules status: Global- OS  Device  Module [ wifi ] disabled globally.
  313.  
  314. Modules status: Global+ OS  Device
  315. #### Load poller module wireless ####
  316. Attempting to initialize OS: linux
  317. SQL[SELECT * FROM `wireless_sensors` WHERE `device_id` = '971']
  318.  
  319. >> Runtime for poller module 'wireless': 0.0045 seconds with 176808 bytes
  320. #### Unload poller module wireless ####
  321.  
  322. RRD[last camtifdp00157.company.com/poller-perf-wireless.rrd  --daemon unix:/var/run/rrdcached.sock]
  323. RRD[update camtifdp00157.company.com/poller-perf-wireless.rrd N:0.0044808387756348 --daemon unix:/var/run/rrdcached.sock]
  324. [RRD Disabled]Modules status: Global- OS- Device  Module [ ospf ] disabled on os.
  325.  
  326. Modules status: Global- OS  Device  Module [ cisco-ipsec-flow-monitor ] disabled globally.
  327.  
  328. Modules status: Global- OS  Device  Module [ cisco-remote-access-monitor ] disabled globally.
  329.  
  330. Modules status: Global- OS  Device  Module [ cisco-cef ] disabled globally.
  331.  
  332. Modules status: Global- OS  Device  Module [ cisco-sla ] disabled globally.
  333.  
  334. Modules status: Global- OS  Device  Module [ cisco-mac-accounting ] disabled globally.
  335.  
  336. Modules status: Global- OS  Device  Module [ cipsec-tunnels ] disabled globally.
  337.  
  338. Modules status: Global- OS  Device  Module [ cisco-ace-loadbalancer ] disabled globally.
  339.  
  340. Modules status: Global- OS  Device  Module [ cisco-ace-serverfarms ] disabled globally.
  341.  
  342. Modules status: Global- OS  Device  Module [ cisco-asa-firewall ] disabled globally.
  343.  
  344. Modules status: Global- OS  Device  Module [ cisco-voice ] disabled globally.
  345.  
  346. Modules status: Global- OS  Device  Module [ cisco-cbqos ] disabled globally.
  347.  
  348. Modules status: Global- OS  Device  Module [ cisco-otv ] disabled globally.
  349.  
  350. Modules status: Global- OS  Device  Module [ cisco-vpdn ] disabled globally.
  351.  
  352. Modules status: Global- OS  Device  Module [ netscaler-vsvr ] disabled globally.
  353.  
  354. Modules status: Global- OS  Device  Module [ aruba-controller ] disabled globally.
  355.  
  356. Modules status: Global+ OS  Device
  357. #### Load poller module entity-physical ####
  358. SQL[SELECT * FROM `entPhysical_state` WHERE `device_id` = '971']
  359.  
  360. >> Runtime for poller module 'entity-physical': 0.0008 seconds with 960 bytes
  361. #### Unload poller module entity-physical ####
  362.  
  363. RRD[last camtifdp00157.company.com/poller-perf-entity-physical.rrd  --daemon unix:/var/run/rrdcached.sock]
  364. RRD[update camtifdp00157.company.com/poller-perf-entity-physical.rrd N:0.00081300735473633 --daemon unix:/var/run/rrdcached.sock]
  365. [RRD Disabled]Modules status: Global+ OS  Device
  366. #### Load poller module applications ####
  367. SQL[SELECT * FROM `applications` WHERE `device_id`  = '971']
  368.  
  369. >> Runtime for poller module 'applications': 0.0006 seconds with 368 bytes
  370. #### Unload poller module applications ####
  371.  
  372. RRD[last camtifdp00157.company.com/poller-perf-applications.rrd  --daemon unix:/var/run/rrdcached.sock]
  373. RRD[update camtifdp00157.company.com/poller-perf-applications.rrd N:0.00058913230895996 --daemon unix:/var/run/rrdcached.sock]
  374. [RRD Disabled]Modules status: Global- OS  Device  Module [ mib ] disabled globally.
  375.  
  376. Modules status: Global+ OS- Device  Module [ stp ] disabled on os.
  377.  
  378. Modules status: Global+ OS  Device
  379. #### Load poller module ntp ####
  380.  
  381. >> Runtime for poller module 'ntp': 0.0001 seconds with 192 bytes
  382. #### Unload poller module ntp ####
  383.  
  384. RRD[last camtifdp00157.company.com/poller-perf-ntp.rrd  --daemon unix:/var/run/rrdcached.sock]
  385. RRD[update camtifdp00157.company.com/poller-perf-ntp.rrd N:0.00010085105895996 --daemon unix:/var/run/rrdcached.sock]
  386. [RRD Disabled]Modules status: Global+ OS  Device
  387. #### Load poller module services ####
  388.  
  389. >> Runtime for poller module 'services': 0.0000 seconds with 104 bytes
  390. #### Unload poller module services ####
  391.  
  392. RRD[last camtifdp00157.company.com/poller-perf-services.rrd  --daemon unix:/var/run/rrdcached.sock]
  393. RRD[update camtifdp00157.company.com/poller-perf-services.rrd N:4.7922134399414E-5 --daemon unix:/var/run/rrdcached.sock]
  394. [RRD Disabled]Modules status: Global- OS  Device  Module [ loadbalancers ] disabled globally.
  395.  
  396. Modules status: Global- OS  Device  Module [ mef ] disabled globally.
  397.  
  398. Modules status: Global- OS  Device  Module [ tnms-nbi ] disabled globally.
  399.  
  400. ### Start Device Groups ###
  401. SQL[SELECT * FROM device_groups ORDER BY name]
  402. SQL[SELECT DISTINCT(devices.device_id) FROM devices WHERE  devices.device_id='971' AND (devices.sysName REGEXP "camtinm"  ) LIMIT 1]
  403. SQL[SELECT DISTINCT(devices.device_id) FROM devices WHERE  devices.device_id='971' AND (devices.sysName REGEXP "camtino"  ) LIMIT 1]
  404. SQL[SELECT DISTINCT(devices.device_id) FROM devices WHERE  devices.device_id='971' AND (devices.location REGEXP "CAMT01-00-0131" && devices.sysName REGEXP "camtin" ) LIMIT 1]
  405. SQL[SELECT DISTINCT(devices.device_id) FROM devices WHERE  devices.device_id='971' AND (devices.sysName REGEXP "camtin" && devices.location REGEXP "CAMT01-00-0430" ) LIMIT 1]
  406. SQL[SELECT DISTINCT(devices.device_id) FROM devices WHERE  devices.device_id='971' AND (devices.sysName REGEXP "camtin[a-z]+01[01]" ) LIMIT 1]
  407. SQL[SELECT DISTINCT(devices.device_id) FROM devices WHERE  devices.device_id='971' AND (devices.sysName REGEXP "camtin[a-z]+01[02]" ) LIMIT 1]
  408. SQL[SELECT DISTINCT(devices.device_id) FROM devices WHERE  devices.device_id='971' AND (devices.sysName REGEXP "camtin[a-z]+11" ) LIMIT 1]
  409. SQL[SELECT DISTINCT(devices.device_id) FROM devices WHERE  devices.device_id='971' AND (devices.sysName REGEXP "camtin[a-z]+12"  ) LIMIT 1]
  410. SQL[SELECT DISTINCT(devices.device_id) FROM devices WHERE  devices.device_id='971' AND (devices.sysName REGEXP "camtin[a-z]+13"  ) LIMIT 1]
  411. SQL[SELECT DISTINCT(devices.device_id) FROM devices WHERE  devices.device_id='971' AND (devices.sysName = "camtin[a-z]+21"  ) LIMIT 1]
  412. SQL[SELECT DISTINCT(devices.device_id) FROM devices WHERE  devices.device_id='971' AND (devices.sysName REGEXP "camtin[a-z]+22"  ) LIMIT 1]
  413. SQL[SELECT DISTINCT(devices.device_id) FROM devices WHERE  devices.device_id='971' AND (devices.sysName REGEXP "camtin[a-z]+23"  ) LIMIT 1]
  414. SQL[SELECT DISTINCT(devices.device_id) FROM devices WHERE  devices.device_id='971' AND (devices.sysName REGEXP "camtinp"  ) LIMIT 1]
  415. SQL[SELECT DISTINCT(devices.device_id) FROM devices WHERE  devices.device_id='971' AND (devices.sysName REGEXP "camtin[pds]"  ) LIMIT 1]
  416. SQL[SELECT DISTINCT(devices.device_id) FROM devices WHERE  devices.device_id='971' AND (devices.sysName REGEXP "camtinst"  ) LIMIT 1]
  417. SQL[SELECT DISTINCT(devices.device_id) FROM devices WHERE  devices.device_id='971' AND (devices.sysName REGEXP "camtif" && devices.location REGEXP "(01-00-0131|IDA-A)" ) LIMIT 1]
  418. SQL[SELECT DISTINCT(devices.device_id) FROM devices WHERE  devices.device_id='971' AND (devices.sysName REGEXP "camtif" && devices.location REGEXP "(01-00-0430|IDA-B)" ) LIMIT 1]
  419. SQL[SELECT DISTINCT(devices.device_id) FROM devices WHERE  devices.device_id='971' AND (devices.sysName REGEXP "camtif" && devices.location REGEXP "(02-00-0131|MDA-A)" ) LIMIT 1]
  420. SQL[SELECT DISTINCT(devices.device_id) FROM devices WHERE  devices.device_id='971' AND (devices.sysName REGEXP "camtif" && devices.location REGEXP "(02-00-0430|MDA-B)" ) LIMIT 1]
  421. SQL[SELECT DISTINCT(devices.device_id) FROM devices WHERE  devices.device_id='971' AND (devices.sysName REGEXP "camtif" && devices.location REGEXP "(00-0111|TA-A)" ) LIMIT 1]
  422. SQL[SELECT DISTINCT(devices.device_id) FROM devices WHERE  devices.device_id='971' AND (devices.sysName REGEXP "camtif" && devices.location REGEXP "(00-0410|TA-B)" ) LIMIT 1]
  423. SQL[SELECT DISTINCT(devices.device_id) FROM devices WHERE  devices.device_id='971' AND (devices.sysName REGEXP "camtif" && devices.location REGEXP "(00-0011|TS1.1)" ) LIMIT 1]
  424. SQL[SELECT DISTINCT(devices.device_id) FROM devices WHERE  devices.device_id='971' AND (devices.sysName REGEXP "camtif" && devices.location REGEXP "(00-0012|TS1.2)" ) LIMIT 1]
  425. SQL[SELECT DISTINCT(devices.device_id) FROM devices WHERE  devices.device_id='971' AND (devices.sysName REGEXP "camtif" && devices.location REGEXP "(00-0013|TS1.3)" ) LIMIT 1]
  426. SQL[SELECT DISTINCT(devices.device_id) FROM devices WHERE  devices.device_id='971' AND (devices.sysName REGEXP "camtif" && devices.location REGEXP "(00-0021|TS2.1)" ) LIMIT 1]
  427. SQL[SELECT DISTINCT(devices.device_id) FROM devices WHERE  devices.device_id='971' AND (devices.sysName REGEXP "camtif" && devices.location REGEXP "(00-0021|TS2.1)" ) LIMIT 1]
  428. SQL[SELECT DISTINCT(devices.device_id) FROM devices WHERE  devices.device_id='971' AND (devices.sysName REGEXP "camtif" && devices.location = "(00-0023|TS2.3)" ) LIMIT 1]
  429. SQL[SELECT DISTINCT(devices.device_id) FROM devices WHERE  devices.device_id='971' AND (devices.sysName REGEXP "camt" ) LIMIT 1]
  430. SQL[SELECT `device_group_id` FROM `device_group_device` WHERE `device_id`='971']
  431. Groups Added:
  432. Groups Removed:
  433. ### End Device Groups ###
  434. SQL[SELECT `graph` FROM `device_graphs` WHERE `device_id` = '971']
  435. uptime netstat_snmp netstat_snmp_pkt RRD[last camtifdp00157.company.com/poller-perf.rrd  --daemon unix:/var/run/rrdcached.sock]
  436. RRD[update camtifdp00157.company.com/poller-perf.rrd N:1.264 --daemon unix:/var/run/rrdcached.sock]
  437. [RRD Disabled]RRD[last camtifdp00157.company.com/ping-perf.rrd  --daemon unix:/var/run/rrdcached.sock]
  438. RRD[update camtifdp00157.company.com/ping-perf.rrd N:3.23 --daemon unix:/var/run/rrdcached.sock]
  439. [RRD Disabled]Polled in 1.264 seconds
  440. Updating camtifdp00157.company.com
  441. SQL[UPDATE `devices` set `uptime` ='12116763',`last_ping` =NOW(),`last_ping_timetaken` ='3.23',`last_polled` =NOW(),`last_polled_timetaken` ='1.264' WHERE `device_id` = '971']
  442. UPDATED!
  443. #### Start Alerts ####
  444. SQL[SELECT `device_group_id` FROM `device_group_device` WHERE `device_id`='971']
  445. 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.t                                                 arget = '971' ) && ((alert_schedule.recurring = 0 AND (NOW() BETWEEN alert_schedule.start AND alert_schedule.end)) OR (alert_schedule.recurring = 1 AND (alert_schedule.start_recurrin                                                 g_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]
  446. SQL[SELECT `device_group_id` FROM `device_group_device` WHERE `device_id`='971']
  447. 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_i                                                 d = '971' ) || alert_map.target = '971'  )]
  448. Rule #2 (Network Infra Devices up/down):
  449. SQL[SELECT state FROM alerts WHERE rule_id = '2' && device_id = '971' ORDER BY id DESC LIMIT 1]
  450. SQL[SELECT * FROM devices WHERE (devices.device_id = '971') && (((devices.status = 0  &&  ((devices.disabled = 0  &&  devices.ignore = 0)))) = "1"       &&  devices.sysName REGEXP "c                                                 amtin"     )]
  451. Status: NOCHG
  452. Rule #6 (Device discovered within the last 60 minutes):
  453. SQL[SELECT state FROM alerts WHERE rule_id = '6' && device_id = '971' ORDER BY id DESC LIMIT 1]
  454. SQL[SELECT * FROM eventlog WHERE (eventlog.device_id = '971') && (eventlog.type = "discovery"  &&  eventlog.message REGEXP ".*autodiscovered.*"  &&  eventlog.datetime >= (DATE_SUB(NO                                                 W(),INTERVAL 60 MINUTE))    )]
  455. Status: NOCHG
  456. #### End Alerts ####
  457. SQL[INSERT INTO `perf_times` (`type`,`doing`,`start`,`duration`,`devices`,`poller`)  VALUES ('poll','camtifdp00157.company.com','1500054579.3307','1.369','1','camtinnnm                                                 00006\n')]
  458. ./poller.php camtifdp00157.company.com 2017-07-14 13:49:40 - 1 devices polled in 1.369 secs
  459. SNMP: Get[20/0.50s] Walk [8/0.29s]
  460. MySQL: Cell[32/0.01s] Row[4/0.00s] Rows[19/0.02s] Column[3/0.00s] Update[1/0.00s] Insert[2/0.00s] Delete[0/0.00s]
  461.