From Patrik Jonsson, 3 Years ago, written in Plain Text.
Embed
  1. LibreNMS Poller
  2. SQL[select `migration` from `migrations` order by `id` desc limit 1 [] 0.27ms]
  3.  
  4. SQL[select count(*) as aggregate from `migrations` limit 1 [] 0.22ms]
  5.  
  6. SQL[SELECT version() [] 0.26ms]
  7.  
  8. ===================================
  9. Version info:
  10. Commit SHA:
  11. Commit Date:
  12. DB Schema: 2020_08_28_212054_drop_uptime_column_outages (173)
  13. PHP: 7.3.21
  14. MySQL: 10.4.14-MariaDB-1:10.4.14+maria~focal
  15. RRDTool: 1.7.2
  16. SNMP: NET-SNMP 5.8
  17. ==================================DEBUG!
  18. Updating os_def.cache
  19. Starting polling run:
  20.  
  21. SQL[SELECT * FROM `devices` WHERE `disabled` = 0 AND `hostname` = 'switch.j.local' ORDER BY `device_id` ASC [] 0.96ms]
  22.  
  23. SQL[select * from `devices` where `device_id` = ? limit 1 [6] 0.46ms]
  24.  
  25. SQL[select * from `devices_attribs` where `devices_attribs`.`device_id` = ? and `devices_attribs`.`device_id` is not null [6] 0.96ms]
  26.  
  27. Attempting to initialize OS: linux
  28. Attempting to initialize OS: unix
  29. OS initialized as Generic
  30. Hostname:    switch.j.local
  31. Device ID:   6
  32. OS:          linux
  33. Resolved IP: 192.168.70.22
  34.  (unix)
  35.  
  36. SQL[select `hostname`, `overwrite_ip` from `devices` where `hostname` = ? limit 1 ["switch.j.local"] 0.58ms]
  37.  
  38. [FPING] '/usr/sbin/fping' '-e' '-q' '-c' '3' '-p' '500' '-t' '500' 'switch.j.local'
  39.  
  40. response:  {"xmt":3,"rcv":3,"loss":0,"min":0.51,"max":0.68,"avg":0.6,"dup":0,"exitcode":0}
  41. SQL[INSERT IGNORE INTO `device_perf` (`xmt`,`rcv`,`loss`,`min`,`max`,`avg`,`device_id`,`timestamp`,`debug`)  VALUES (:xmt,:rcv,:loss,:min,:max,:avg,:device_id,NOW(),:debug) {"xmt":3,"rcv":3,"loss":0,"min":0.51,"max":0.68,"avg":0.6,"device_id":6,"debug":"[]"} 1.12ms]
  42.  
  43. SQL[UPDATE `devices` set `last_ping`=?,`last_ping_timetaken`=? WHERE device_id=? ["2020-09-20 16:49:40",0.6,6] 7.17ms]
  44.  
  45. SNMP Check response code: 0
  46. Modules status: Global+
  47. OS
  48. Device
  49.  
  50. #### Load poller module core ####
  51. SNMP['/usr/bin/snmpget' '-v2c' '-c' 'COMMUNITY' '-OQnUt' '-m' 'SNMPv2-MIB' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/supermicro:/opt/librenms/mibs/dell' 'udp:HOSTNAME:161' 'sysUpTime.0' 'sysContact.0' 'sysName.0' 'sysObjectID.0' 'sysDescr.0']
  52. .*.*.0 = 136477926
  53. .*.*.0 = Default
  54. .*.*.0 = Switch
  55. .*.*.0 = .*.4.1.8*
  56. .*.*.0 = Linux Garderoben 3.18.24 #0 Thu Aug 30 12:10:54 2018 mips
  57.  
  58. 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']
  59. snmpEngineTime.0 = 1364779
  60. hrSystemUptime.0 = No Such Object available on this agent at this OID
  61.  
  62. Uptime seconds: 1364779
  63. Uptime:  15 days 19 hours 6 minutes 19 seconds
  64.  
  65. >> Runtime for poller module 'core': 0.0215 seconds with 5056 bytes
  66. >> SNMP: [2/0.02s] MySQL: [0/0.00s]
  67. #### Unload poller module core ####
  68.  
  69. Modules status: Global+
  70. OS
  71. Device
  72.  
  73. #### Load poller module availability ####
  74. SQL[SELECT duration FROM availability WHERE device_id = ? [6] 0.35ms]
  75.  
  76. Availability:
  77. SQL[SELECT * FROM availability WHERE device_id = ? [6] 0.22ms]
  78.  
  79. SQL[select * from `device_outages` where `device_id` = ? and `up_again` >= ? order by `going_down` asc [6,1600526980] 0.42ms]
  80.  
  81. SQL[UPDATE `availability` set `availability_perc`=? WHERE `availability_id` = ? [100,17] 0.25ms]
  82.  
  83. 1 day : 100%
  84. SQL[select * from `device_outages` where `device_id` = ? and `up_again` >= ? order by `going_down` asc [6,1600008580] 0.32ms]
  85.  
  86. SQL[UPDATE `availability` set `availability_perc`=? WHERE `availability_id` = ? [100,18] 0.23ms]
  87.  
  88. 7 days : 100%
  89. SQL[select * from `device_outages` where `device_id` = ? and `up_again` >= ? order by `going_down` asc [6,1598021380] 0.35ms]
  90.  
  91. SQL[UPDATE `availability` set `availability_perc`=? WHERE `availability_id` = ? [100,19] 0.23ms]
  92.  
  93. 30 days : 100%
  94. SQL[select * from `device_outages` where `device_id` = ? and `up_again` >= ? order by `going_down` asc [6,1569077380] 0.31ms]
  95.  
  96. SQL[UPDATE `availability` set `availability_perc`=? WHERE `availability_id` = ? [100,20] 0.21ms]
  97.  
  98. 365 days : 100%
  99.  
  100. >> Runtime for poller module 'availability': 0.0059 seconds with 111368 bytes
  101. >> SNMP: [0/0.00s] MySQL: [5/0.00s]
  102. #### Unload poller module availability ####
  103.  
  104. Modules status: Global-
  105. OS
  106. Device
  107. Module [ unix-agent ] disabled globally.
  108.  
  109. Modules status: Global+
  110. OS
  111. Device
  112.  
  113. #### Load poller module os ####
  114. 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']
  115. No Such Object available on this agent at this OID
  116.  
  117. 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']
  118. No Such Object available on this agent at this OID
  119.  
  120. 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']
  121. No Such Object available on this agent at this OID
  122.  
  123. 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.300.10.1.9.1']
  124. No Such Object available on this agent at this OID
  125.  
  126. 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' 'cpqSiProductName.0']
  127. No Such Object available on this agent at this OID
  128.  
  129. 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']
  130. No Such Object available on this agent at this OID
  131.  
  132. 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.101.1']
  133. No Such Object available on this agent at this OID
  134.  
  135. 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']
  136. No Such Object available on this agent at this OID
  137.  
  138. 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.101.1']
  139. No Such Object available on this agent at this OID
  140.  
  141. 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.300.10.1.11.1']
  142. No Such Object available on this agent at this OID
  143.  
  144. 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']
  145. No Such Object available on this agent at this OID
  146.  
  147. SNMP['/usr/bin/snmpget' '-v2c' '-c' 'COMMUNITY' '-Ovq' '-m' 'SNMPv2-MIB' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/supermicro:/opt/librenms/mibs/dell' 'udp:HOSTNAME:161' 'sysLocation.0']
  148. Default
  149.  
  150. SQL[select * from `locations` where (`location` = ?) limit 1 ["Default"] 0.43ms]
  151.  
  152. Location: Default
  153. Hardware: Generic MIPS
  154. OS Version: 3.18.24
  155. OS Features:
  156. Serial:
  157.  
  158. >> Runtime for poller module 'os': 0.2038 seconds with 42192 bytes
  159. >> SNMP: [12/0.20s] MySQL: [0/0.00s]
  160. #### Unload poller module os ####
  161.  
  162. Modules status: Global+
  163. OS
  164. Device
  165.  
  166. #### Load poller module ipmi ####
  167. SQL[SELECT * FROM sensors WHERE device_id = ? AND poller_type='ipmi' [6] 0.32ms]
  168.  
  169. array (
  170. )
  171.  
  172. >> Runtime for poller module 'ipmi': 0.0010 seconds with 1640 bytes
  173. >> SNMP: [0/0.00s] MySQL: [1/0.00s]
  174. #### Unload poller module ipmi ####
  175.  
  176. Modules status: Global+
  177. OS
  178. Device
  179.  
  180. #### Load poller module sensors ####
  181. SQL[SELECT `sensor_class` FROM `sensors` WHERE `device_id` = ? GROUP BY `sensor_class` [6] 0.21ms]
  182.  
  183.  
  184. >> Runtime for poller module 'sensors': 0.0005 seconds with 1208 bytes
  185. >> SNMP: [0/0.00s] MySQL: [1/0.00s]
  186. #### Unload poller module sensors ####
  187.  
  188. Modules status: Global+
  189. OS
  190. Device
  191.  
  192. #### Load poller module processors ####
  193. Attempting to initialize OS: linux
  194. Attempting to initialize OS: unix
  195. OS initialized as Generic
  196. SQL[SELECT * FROM processors WHERE device_id=? [6] 0.23ms]
  197.  
  198. SNMP['/usr/bin/snmpget' '-v2c' '-c' 'COMMUNITY' '-OUQn' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/supermicro:/opt/librenms/mibs/dell' 'udp:HOSTNAME:161' '.1.3.6.1.2.1.25.3.3.1.2.196608']
  199. .*.*.*608 = 25
  200.  
  201. array (
  202.   '.1.3.6.1.2.1.25.3.3.1.2.196608' => '25',
  203. )
  204. 25%
  205. SQL[UPDATE `processors` set `processor_usage`=? WHERE `processor_id` = ? [25,8] 1.11ms]
  206.  
  207.  
  208. >> Runtime for poller module 'processors': 0.0241 seconds with 6936 bytes
  209. >> SNMP: [1/0.02s] MySQL: [2/0.00s]
  210. #### Unload poller module processors ####
  211.  
  212. Modules status: Global+
  213. OS
  214. Device
  215.  
  216. #### Load poller module mempools ####
  217. SQL[SELECT * FROM mempools WHERE device_id = ? [6] 0.49ms]
  218.  
  219.  
  220. >> Runtime for poller module 'mempools': 0.0016 seconds with 1160 bytes
  221. >> SNMP: [0/0.00s] MySQL: [1/0.00s]
  222. #### Unload poller module mempools ####
  223.  
  224. Modules status: Global+
  225. OS
  226. Device
  227.  
  228. #### Load poller module storage ####
  229. SQL[SELECT * FROM storage WHERE device_id = ? [6] 0.55ms]
  230.  
  231.  
  232. >> Runtime for poller module 'storage': 0.0018 seconds with 1208 bytes
  233. >> SNMP: [0/0.00s] MySQL: [1/0.00s]
  234. #### Unload poller module storage ####
  235.  
  236. Modules status: Global+
  237. OS
  238. Device
  239.  
  240. #### Load poller module netstats ####
  241.  ICMPSNMP['/usr/bin/snmpbulkwalk' '-v2c' '-c' 'COMMUNITY' '-OQUs' '-m' 'IP-MIB' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/supermicro:/opt/librenms/mibs/dell' 'udp:HOSTNAME:161' 'icmp']
  242. icmp = No Such Object available on this agent at this OID
  243.  
  244. Invalid snmp_walk() data = icmp = No Such Object available on this agent at this OID
  245.  IPSNMP['/usr/bin/snmpgetnext' '-v2c' '-c' 'COMMUNITY' '-OQUs' '-m' 'IP-MIB' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/supermicro:/opt/librenms/mibs/dell' 'udp:HOSTNAME:161' 'ipForwDatagrams' 'ipInDelivers' 'ipInReceives' 'ipOutRequests' 'ipInDiscards' 'ipOutDiscards' 'ipOutNoRoutes' 'ipReasmReqds' 'ipReasmOKs' 'ipReasmFails' 'ipFragOKs' 'ipFragFails' 'ipFragCreates' 'ipInUnknownProtos' 'ipInHdrErrors' 'ipInAddrErrors']
  246. snmpInPkts.0 = 194239
  247. snmpInPkts.0 = 194239
  248. snmpInPkts.0 = 194239
  249. snmpInPkts.0 = 194239
  250. snmpInPkts.0 = 194239
  251. snmpInPkts.0 = 194239
  252. snmpInPkts.0 = 194239
  253. snmpInPkts.0 = 194239
  254. snmpInPkts.0 = 194239
  255. snmpInPkts.0 = 194239
  256. snmpInPkts.0 = 194239
  257. snmpInPkts.0 = 194239
  258. snmpInPkts.0 = 194239
  259. snmpInPkts.0 = 194239
  260. snmpInPkts.0 = 194239
  261. snmpInPkts.0 = 194239
  262.  
  263.  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::ipCidrRouteNumber.0']
  264. No Such Object available on this agent at this OID
  265.  
  266.  SNMPSNMP['/usr/bin/snmpbulkwalk' '-v2c' '-c' 'COMMUNITY' '-OQUs' '-m' 'SNMPv2-MIB' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/supermicro:/opt/librenms/mibs/dell' 'udp:HOSTNAME:161' 'snmp']
  267. snmpInPkts.0 = 194241
  268. snmpOutPkts.0 = 194240
  269. snmpInBadVersions.0 = 0
  270. snmpInBadCommunityNames.0 = 0
  271. snmpInBadCommunityUses.0 = 0
  272. snmpInASNParseErrs.0 = 0
  273. snmpInTooBigs.0 = 0
  274. snmpInNoSuchNames.0 = 0
  275. snmpInBadValues.0 = 0
  276. snmpInReadOnlys.0 = 0
  277. snmpInGenErrs.0 = 0
  278. snmpInTotalReqVars.0 = 849126
  279. snmpInTotalSetVars.0 = 0
  280. snmpInGetRequests.0 = 124934
  281. snmpInGetNexts.0 = 17701
  282. snmpInSetRequests.0 = 0
  283. snmpInGetResponses.0 = 0
  284. snmpInTraps.0 = 0
  285. snmpOutTooBigs.0 = 0
  286. snmpOutNoSuchNames.0 = 0
  287. snmpOutBadValues.0 = 0
  288. snmpOutGenErrs.0 = 0
  289. snmpOutGetRequests.0 = 0
  290. snmpOutGetNexts.0 = 0
  291. snmpOutSetRequests.0 = 0
  292. snmpOutGetResponses.0 = 194242
  293. snmpOutTraps.0 = 0
  294. snmpEnableAuthenTraps.0 = disabled
  295. snmpSilentDrops.0 = 0
  296. snmpProxyDrops.0 = 0
  297.  
  298.  TCPSNMP['/usr/bin/snmpgetnext' '-v2c' '-c' 'COMMUNITY' '-OQUs' '-m' 'TCP-MIB' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/supermicro:/opt/librenms/mibs/dell' 'udp:HOSTNAME:161' 'tcpActiveOpens' 'tcpPassiveOpens' 'tcpAttemptFails' 'tcpEstabResets' 'tcpCurrEstab' 'tcpInSegs' 'tcpOutSegs' 'tcpRetransSegs' 'tcpInErrs' 'tcpOutRsts']
  299. mib-* = 194245
  300. mib-* = 194245
  301. mib-* = 194245
  302. mib-* = 194245
  303. mib-* = 194245
  304. mib-* = 194245
  305. mib-* = 194245
  306. mib-* = 194245
  307. mib-* = 194245
  308. mib-* = 194245
  309.  
  310.  TCPHCSNMP['/usr/bin/snmpgetnext' '-v2c' '-c' 'COMMUNITY' '-OQUs' '-m' 'TCP-MIB' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/supermicro:/opt/librenms/mibs/dell' 'udp:HOSTNAME:161' 'tcpHCInSegs.0' 'tcpHCOutSegs.0']
  311. mib-* = 194246
  312. mib-* = 194246
  313.  
  314.  UDPSNMP['/usr/bin/snmpgetnext' '-v2c' '-c' 'COMMUNITY' '-OQUs' '-m' 'UDP-MIB' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/supermicro:/opt/librenms/mibs/dell' 'udp:HOSTNAME:161' 'udpInDatagrams' 'udpOutDatagrams' 'udpInErrors' 'udpNoPorts']
  315. mib-* = 194247
  316. mib-* = 194247
  317. mib-* = 194247
  318. mib-* = 194247
  319.  
  320.  
  321.  
  322. >> Runtime for poller module 'netstats': 0.1301 seconds with 42088 bytes
  323. >> SNMP: [7/0.13s] MySQL: [0/0.00s]
  324. #### Unload poller module netstats ####
  325.  
  326. Modules status: Global+
  327. OS
  328. Device
  329.  
  330. #### Load poller module hr-mib ####
  331. 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' 'hrSystemNumUsers.0']
  332. hrSystemProcesses.0 = No Such Object available on this agent at this OID
  333. hrSystemNumUsers.0 = No Such Object available on this agent at this OID
  334.  
  335.  
  336.  
  337. >> Runtime for poller module 'hr-mib': 0.0132 seconds with 1208 bytes
  338. >> SNMP: [1/0.01s] MySQL: [0/0.00s]
  339. #### Unload poller module hr-mib ####
  340.  
  341. Modules status: Global+
  342. OS
  343. Device
  344.  
  345. #### Load poller module ucd-mib ####
  346. SNMP['/usr/bin/snmpbulkwalk' '-v2c' '-c' 'COMMUNITY' '-OQUs' '-m' 'UCD-SNMP-MIB' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/supermicro:/opt/librenms/mibs/dell' 'udp:HOSTNAME:161' 'systemStats']
  347. systemStats = No Such Object available on this agent at this OID
  348.  
  349. Invalid snmp_walk() data = systemStats = No Such Object available on this agent at this OID
  350. 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']
  351. memTotalSwap.0 = 0
  352. memAvailSwap.0 = 0
  353. memTotalReal.0 = 126884
  354. memAvailReal.0 = 62156
  355. memTotalFree.0 = 62156
  356. memShared.0 = 1180
  357. memBuffer.0 = 0
  358. memCached.0 = 27352
  359.  
  360. 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' 'laLoadInt.3']
  361. laLoadInt.1 = 161
  362. laLoadInt.2 = 147
  363. laLoadInt.3 = 147
  364.  
  365.  
  366. >> Runtime for poller module 'ucd-mib': 0.0258 seconds with 3264 bytes
  367. >> SNMP: [3/0.03s] MySQL: [0/0.00s]
  368. #### Unload poller module ucd-mib ####
  369.  
  370. Modules status: Global+
  371. OS
  372. Device
  373.  
  374. #### Load poller module ipSystemStats ####
  375. SNMP['/usr/bin/snmpbulkwalk' '-v2c' '-c' 'COMMUNITY' '-OQUs' '-m' 'IP-MIB' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/supermicro:/opt/librenms/mibs/dell' 'udp:HOSTNAME:161' 'ipSystemStats']
  376. ipSystemStatsTable = No Such Object available on this agent at this OID
  377.  
  378. Invalid snmp_walk() data = ipSystemStatsTable = No Such Object available on this agent at this OID
  379.  
  380.  
  381. >> Runtime for poller module 'ipSystemStats': 0.0209 seconds with 1208 bytes
  382. >> SNMP: [1/0.02s] MySQL: [0/0.00s]
  383. #### Unload poller module ipSystemStats ####
  384.  
  385. Modules status: Global+
  386. OS
  387. Device
  388.  
  389. #### Load poller module ports ####
  390. 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` = ? ORDER BY ports.port_id [6] 0.98ms]
  391.  
  392. Caching Oids: Full ports polling SNMP['/usr/bin/snmpbulkwalk' '-v2c' '-c' 'COMMUNITY' '-OQUs' '-m' 'IF-MIB' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/supermicro:/opt/librenms/mibs/dell' 'udp:HOSTNAME:161' 'ifXEntry']
  393. ifXEntry = No Such Object available on this agent at this OID
  394.  
  395. Invalid snmp_walk() data = ifXEntry = No Such Object available on this agent at this OID
  396. SNMP['/usr/bin/snmpbulkwalk' '-v2c' '-c' 'COMMUNITY' '-OQUst' '-m' 'IF-MIB' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/supermicro:/opt/librenms/mibs/dell' 'udp:HOSTNAME:161' 'ifEntry']
  397. ifEntry = No Such Object available on this agent at this OID
  398.  
  399. Invalid snmp_walk() data = ifEntry = No Such Object available on this agent at this OID
  400. dot3StatsDuplexStatusSNMP['/usr/bin/snmpbulkwalk' '-v2c' '-c' 'COMMUNITY' '-OQUs' '-m' 'EtherLike-MIB' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/supermicro:/opt/librenms/mibs/dell' 'udp:HOSTNAME:161' 'dot3StatsDuplexStatus']
  401. dot3StatsDuplexStatus = No Such Object available on this agent at this OID
  402.  
  403. Invalid snmp_walk() data = dot3StatsDuplexStatus = No Such Object available on this agent at this OID
  404. SNMP['/usr/bin/snmpbulkwalk' '-v2c' '-c' 'COMMUNITY' '-OQUs' '-m' 'Q-BRIDGE-MIB' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/supermicro:/opt/librenms/mibs/dell' 'udp:HOSTNAME:161' 'dot1qPvid']
  405. dot1qPvid = No Such Object available on this agent at this OID
  406.  
  407. Invalid snmp_walk() data = dot1qPvid = No Such Object available on this agent at this OID
  408. SQL[SELECT COUNT(*) FROM `ports` WHERE `device_id` = ? AND `ifType` in ('adsl','vdsl') [6] 0.72ms]
  409.  
  410. array (
  411. )
  412.  
  413.  
  414. Warning: max(): Array must contain at least one element in /opt/librenms/includes/polling/ports.inc.php on line 519
  415. SQL[update `ports` set `poll_time` = ?, `poll_prev` = ?, `poll_period` = ? where 0 = 1 [1600613381,false,1600613381] 0.36ms]
  416.  
  417. 0 updated
  418.  
  419. >> Runtime for poller module 'ports': 0.0719 seconds with 12520 bytes
  420. >> SNMP: [4/0.06s] MySQL: [1/0.00s]
  421. #### Unload poller module ports ####
  422.  
  423. Modules status: Global+
  424. OS
  425. Device
  426.  
  427. #### Load poller module customoid ####
  428. SQL[SELECT * FROM `customoids` WHERE `customoid_passed` = 1 AND `device_id` = ? [6] 0.45ms]
  429.  
  430.  
  431. >> Runtime for poller module 'customoid': 0.0016 seconds with 1208 bytes
  432. >> SNMP: [0/0.00s] MySQL: [1/0.00s]
  433. #### Unload poller module customoid ####
  434.  
  435. Modules status: Global+
  436. OS-
  437. Device
  438. Module [ bgp-peers ] disabled on os.
  439.  
  440. Modules status: Global-
  441. OS
  442. Device
  443. Module [ junose-atm-vp ] disabled globally.
  444.  
  445. Modules status: Global-
  446. OS
  447. Device
  448. Module [ toner ] disabled globally.
  449.  
  450. Modules status: Global+
  451. OS
  452. Device
  453.  
  454. #### Load poller module ucd-diskio ####
  455. SQL[SELECT * FROM `ucd_diskio` WHERE `device_id`  = ? [6] 0.22ms]
  456.  
  457.  
  458. >> Runtime for poller module 'ucd-diskio': 0.0007 seconds with 1208 bytes
  459. >> SNMP: [0/0.00s] MySQL: [1/0.00s]
  460. #### Unload poller module ucd-diskio ####
  461.  
  462. Modules status: Global-
  463. OS
  464. Device
  465. Module [ wifi ] disabled globally.
  466.  
  467. Modules status: Global+
  468. OS
  469. Device
  470.  
  471. #### Load poller module wireless ####
  472. Attempting to initialize OS: linux
  473. Attempting to initialize OS: unix
  474. OS initialized as Generic
  475. SQL[SELECT * FROM `wireless_sensors` WHERE `device_id` = ? [6] 0.27ms]
  476.  
  477.  
  478. >> Runtime for poller module 'wireless': 0.0030 seconds with 90552 bytes
  479. >> SNMP: [0/0.00s] MySQL: [1/0.00s]
  480. #### Unload poller module wireless ####
  481.  
  482. Modules status: Global+
  483. OS-
  484. Device
  485. Module [ ospf ] disabled on os.
  486.  
  487. Modules status: Global-
  488. OS
  489. Device
  490. Module [ cisco-ipsec-flow-monitor ] disabled globally.
  491.  
  492. Modules status: Global-
  493. OS
  494. Device
  495. Module [ cisco-remote-access-monitor ] disabled globally.
  496.  
  497. Modules status: Global-
  498. OS
  499. Device
  500. Module [ cisco-cef ] disabled globally.
  501.  
  502. Modules status: Global-
  503. OS
  504. Device
  505. Module [ cisco-sla ] disabled globally.
  506.  
  507. Modules status: Global-
  508. OS
  509. Device
  510. Module [ cisco-mac-accounting ] disabled globally.
  511.  
  512. Modules status: Global-
  513. OS
  514. Device
  515. Module [ cipsec-tunnels ] disabled globally.
  516.  
  517. Modules status: Global-
  518. OS
  519. Device
  520. Module [ cisco-ace-loadbalancer ] disabled globally.
  521.  
  522. Modules status: Global-
  523. OS
  524. Device
  525. Module [ cisco-ace-serverfarms ] disabled globally.
  526.  
  527. Modules status: Global-
  528. OS
  529. Device
  530. Module [ cisco-asa-firewall ] disabled globally.
  531.  
  532. Modules status: Global-
  533. OS
  534. Device
  535. Module [ cisco-voice ] disabled globally.
  536.  
  537. Modules status: Global-
  538. OS
  539. Device
  540. Module [ cisco-cbqos ] disabled globally.
  541.  
  542. Modules status: Global-
  543. OS
  544. Device
  545. Module [ cisco-otv ] disabled globally.
  546.  
  547. Modules status: Global-
  548. OS
  549. Device
  550. Module [ cisco-qfp ] disabled globally.
  551.  
  552. Modules status: Global-
  553. OS
  554. Device
  555. Module [ cisco-vpdn ] disabled globally.
  556.  
  557. Modules status: Global-
  558. OS
  559. Device
  560. Module [ nac ] disabled globally.
  561.  
  562. Modules status: Global-
  563. OS
  564. Device
  565. Module [ netscaler-vsvr ] disabled globally.
  566.  
  567. Modules status: Global-
  568. OS
  569. Device
  570. Module [ aruba-controller ] disabled globally.
  571.  
  572. Modules status: Global+
  573. OS
  574. Device
  575.  
  576. #### Load poller module entity-physical ####
  577. SQL[SELECT * FROM `entPhysical_state` WHERE `device_id` = ? [6] 0.22ms]
  578.  
  579.  
  580. >> Runtime for poller module 'entity-physical': 0.0008 seconds with 1304 bytes
  581. >> SNMP: [0/0.00s] MySQL: [1/0.00s]
  582. #### Unload poller module entity-physical ####
  583.  
  584. Modules status: Global-
  585. OS
  586. Device
  587. Module [ entity-state ] disabled globally.
  588.  
  589. Modules status: Global+
  590. OS
  591. Device
  592.  
  593. #### Load poller module applications ####
  594. SQL[SELECT * FROM `applications` WHERE `device_id`  = ? [6] 0.26ms]
  595.  
  596.  
  597. >> Runtime for poller module 'applications': 0.0005 seconds with 1208 bytes
  598. >> SNMP: [0/0.00s] MySQL: [1/0.00s]
  599. #### Unload poller module applications ####
  600.  
  601. Modules status: Global-
  602. OS
  603. Device
  604. Module [ mib ] disabled globally.
  605.  
  606. Modules status: Global+
  607. OS-
  608. Device
  609. Module [ stp ] disabled on os.
  610.  
  611. Modules status: Global+
  612. OS
  613. Device
  614.  
  615. #### Load poller module ntp ####
  616.  
  617. >> Runtime for poller module 'ntp': 0.0001 seconds with 80 bytes
  618. >> SNMP: [0/0.00s] MySQL: [0/0.00s]
  619. #### Unload poller module ntp ####
  620.  
  621. Modules status: Global-
  622. OS
  623. Device
  624. Module [ loadbalancers ] disabled globally.
  625.  
  626. Modules status: Global-
  627. OS
  628. Device
  629. Module [ mef ] disabled globally.
  630.  
  631. Modules status: Global+
  632. OS
  633. Device
  634.  
  635. #### Load poller module mpls ####
  636.  
  637. >> Runtime for poller module 'mpls': 0.0007 seconds with 880 bytes
  638. >> SNMP: [0/0.00s] MySQL: [0/0.00s]
  639. #### Unload poller module mpls ####
  640.  
  641. Enabling graphs: SQL[select * from `device_graphs` where `device_graphs`.`device_id` = ? and `device_graphs`.`device_id` is not null [6] 0.26ms]
  642.  
  643.  
  644. SQL[UPDATE `devices` set `uptime`=?,`last_ping`=NOW(),`last_ping_timetaken`=?,`last_polled`=NOW(),`last_polled_timetaken`=? WHERE `device_id` = ? [1364779,0.6,1.788,6] 0.85ms]
  645.  
  646. Updating switch.j.local
  647.  
  648. Polled in 1.788 seconds
  649. ### Start Device Groups ###
  650. SQL[select * from `devices` where `devices`.`device_id` = ? limit 1 [6] 8.61ms]
  651.  
  652. SQL[select * from `device_groups` [] 0.29ms]
  653.  
  654. SQL[select * from `device_group_device` where `device_id` = ? [6] 0.33ms]
  655.  
  656. Groups Added:
  657. Groups Removed:
  658. ### End Device Groups, runtime: 0.017s ###
  659.  
  660. #### Start Alerts ####
  661. SQL[select `device_groups`.*, `device_group_device`.`device_id` as `pivot_device_id`, `device_group_device`.`device_group_id` as `pivot_device_group_id` from `device_groups` inner join `device_group_device` on `device_groups`.`id` = `device_group_device`.`device_group_id` where `device_group_device`.`device_id` = ? [6] 0.37ms]
  662.  
  663. SQL[select exists(select * from `alert_schedule` where (`start` &lt;= ? and `end` >= ? and (`recurring` = ? or (`recurring` = ? and ((time(`start`) < time xss=removed> ?) or (time(`start`) > time(`end`) and (time(`end`) &lt;= ? or time(`start`) > ?))) and (`recurring_day` like ? or `recurring_day` is null)))) and (exists (select * from `devices` inner join `alert_schedulables` on `devices`.`device_id` = `alert_schedulables`.`alert_schedulable_id` where `alert_schedule`.`schedule_id` = `alert_schedulables`.`schedule_id` and `alert_schedulables`.`alert_schedulable_type` = ? and `alert_schedulables`.`alert_schedulable_id` = ?) or exists (select * from `device_groups` inner join `alert_schedulables` on `device_groups`.`id` = `alert_schedulables`.`alert_schedulable_id` where `alert_schedule`.`schedule_id` = `alert_schedulables`.`schedule_id` and `alert_schedulables`.`alert_schedulable_type` = ? and 0 = 1) or exists (select * from `locations` inner join `alert_schedulables` on `locations`.`id` = `alert_schedulables`.`alert_schedulable_id` where `alert_schedule`.`schedule_id` = `alert_schedulables`.`schedule_id` and `alert_schedulables`.`alert_schedulable_type` = ? and `alert_schedulables`.`alert_schedulable_id` = ?))) as `exists` ["2020-09-20T14:49:41.410240Z","2020-09-20T14:49:41.410240Z",0,1,"14:49:41","14:49:41","14:49:41","14:49:41","%","device",6,"device_group","location",4] 1.01ms]
  664.  
  665. SQL[select * from `devices` where `devices`.`device_id` = ? limit 1 [6] 0.42ms]
  666.  
  667. SQL[SELECT DISTINCT a.* FROM alert_rules a
  668.         LEFT JOIN alert_device_map d ON a.id=d.rule_id AND (a.invert_map = 0 OR a.invert_map = 1 AND d.device_id = ?)
  669.         LEFT JOIN alert_group_map g ON a.id=g.rule_id AND (a.invert_map = 0 OR a.invert_map = 1 AND g.group_id IN (SELECT DISTINCT device_group_id FROM device_group_device WHERE device_id = ?))
  670.         LEFT JOIN alert_location_map l ON a.id=l.rule_id AND (a.invert_map = 0 OR a.invert_map = 1 AND l.location_id IN (SELECT DISTINCT location_id FROM devices WHERE device_id = ?))
  671.         LEFT JOIN device_group_device dg ON g.group_id=dg.device_group_id AND dg.device_id = ?
  672.         WHERE a.disabled = 0 AND (
  673.             (d.device_id IS NULL AND g.group_id IS NULL)
  674.             OR (a.invert_map = 0 AND (d.device_id=? OR dg.device_id=?))
  675.             OR (a.invert_map = 1  AND (d.device_id != ? OR d.device_id IS NULL) AND (dg.device_id != ? OR dg.device_id IS NULL))
  676.         ) [6,6,6,6,6,6,6,6] 1.18ms]
  677.  
  678. #### End Alerts ####
  679. SQL[INSERT IGNORE INTO `perf_times` (`type`,`doing`,`start`,`duration`,`devices`,`poller`)  VALUES (:type,:doing,:start,:duration,:devices,:poller) {"type":"poll","doing":"switch.j.local","start":1600613379.432573,"duration":"1.984","devices":1,"poller":"\/"} 0.98ms]
  680.  
  681. ./poller.php switch.j.local 2020-09-20 16:49:41 - 1 devices polled in 1.984 secs
  682. SNMP [32/0.70s]: Get[20/0.51s] Getnext[4/0.04s] Walk[8/0.16s]
  683. MySQL [23/0.02s]: Cell[2/0.00s] Row[-2/-0.00s] Rows[13/0.01s] Column[1/0.00s] Update[7/0.01s] Insert[2/0.00s] Delete[0/0.00s]
  684. bash-5.0#
  685.