From librenms, 2 Years ago, written in Plain Text.
Embed
  1. LibreNMS Poller
  2. SQL[[1;33mselect `migration` from `migrations` order by `id` desc limit 1 [0;33m[][0m 0.52ms]
  3.  
  4. SQL[[1;33mselect count(*) as aggregate from `migrations` limit 1 [0;33m[][0m 0.45ms]
  5.  
  6. SQL[[1;33mSELECT version() [0;33m[][0m 0.29ms]
  7.  
  8. ===================================
  9. Version info:
  10. Commit SHA: 37ac9dffbed58a434a446893d84b4d33ad1d83c0
  11. Commit Date: 1620283571
  12. DB Schema: 2021_04_08_151101_add_foreign_keys_to_port_group_port_table (208)
  13. PHP: 7.4.3
  14. MySQL: 10.3.25-MariaDB-0ubuntu0.20.04.1
  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[[1;33mSELECT * FROM `devices` WHERE `disabled` = 0 AND `hostname` = '192.168.140.254' ORDER BY `device_id` ASC [0;33m[][0m 0.88ms]
  22.  
  23. SQL[[1;33mselect * from `devices` where `device_id` = ? limit 1 [0;33m[24][0m 0.88ms]
  24.  
  25. SQL[[1;33mselect * from `devices_attribs` where `devices_attribs`.`device_id` = ? and `devices_attribs`.`device_id` is not null [0;33m[24][0m 0.24ms]
  26.  
  27. Attempting to initialize OS: bintec  
  28. OS initialized as Generic  
  29. Hostname:    192.168.140.254
  30. Device ID:   24
  31. OS:          bintec
  32.  
  33.  
  34. SQL[[1;33mselect `hostname`, `overwrite_ip` from `devices` where `hostname` = ? limit 1 [0;33m["192.168.140.254"][0m 0.63ms]
  35.  
  36. [FPING] '/usr/bin/fping' '-e' '-q' '-c' '3' '-p' '500' '-t' '500' '192.168.140.254'
  37.  
  38. response:  {"xmt":3,"rcv":3,"loss":0,"min":16.7,"max":26.9,"avg":20.1,"dup":0,"exitcode":0}
  39. SQL[[1;33mselect `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` = ? [0;33m[24][0m 0.5ms]
  40.  
  41. SQL[[1;33mselect * from `locations` where `locations`.`id` = ? limit 1 [0;33m[15][0m 0.36ms]
  42.  
  43. SQL[[1;33mselect 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 `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` [0;33m["2021-05-06T13:35:36.701336Z","2021-05-06T13:35:36.701336Z",0,1,"13:35:36","13:35:36","13:35:36","13:35:36","[44m%","device",24,"location",15][0m 1.35ms]
  44.  
  45. SQL[[1;33mINSERT 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) [0;33m{"xmt":3,"rcv":3,"loss":0,"min":16.7,"max":26.9,"avg":20.1,"device_id":24,"debug":"[]"}[0m 4.6ms]
  46.  
  47. SQL[[1;33mUPDATE `devices` set `last_ping`=?,`last_ping_timetaken`=? WHERE device_id=? [0;33m["2021-05-06 15:35:36",20.1,24][0m 3.71ms]
  48.  
  49. SNMP Check response code: 0  
  50. Modules status: Global+  
  51. OS  
  52. Device  
  53.  
  54. #### Load poller module core ####
  55. SNMP[[0;36m'/usr/bin/snmpget' '-v2c' '-c' 'COMMUNITY' '-OQnUt' '-m' 'SNMPv2-MIB' '-M' '/opt/librenms/mibs' 'udp:HOSTNAME:161' 'sysUpTime.0' 'sysName.0' 'sysObjectID.0' 'sysDescr.0'[0m]
  56. .*.*.0 = 736408763
  57. .*.*.0 = P1 NS Plein Tilburg
  58. .*.*.0 = .*.4.1.2*.*.0
  59. .*.*.0 = RS353a  
  60.  
  61. SNMP[[0;36m'/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'[0m]
  62. Exitcode: 2  
  63. Error in packet
  64. Reason: (noSuchName) There is no such variable name in this MIB.
  65. Failed object: hrSystemUptime.0  
  66. snmpEngineTime.0 = 7364087  
  67. Error in packet
  68. Reason: (noSuchName) There is no such variable name in this MIB.
  69. Failed object: hrSystemUptime.0  
  70. Uptime seconds: 7364088  
  71. Uptime:  85 days 5 hours 34 minutes 48 seconds
  72.  
  73. >> Runtime for poller module 'core': 0.1122 seconds with 25496 bytes
  74. >> SNMP: [2/0.11s] MySQL: [0/0.00s]
  75. #### Unload poller module core ####
  76.  
  77. Modules status: Global+  
  78. OS  
  79. Device  
  80.  
  81. #### Load poller module availability ####
  82. SQL[[1;33mSELECT duration FROM availability WHERE device_id = ? [0;33m[24][0m 0.7ms]
  83.  
  84. Availability:
  85. SQL[[1;33mSELECT * FROM availability WHERE device_id = ? [0;33m[24][0m 0.5ms]
  86.  
  87. SQL[[1;33mselect * from `device_outages` where `device_id` = ? and `up_again` >= ? order by `going_down` asc [0;33m[24,1620221736][0m 0.78ms]
  88.  
  89. SQL[[1;33mUPDATE `availability` set `availability_perc`=? WHERE `availability_id` = ? [0;33m[100,89][0m 0.42ms]
  90.  
  91. 1 day : 100%
  92. SQL[[1;33mselect * from `device_outages` where `device_id` = ? and `up_again` >= ? order by `going_down` asc [0;33m[24,1619703336][0m 1.1ms]
  93.  
  94. SQL[[1;33mUPDATE `availability` set `availability_perc`=? WHERE `availability_id` = ? [0;33m[100,90][0m 0.37ms]
  95.  
  96. 7 days : 100%
  97. SQL[[1;33mselect * from `device_outages` where `device_id` = ? and `up_again` >= ? order by `going_down` asc [0;33m[24,1617716136][0m 1.1ms]
  98.  
  99. SQL[[1;33mUPDATE `availability` set `availability_perc`=? WHERE `availability_id` = ? [0;33m[99.931,91][0m 0.29ms]
  100.  
  101. 30 days : 99.931%
  102. SQL[[1;33mselect * from `device_outages` where `device_id` = ? and `up_again` >= ? order by `going_down` asc [0;33m[24,1588772136][0m 0.4ms]
  103.  
  104. SQL[[1;33mUPDATE `availability` set `availability_perc`=? WHERE `availability_id` = ? [0;33m[99.993,92][0m 0.26ms]
  105.  
  106. 365 days : 99.993%
  107.  
  108. >> Runtime for poller module 'availability': 0.0148 seconds with 39264 bytes
  109. >> SNMP: [0/0.00s] MySQL: [5/0.00s]
  110. #### Unload poller module availability ####
  111.  
  112. Modules status: Global-  
  113. OS  
  114. Device  
  115. Module [ unix-agent ] disabled globally.
  116.  
  117. Modules status: Global+  
  118. OS  
  119. Device  
  120.  
  121. #### Load poller module os ####
  122. Generic :(
  123. Location: NS Plein 14. Tilburg
  124. Hardware:
  125. OS Version:
  126. OS Features:
  127. Serial:
  128.  
  129. >> Runtime for poller module 'os': 0.0021 seconds with 93248 bytes
  130. >> SNMP: [0/0.00s] MySQL: [0/0.00s]
  131. #### Unload poller module os ####
  132.  
  133. Modules status: Global+  
  134. OS  
  135. Device  
  136.  
  137. #### Load poller module ipmi ####
  138. SQL[[1;33mSELECT * FROM sensors WHERE device_id = ? AND poller_type='ipmi' [0;33m[24][0m 0.66ms]
  139.  
  140. array (
  141. )  
  142.  
  143. >> Runtime for poller module 'ipmi': 0.0013 seconds with 2992 bytes
  144. >> SNMP: [0/0.00s] MySQL: [1/0.00s]
  145. #### Unload poller module ipmi ####
  146.  
  147. Modules status: Global+  
  148. OS  
  149. Device  
  150.  
  151. #### Load poller module sensors ####
  152. SQL[[1;33mSELECT `sensor_class` FROM `sensors` WHERE `device_id` = ? GROUP BY `sensor_class` [0;33m[24][0m 1.08ms]
  153.  
  154.  
  155. >> Runtime for poller module 'sensors': 0.0013 seconds with 1584 bytes
  156. >> SNMP: [0/0.00s] MySQL: [1/0.00s]
  157. #### Unload poller module sensors ####
  158.  
  159. Modules status: Global+  
  160. OS  
  161. Device  
  162.  
  163. #### Load poller module processors ####
  164. Attempting to initialize OS: bintec  
  165. OS initialized as Generic  
  166. SQL[[1;33mSELECT * FROM processors WHERE device_id=? [0;33m[24][0m 0.91ms]
  167.  
  168.  
  169. >> Runtime for poller module 'processors': 0.0022 seconds with 126008 bytes
  170. >> SNMP: [0/0.00s] MySQL: [1/0.00s]
  171. #### Unload poller module processors ####
  172.  
  173. Modules status: Global+  
  174. OS  
  175. Device  
  176.  
  177. #### Load poller module mempools ####
  178. SQL[[1;33mselect * from `mempools` where `mempools`.`device_id` = ? and `mempools`.`device_id` is not null [0;33m[24][0m 0.84ms]
  179.  
  180.  
  181. >> Runtime for poller module 'mempools': 0.0019 seconds with 75032 bytes
  182. >> SNMP: [0/0.00s] MySQL: [0/0.00s]
  183. #### Unload poller module mempools ####
  184.  
  185. Modules status: Global+  
  186. OS  
  187. Device  
  188.  
  189. #### Load poller module storage ####
  190. SQL[[1;33mSELECT * FROM storage WHERE device_id = ? [0;33m[24][0m 0.88ms]
  191.  
  192.  
  193. >> Runtime for poller module 'storage': 0.0011 seconds with 2032 bytes
  194. >> SNMP: [0/0.00s] MySQL: [1/0.00s]
  195. #### Unload poller module storage ####
  196.  
  197. Modules status: Global+  
  198. OS  
  199. Device  
  200.  
  201. #### Load poller module netstats ####
  202.  ICMPSNMP[[0;36m'/usr/bin/snmpwalk' '-v2c' '-c' 'COMMUNITY' '-OQUs' '-m' 'IP-MIB' '-M' '/opt/librenms/mibs' 'udp:HOSTNAME:161' 'icmp'[0m]
  203. icmpInMsgs.0 = 225004
  204. icmpInErrors.0 = 5
  205. icmpInDestUnreachs.0 = 5199
  206. icmpInTimeExcds.0 = 3221
  207. icmpInParmProbs.0 = 0
  208. icmpInSrcQuenchs.0 = 0
  209. icmpInRedirects.0 = 0
  210. icmpInEchos.0 = 206714
  211. icmpInEchoReps.0 = 9865
  212. icmpInTimestamps.0 = 0
  213. icmpInTimestampReps.0 = 0
  214. icmpInAddrMasks.0 = 0
  215. icmpInAddrMaskReps.0 = 0
  216. icmpOutMsgs.0 = 339361
  217. icmpOutErrors.0 = 0
  218. icmpOutDestUnreachs.0 = 936
  219. icmpOutTimeExcds.0 = 89509
  220. icmpOutParmProbs.0 = 0
  221. icmpOutSrcQuenchs.0 = 0
  222. icmpOutRedirects.0 = 0
  223. icmpOutEchos.0 = 42202
  224. icmpOutEchoReps.0 = 206714
  225. icmpOutTimestamps.0 = 0
  226. icmpOutTimestampReps.0 = 0
  227. icmpOutAddrMasks.0 = 0
  228. icmpOutAddrMaskReps.0 = 0  
  229.  
  230.  IPSNMP[[0;36m'/usr/bin/snmpgetnext' '-v2c' '-c' 'COMMUNITY' '-OQUs' '-m' 'IP-MIB' '-M' '/opt/librenms/mibs' 'udp:HOSTNAME:161' 'ipForwDatagrams' 'ipInDelivers' 'ipInReceives' 'ipOutRequests' 'ipInDiscards' 'ipOutDiscards' 'ipOutNoRoutes' 'ipReasmReqds' 'ipReasmOKs' 'ipReasmFails' 'ipFragOKs' 'ipFragFails' 'ipFragCreates' 'ipInUnknownProtos' 'ipInHdrErrors' 'ipInAddrErrors'[0m]
  231. ipForwDatagrams.0 = 1077485185
  232. ipInDelivers.0 = 4787625
  233. ipInReceives.0 = 1127331874
  234. ipOutRequests.0 = 4627597
  235. ipInDiscards.0 = 4088
  236. ipOutDiscards.0 = 280348
  237. ipOutNoRoutes.0 = 261
  238. ipReasmReqds.0 = 3957
  239. ipReasmOKs.0 = 1881
  240. ipReasmFails.0 = 177
  241. ipFragOKs.0 = 1871
  242. ipFragFails.0 = 0
  243. ipFragCreates.0 = 3760
  244. ipInUnknownProtos.0 = 0
  245. ipInHdrErrors.0 = 0
  246. ipInAddrErrors.0 = 843667  
  247.  
  248.  IP-FORWARDSNMP[[0;36m'/usr/bin/snmpget' '-v2c' '-c' 'COMMUNITY' '-OQv' '-M' '/opt/librenms/mibs' 'udp:HOSTNAME:161' 'IP-FORWARD-MIB::ipCidrRouteNumber.0'[0m]
  249. Exitcode: 2  
  250. Error in packet
  251. Reason: (noSuchName) There is no such variable name in this MIB.
  252. Failed object: IP-FORWARD-MIB::ipCidrRouteNumber.0  
  253.  
  254. Error in packet
  255. Reason: (noSuchName) There is no such variable name in this MIB.
  256. Failed object: IP-FORWARD-MIB::ipCidrRouteNumber.0  
  257.  SNMPSNMP[[0;36m'/usr/bin/snmpwalk' '-v2c' '-c' 'COMMUNITY' '-OQUs' '-m' 'SNMPv2-MIB' '-M' '/opt/librenms/mibs' 'udp:HOSTNAME:161' 'snmp'[0m]
  258. snmpInPkts.0 = 2346713
  259. snmpOutPkts.0 = 2345873
  260. snmpInBadVersions.0 = 0
  261. snmpInBadCommunityNames.0 = 156
  262. snmpInBadCommunityUses.0 = 0
  263. snmpInASNParseErrs.0 = 840
  264. snmpInTooBigs.0 = 0
  265. snmpInNoSuchNames.0 = 0
  266. snmpInBadValues.0 = 0
  267. snmpInReadOnlys.0 = 0
  268. snmpInGenErrs.0 = 0
  269. snmpInTotalReqVars.0 = 2661581
  270. snmpInTotalSetVars.0 = 0
  271. snmpInGetRequests.0 = 280809
  272. snmpInGetNexts.0 = 2065078
  273. snmpInSetRequests.0 = 0
  274. snmpInGetResponses.0 = 0
  275. snmpInTraps.0 = 0
  276. snmpOutTooBigs.0 = 0
  277. snmpOutNoSuchNames.0 = 228187
  278. snmpOutBadValues.0 = 0
  279. snmpOutGenErrs.0 = 0
  280. snmpOutGetRequests.0 = 2345894
  281. snmpOutGetNexts.0 = 0
  282. snmpOutSetRequests.0 = 0
  283. snmpOutGetResponses.0 = 0
  284. snmpOutTraps.0 = 0
  285. snmpEnableAuthenTraps.0 = enabled
  286. snmpSilentDrops.0 = 0
  287. snmpProxyDrops.0 = 0  
  288.  
  289.  TCPSNMP[[0;36m'/usr/bin/snmpgetnext' '-v2c' '-c' 'COMMUNITY' '-OQUs' '-m' 'TCP-MIB' '-M' '/opt/librenms/mibs' 'udp:HOSTNAME:161' 'tcpActiveOpens' 'tcpPassiveOpens' 'tcpAttemptFails' 'tcpEstabResets' 'tcpCurrEstab' 'tcpInSegs' 'tcpOutSegs' 'tcpRetransSegs' 'tcpInErrs' 'tcpOutRsts'[0m]
  290. tcpActiveOpens.0 = 0
  291. tcpPassiveOpens.0 = 125864
  292. tcpAttemptFails.0 = 0
  293. tcpEstabResets.0 = 392
  294. tcpCurrEstab.0 = 5
  295. tcpInSegs.0 = 535952
  296. tcpOutSegs.0 = 305702
  297. tcpRetransSegs.0 = 655
  298. tcpInErrs.0 = 0
  299. tcpOutRsts.0 = 2204  
  300.  
  301.  TCPHCSNMP[[0;36m'/usr/bin/snmpgetnext' '-v2c' '-c' 'COMMUNITY' '-OQUs' '-m' 'TCP-MIB' '-M' '/opt/librenms/mibs' 'udp:HOSTNAME:161' 'tcpHCInSegs.0' 'tcpHCOutSegs.0'[0m]
  302. tcpListenerTable.0 = 60
  303. tcpListenerTable.0 = 60  
  304.  
  305.  UDPSNMP[[0;36m'/usr/bin/snmpgetnext' '-v2c' '-c' 'COMMUNITY' '-OQUs' '-m' 'UDP-MIB' '-M' '/opt/librenms/mibs' 'udp:HOSTNAME:161' 'udpInDatagrams' 'udpOutDatagrams' 'udpInErrors' 'udpNoPorts'[0m]
  306. udpInDatagrams.0 = 4161716
  307. udpOutDatagrams.0 = 4279728
  308. udpInErrors.0 = 786
  309. udpNoPorts.0 = 89206  
  310.  
  311.  
  312.  
  313. >> Runtime for poller module 'netstats': 1.3076 seconds with 4176 bytes
  314. >> SNMP: [7/1.30s] MySQL: [0/0.00s]
  315. #### Unload poller module netstats ####
  316.  
  317. Modules status: Global+  
  318. OS  
  319. Device  
  320.  
  321. #### Load poller module hr-mib ####
  322. SNMP[[0;36m'/usr/bin/snmpget' '-v2c' '-c' 'COMMUNITY' '-OUQs' '-m' 'HOST-RESOURCES-MIB' '-M' '/opt/librenms/mibs' 'udp:HOSTNAME:161' 'hrSystemProcesses.0' 'hrSystemNumUsers.0'[0m]
  323. Exitcode: 2  
  324. Error in packet
  325. Reason: (noSuchName) There is no such variable name in this MIB.
  326. Failed object: hrSystemProcesses.0
  327.  
  328. Error in packet
  329. Reason: (noSuchName) There is no such variable name in this MIB.
  330. Failed object: hrSystemNumUsers.0  
  331.  
  332. Error in packet
  333. Reason: (noSuchName) There is no such variable name in this MIB.
  334. Failed object: hrSystemProcesses.0
  335.  
  336. Error in packet
  337. Reason: (noSuchName) There is no such variable name in this MIB.
  338. Failed object: hrSystemNumUsers.0  
  339.  
  340.  
  341. >> Runtime for poller module 'hr-mib': 0.0518 seconds with 1640 bytes
  342. >> SNMP: [1/0.05s] MySQL: [0/0.00s]
  343. #### Unload poller module hr-mib ####
  344.  
  345. Modules status: Global+  
  346. OS  
  347. Device  
  348.  
  349. #### Load poller module ucd-mib ####
  350. SNMP[[0;36m'/usr/bin/snmpwalk' '-v2c' '-c' 'COMMUNITY' '-OQUs' '-m' 'UCD-SNMP-MIB' '-M' '/opt/librenms/mibs' 'udp:HOSTNAME:161' 'systemStats'[0m]
  351.  
  352.  
  353. SNMP[[0;36m'/usr/bin/snmpget' '-v2c' '-c' 'COMMUNITY' '-OQUs' '-m' 'UCD-SNMP-MIB' '-M' '/opt/librenms/mibs' 'udp:HOSTNAME:161' 'laLoadInt.1' 'laLoadInt.2' 'laLoadInt.3'[0m]
  354. Exitcode: 2  
  355. Error in packet
  356. Reason: (noSuchName) There is no such variable name in this MIB.
  357. Failed object: laLoadInt.1
  358.  
  359. Error in packet
  360. Reason: (noSuchName) There is no such variable name in this MIB.
  361. Failed object: laLoadInt.2
  362.  
  363. Error in packet
  364. Reason: (noSuchName) There is no such variable name in this MIB.
  365. Failed object: laLoadInt.3  
  366.  
  367. Error in packet
  368. Reason: (noSuchName) There is no such variable name in this MIB.
  369. Failed object: laLoadInt.1
  370.  
  371. Error in packet
  372. Reason: (noSuchName) There is no such variable name in this MIB.
  373. Failed object: laLoadInt.2
  374.  
  375. Error in packet
  376. Reason: (noSuchName) There is no such variable name in this MIB.
  377. Failed object: laLoadInt.3  
  378.  
  379. >> Runtime for poller module 'ucd-mib': 0.1306 seconds with 1936 bytes
  380. >> SNMP: [2/0.13s] MySQL: [0/0.00s]
  381. #### Unload poller module ucd-mib ####
  382.  
  383. Modules status: Global+  
  384. OS  
  385. Device  
  386.  
  387. #### Load poller module ipSystemStats ####
  388. SNMP[[0;36m'/usr/bin/snmpwalk' '-v2c' '-c' 'COMMUNITY' '-OQUs' '-m' 'IP-MIB' '-M' '/opt/librenms/mibs' 'udp:HOSTNAME:161' 'ipSystemStats'[0m]
  389. ipSystemStatsIPVersion.ipv6.0 = unknown
  390. ipSystemStatsInReceives.ipv6.0 = 0
  391. ipSystemStatsHCInReceives.ipv6.0 = 0
  392. ipSystemStatsInOctets.ipv6.0 = 0
  393. ipSystemStatsHCInOctets.ipv6.0 = 0
  394. ipSystemStatsInHdrErrors.ipv6.0 = 0
  395. ipSystemStatsInNoRoutes.ipv6.0 = 0
  396. ipSystemStatsInAddrErrors.ipv6.0 = 0
  397. ipSystemStatsInUnknownProtos.ipv6.0 = 0
  398. ipSystemStatsInTruncatedPkts.ipv6.0 = 0
  399. ipSystemStatsInForwDatagrams.ipv6.0 = 0
  400. ipSystemStatsHCInForwDatagrams.ipv6.0 = 0
  401. ipSystemStatsReasmReqds.ipv6.0 = 0
  402. ipSystemStatsReasmOKs.ipv6.0 = 0
  403. ipSystemStatsReasmFails.ipv6.0 = 0
  404. ipSystemStatsInDiscards.ipv6.0 = 0
  405. ipSystemStatsInDelivers.ipv6.0 = 0
  406. ipSystemStatsHCInDelivers.ipv6.0 = 0
  407. ipSystemStatsOutRequests.ipv6.0 = 0
  408. ipSystemStatsHCOutRequests.ipv6.0 = 0
  409. ipSystemStatsOutNoRoutes.ipv6.0 = 0
  410. ipSystemStatsOutForwDatagrams.ipv6.0 = 0
  411. ipSystemStatsHCOutForwDatagrams.ipv6.0 = 0
  412. ipSystemStatsOutDiscards.ipv6.0 = 0
  413. ipSystemStatsOutFragReqds.ipv6.0 = 0
  414. ipSystemStatsOutFragOKs.ipv6.0 = 0
  415. ipSystemStatsOutFragFails.ipv6.0 = 0
  416. ipSystemStatsOutFragCreates.ipv6.0 = 0
  417. ipSystemStatsOutTransmits.ipv6.0 = 0
  418. ipSystemStatsHCOutTransmits.ipv6.0 = 0
  419. ipSystemStatsOutOctets.ipv6.0 = 0
  420. ipSystemStatsHCOutOctets.ipv6.0 = 0
  421. ipSystemStatsInMcastPkts.ipv6.0 = 0
  422. ipSystemStatsHCInMcastPkts.ipv6.0 = 0
  423. ipSystemStatsInMcastOctets.ipv6.0 = 0
  424. ipSystemStatsHCInMcastOctets.ipv6.0 = 0
  425. ipSystemStatsOutMcastPkts.ipv6.0 = 0
  426. ipSystemStatsHCOutMcastPkts.ipv6.0 = 0
  427. ipSystemStatsOutMcastOctets.ipv6.0 = 0
  428. ipSystemStatsHCOutMcastOctets.ipv6.0 = 0
  429. ipSystemStatsInBcastPkts.ipv6.0 = 0
  430. ipSystemStatsHCInBcastPkts.ipv6.0 = 0
  431. ipSystemStatsOutBcastPkts.ipv6.0 = 0
  432. ipSystemStatsHCOutBcastPkts.ipv6.0 = 0
  433. ipSystemStatsDiscontinuityTime.ipv6.0 = 85:5:34:50.03
  434. ipSystemStatsRefreshRate.ipv6.0 = 0  
  435.  
  436. ipv6.0
  437.  
  438. >> Runtime for poller module 'ipSystemStats': 0.8416 seconds with 17472 bytes
  439. >> SNMP: [1/0.84s] MySQL: [0/0.00s]
  440. #### Unload poller module ipSystemStats ####
  441.  
  442. Modules status: Global+  
  443. OS  
  444. Device  
  445.  
  446. #### Load poller module ports ####
  447. SQL[[1;33mSELECT *, `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 [0;33m[24][0m 3.17ms]
  448.  
  449. Caching Oids: Full ports polling SNMP[[0;36m'/usr/bin/snmpwalk' '-v2c' '-c' 'COMMUNITY' '-OQUs' '-m' 'IF-MIB' '-M' '/opt/librenms/mibs' 'udp:HOSTNAME:161' 'ifXEntry'[0m]
  450.  
  451.  
  452. SNMP[[0;36m'/usr/bin/snmpwalk' '-v2c' '-c' 'COMMUNITY' '-OQUst' '-m' 'IF-MIB' '-M' '/opt/librenms/mibs' 'udp:HOSTNAME:161' 'ifEntry'[0m]
  453. Exitcode: 1  
  454. Error: OID not increasing: ifIndex.35600000
  455.  >= ifIndex.30010001  
  456. ifIndex.0 = 0
  457. ifIndex.1 = 1
  458. ifIndex.2 = 2
  459. ifIndex.1000000 = 1000000
  460. ifIndex.1040000 = 1040000
  461. ifIndex.35600000 = 35600000
  462. ifIndex.30010001 = 30010001  
  463. Error: OID not increasing: ifIndex.35600000
  464.  >= ifIndex.30010001  
  465. dot3StatsDuplexStatusSNMP[[0;36m'/usr/bin/snmpwalk' '-v2c' '-c' 'COMMUNITY' '-OQUs' '-m' 'EtherLike-MIB' '-M' '/opt/librenms/mibs' 'udp:HOSTNAME:161' 'dot3StatsDuplexStatus'[0m]
  466.  
  467.  
  468. SNMP[[0;36m'/usr/bin/snmpwalk' '-v2c' '-c' 'COMMUNITY' '-OQUs' '-m' 'Q-BRIDGE-MIB' '-M' '/opt/librenms/mibs' 'udp:HOSTNAME:161' 'dot1qPvid'[0m]
  469.  
  470.  
  471. SQL[[1;33mSELECT COUNT(*) FROM `ports` WHERE `device_id` = ? AND `ifType` in ('adsl','vdsl') [0;33m[24][0m 1.56ms]
  472.  
  473. array (
  474.   0 =>
  475.   array (
  476.     'ifIndex' => '0',
  477.   ),
  478.   1 =>
  479.   array (
  480.     'ifIndex' => '1',
  481.   ),
  482.   2 =>
  483.   array (
  484.     'ifIndex' => '2',
  485.   ),
  486.   1000000 =>
  487.   array (
  488.     'ifIndex' => '1000000',
  489.   ),
  490.   1040000 =>
  491.   array (
  492.     'ifIndex' => '1040000',
  493.   ),
  494.   35600000 =>
  495.   array (
  496.     'ifIndex' => '35600000',
  497.   ),
  498.   30010001 =>
  499.   array (
  500.     'ifIndex' => '30010001',
  501.   ),
  502. )  
  503. ignored: empty ifDescr, ifAlias and ifName  
  504. ignored: empty ifDescr, ifAlias and ifName  
  505. ignored: empty ifDescr, ifAlias and ifName  
  506. ignored: empty ifDescr, ifAlias and ifName  
  507. ignored: empty ifDescr, ifAlias and ifName  
  508. ignored: empty ifDescr, ifAlias and ifName  
  509. ignored: empty ifDescr, ifAlias and ifName  
  510.  
  511. SQL[[1;33mupdate `ports` set `poll_time` = ?, `poll_prev` = ?, `poll_period` = ? where 0 = 1 [0;33m[1620308139,null,1620308139][0m 0.56ms]
  512.  
  513. 0 updated  
  514.  
  515. >> Runtime for poller module 'ports': 0.3271 seconds with 40800 bytes
  516. >> SNMP: [4/0.31s] MySQL: [1/0.00s]
  517. #### Unload poller module ports ####
  518.  
  519. Modules status: Global+  
  520. OS  
  521. Device  
  522.  
  523. #### Load poller module customoid ####
  524. SQL[[1;33mSELECT * FROM `customoids` WHERE `customoid_passed` = 1 AND `device_id` = ? [0;33m[24][0m 0.59ms]
  525.  
  526.  
  527. >> Runtime for poller module 'customoid': 0.0015 seconds with 2112 bytes
  528. >> SNMP: [0/0.00s] MySQL: [1/0.00s]
  529. #### Unload poller module customoid ####
  530.  
  531. Modules status: Global+  
  532. OS  
  533. Device  
  534.  
  535. #### Load poller module bgp-peers ####
  536. SQL[[1;33mSELECT * FROM `bgpPeers` AS B LEFT JOIN `vrfs` AS V ON `B`.`vrf_id` = `V`.`vrf_id` WHERE `B`.`device_id` = ? [0;33m[24][0m 0.61ms]
  537.  
  538.  
  539. >> Runtime for poller module 'bgp-peers': 0.0038 seconds with 15320 bytes
  540. >> SNMP: [0/0.00s] MySQL: [1/0.00s]
  541. #### Unload poller module bgp-peers ####
  542.  
  543. Modules status: Global-  
  544. OS  
  545. Device  
  546. Module [ junose-atm-vp ] disabled globally.
  547.  
  548. Modules status: Global-  
  549. OS  
  550. Device  
  551. Module [ printer-supplies ] disabled globally.
  552.  
  553. Modules status: Global+  
  554. OS  
  555. Device  
  556.  
  557. #### Load poller module ucd-diskio ####
  558. SQL[[1;33mSELECT * FROM `ucd_diskio` WHERE `device_id`  = ? [0;33m[24][0m 0.51ms]
  559.  
  560.  
  561. >> Runtime for poller module 'ucd-diskio': 0.0010 seconds with 1944 bytes
  562. >> SNMP: [0/0.00s] MySQL: [1/0.00s]
  563. #### Unload poller module ucd-diskio ####
  564.  
  565. Modules status: Global-  
  566. OS  
  567. Device  
  568. Module [ wifi ] disabled globally.
  569.  
  570. Modules status: Global+  
  571. OS  
  572. Device  
  573.  
  574. #### Load poller module wireless ####
  575. Attempting to initialize OS: bintec  
  576. OS initialized as Generic  
  577. SQL[[1;33mSELECT * FROM `wireless_sensors` WHERE `device_id` = ? [0;33m[24][0m 0.99ms]
  578.  
  579.  
  580. >> Runtime for poller module 'wireless': 0.0034 seconds with 104168 bytes
  581. >> SNMP: [0/0.00s] MySQL: [1/0.00s]
  582. #### Unload poller module wireless ####
  583.  
  584. Modules status: Global+  
  585. OS  
  586. Device  
  587.  
  588. #### Load poller module ospf ####
  589.  Processes: SNMP[[0;36m'/usr/bin/snmpwalk' '-v2c' '-c' 'COMMUNITY' '-OQUs' '-m' 'OSPF-MIB' '-M' '/opt/librenms/mibs' 'udp:HOSTNAME:161' 'OSPF-MIB::ospfGeneralGroup'[0m]
  590.  
  591.  
  592. array (
  593. )  
  594. SQL[[1;33mdelete from `ospf_instances` where (`device_id` = ? and `context_name` is null) and 1 = 1 [0;33m[24][0m 1.09ms]
  595.  
  596. 0
  597. >> Runtime for poller module 'ospf': 0.0591 seconds with 31752 bytes
  598. >> SNMP: [1/0.06s] MySQL: [0/0.00s]
  599. #### Unload poller module ospf ####
  600.  
  601. Modules status: Global-  
  602. OS  
  603. Device  
  604. Module [ cisco-ipsec-flow-monitor ] disabled globally.
  605.  
  606. Modules status: Global-  
  607. OS  
  608. Device  
  609. Module [ cisco-remote-access-monitor ] disabled globally.
  610.  
  611. Modules status: Global-  
  612. OS  
  613. Device  
  614. Module [ cisco-cef ] disabled globally.
  615.  
  616. Modules status: Global-  
  617. OS  
  618. Device  
  619. Module [ cisco-sla ] disabled globally.
  620.  
  621. Modules status: Global-  
  622. OS  
  623. Device  
  624. Module [ cisco-mac-accounting ] disabled globally.
  625.  
  626. Modules status: Global-  
  627. OS  
  628. Device  
  629. Module [ cipsec-tunnels ] disabled globally.
  630.  
  631. Modules status: Global-  
  632. OS  
  633. Device  
  634. Module [ cisco-ace-loadbalancer ] disabled globally.
  635.  
  636. Modules status: Global-  
  637. OS  
  638. Device  
  639. Module [ cisco-ace-serverfarms ] disabled globally.
  640.  
  641. Modules status: Global-  
  642. OS  
  643. Device  
  644. Module [ cisco-asa-firewall ] disabled globally.
  645.  
  646. Modules status: Global-  
  647. OS  
  648. Device  
  649. Module [ cisco-voice ] disabled globally.
  650.  
  651. Modules status: Global-  
  652. OS  
  653. Device  
  654. Module [ cisco-cbqos ] disabled globally.
  655.  
  656. Modules status: Global-  
  657. OS  
  658. Device  
  659. Module [ cisco-otv ] disabled globally.
  660.  
  661. Modules status: Global-  
  662. OS  
  663. Device  
  664. Module [ cisco-qfp ] disabled globally.
  665.  
  666. Modules status: Global-  
  667. OS  
  668. Device  
  669. Module [ cisco-vpdn ] disabled globally.
  670.  
  671. Modules status: Global-  
  672. OS  
  673. Device  
  674. Module [ nac ] disabled globally.
  675.  
  676. Modules status: Global-  
  677. OS  
  678. Device  
  679. Module [ netscaler-vsvr ] disabled globally.
  680.  
  681. Modules status: Global-  
  682. OS  
  683. Device  
  684. Module [ aruba-controller ] disabled globally.
  685.  
  686. Modules status: Global+  
  687. OS  
  688. Device  
  689.  
  690. #### Load poller module entity-physical ####
  691. SQL[[1;33mSELECT * FROM `entPhysical_state` WHERE `device_id` = ? [0;33m[24][0m 0.61ms]
  692.  
  693.  
  694. >> Runtime for poller module 'entity-physical': 0.0017 seconds with 2152 bytes
  695. >> SNMP: [0/0.00s] MySQL: [1/0.00s]
  696. #### Unload poller module entity-physical ####
  697.  
  698. Modules status: Global-  
  699. OS  
  700. Device  
  701. Module [ entity-state ] disabled globally.
  702.  
  703. Modules status: Global+  
  704. OS  
  705. Device  
  706.  
  707. #### Load poller module applications ####
  708. SQL[[1;33mSELECT * FROM `applications` WHERE `device_id`  = ? [0;33m[24][0m 0.43ms]
  709.  
  710.  
  711. >> Runtime for poller module 'applications': 0.0007 seconds with 1592 bytes
  712. >> SNMP: [0/0.00s] MySQL: [1/0.00s]
  713. #### Unload poller module applications ####
  714.  
  715. Modules status: Global-  
  716. OS  
  717. Device  
  718. Module [ mib ] disabled globally.
  719.  
  720. Modules status: Global+  
  721. OS  
  722. Device  
  723.  
  724. #### Load poller module stp ####
  725. SQL[[1;33mSELECT * FROM `stp` WHERE `device_id` = ? [0;33m[24][0m 1.05ms]
  726.  
  727. SNMP[[0;36m'/usr/bin/snmpget' '-v2c' '-c' 'COMMUNITY' '-Oqv' '-m' 'RSTP-MIB' '-M' '/opt/librenms/mibs' 'udp:HOSTNAME:161' 'dot1dStpProtocolSpecification.0'[0m]
  728. Exitcode: 2  
  729. Error in packet
  730. Reason: (noSuchName) There is no such variable name in this MIB.
  731. Failed object: BRIDGE-MIB::dot1dStpProtocolSpecification.0  
  732.  
  733. Error in packet
  734. Reason: (noSuchName) There is no such variable name in this MIB.
  735. Failed object: BRIDGE-MIB::dot1dStpProtocolSpecification.0  
  736.  
  737.  
  738. >> Runtime for poller module 'stp': 0.0387 seconds with -7552 bytes
  739. >> SNMP: [1/0.04s] MySQL: [1/0.00s]
  740. #### Unload poller module stp ####
  741.  
  742. Modules status: Global+  
  743. OS  
  744. Device  
  745.  
  746. #### Load poller module ntp ####
  747.  
  748. >> Runtime for poller module 'ntp': 0.0003 seconds with 400 bytes
  749. >> SNMP: [0/0.00s] MySQL: [0/0.00s]
  750. #### Unload poller module ntp ####
  751.  
  752. Modules status: Global-  
  753. OS  
  754. Device  
  755. Module [ loadbalancers ] disabled globally.
  756.  
  757. Modules status: Global-  
  758. OS  
  759. Device  
  760. Module [ mef ] disabled globally.
  761.  
  762. Modules status: Global+  
  763. OS  
  764. Device  
  765.  
  766. #### Load poller module mpls ####
  767.  
  768. >> Runtime for poller module 'mpls': 0.0012 seconds with 24080 bytes
  769. >> SNMP: [0/0.00s] MySQL: [0/0.00s]
  770. #### Unload poller module mpls ####
  771.  
  772. Enabling graphs: SQL[[1;33mselect * from `device_graphs` where `device_graphs`.`device_id` = ? and `device_graphs`.`device_id` is not null [0;33m[24][0m 0.8ms]
  773.  
  774.  
  775. SQL[[1;33mUPDATE `devices` set `uptime`=?,`last_ping`=NOW(),`last_ping_timetaken`=?,`last_polled`=NOW(),`last_polled_timetaken`=? WHERE `device_id` = ? [0;33m[7364088,20.1,4.035,24][0m 5.1ms]
  776.  
  777. Updating 192.168.140.254  
  778.  
  779. Polled in 4.035 seconds
  780. ### Start Device Groups ###
  781. SQL[[1;33mselect * from `devices` where `devices`.`device_id` = ? limit 1 [0;33m[24][0m 1.29ms]
  782.  
  783. SQL[[1;33mselect * from `device_groups` [0;33m[][0m 0.26ms]
  784.  
  785. SQL[[1;33mselect * from `device_group_device` where `device_group_device`.`device_id` = ? [0;33m[24][0m 0.28ms]
  786.  
  787. Groups Added:  
  788. Groups Removed:  
  789. ### End Device Groups, runtime: 0.0032s ###
  790.  
  791. #### Start Alerts ####
  792. SQL[[1;33mselect 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 `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` [0;33m["2021-05-06T13:35:39.698311Z","2021-05-06T13:35:39.698311Z",0,1,"13:35:39","13:35:39","13:35:39","13:35:39","[44m%","device",24,"location",15][0m 1.95ms]
  793.  
  794. SQL[[1;33mselect * from `devices` where `devices`.`device_id` = ? limit 1 [0;33m[24][0m 0.54ms]
  795.  
  796. SQL[[1;33mSELECT DISTINCT a.* FROM alert_rules a
  797.         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 = ?)
  798.         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 = ?))
  799.         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 = ?))
  800.         LEFT JOIN device_group_device dg ON g.group_id=dg.device_group_id AND dg.device_id = ?
  801.         WHERE a.disabled = 0 AND (
  802.             (d.device_id IS NULL AND g.group_id IS NULL)
  803.             OR (a.invert_map = 0 AND (d.device_id=? OR dg.device_id=?))
  804.             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))
  805.         ) [0;33m[24,24,24,24,24,24,24,24][0m 2.55ms]
  806.  
  807. #### End Alerts ####
  808. ./poller.php 192.168.140.254 2021-05-06 15:35:39 - 1 devices polled in 4.261 secs  
  809. SNMP [20/2.87s]: Get[7/0.35s] Getnext[4/0.15s] Walk[9/2.37s]
  810. MySQL [22/0.04s]: Cell[2/0.00s] Row[-1/-0.00s] Rows[13/0.02s] Column[1/0.00s] Update[6/0.01s] Insert[1/0.01s] Delete[0/0.00s]
  811.