ℹ️ Your data is safe here... unless you make the SNIP gods angry. And let's just say they have a really bad sense of humor.

From Anthony Mullen, 6 Years ago, written in Plain Text.
  1. LibreNMS Poller
  2. SQL[[1;33mselect `version` from `dbSchema` order by `version` desc limit 1 [0;33m[][0m 0.24ms]
  3. SQL[[1;33mSELECT version() [0;33m[][0m 0.13ms]
  4. ===================================
  5. Version info:
  6. Commit SHA: 3ed20e5f300c77349476f7f3ed12c9f401c0361b
  7. Commit Date: 1539914950
  8. DB Schema: 269
  9. PHP: 7.0.32-0ubuntu0.16.04.1
  10. MySQL: 10.0.36-MariaDB-0ubuntu0.16.04.1
  11. RRDTool: 1.5.5
  12. SNMP: NET-SNMP 5.7.3
  13. ==================================DEBUG!
  14. Updating os_def.cache... Done
  15. Override poller modules: toner
  16. Starting polling run:
  17.  
  18. SQL[[1;33mSELECT * FROM `devices` WHERE `disabled` = 0 AND `hostname` = 'math-pp-ah123.math.illinois.edu' ORDER BY `device_id` ASC [0;33m[][0m 1.92ms]
  19. SQL[[1;33mSELECT * FROM devices_attribs WHERE `device_id` = ? [0;33m[46][0m 0.21ms]
  20. Hostname: math-pp-ah123.math.illinois.edu
  21. Device ID: 46
  22. OS: jetdirect (printer)
  23.  
  24. [FPING] /usr/bin/fping -e -q -c 3 -p 500 -t 500 math-pp-ah123.math.illinois.edu
  25. Array
  26. (
  27.     [xmt] => 3
  28.     [rcv] => 3
  29.     [loss] => 0
  30.     [min] => 0.55
  31.     [max] => 0.78
  32.     [avg] => 0.68
  33.     [exitcode] => 0
  34. )
  35. SQL[[1;33mINSERT IGNORE INTO `device_perf` (`xmt`,`rcv`,`loss`,`min`,`max`,`avg`,`device_id`,`timestamp`)  VALUES (:xmt,:rcv,:loss,:min,:max,:avg,:device_id,NOW()) [0;33m{"xmt":"3","rcv":"3","loss":"0","min":"0.55","max":"0.78","avg":"0.68","device_id":46}[0m 1.03ms]
  36. SNMP Check response code: 0
  37. Modules status: Global+ OS  Device  
  38. #### Load poller module core ####
  39. SNMP[[0;36m/usr/bin/snmpget -v2c -c COMMUNITY -OQnUt -m SNMPv2-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 sysUpTime.0 sysLocation.0 sysContact.0 sysName.0 sysObjectID.0 sysDescr.0[0m]
  40. .*.*.0 = 43849785
  41. .*.*.0 =
  42. .*.*.0 =
  43. .*.*.0 = ah130
  44. .*.*.0 = .*.*.3.9.1
  45. .*.*.0 = HP ETHERNET MULTI-ENVIRONMENT,ROM none,JETDIRECT,JD149,EEPROM JDI23701070,CIDATE 02/24/2016
  46.  
  47. 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]
  48. snmpEngineTime.0 = No Such Instance currently exists at this OID
  49. hrSystemUptime.0 = No Such Instance currently exists at this OID
  50.  
  51. Uptime seconds: 438498
  52. RRD[[0;32mupdate math-pp-ah123.math.illinois.edu/uptime.rrd N:438498 --daemon unix:/var/run/rrdcached.sock[0m]
  53. [[0;31mRRD Disabled[0m]Uptime: 5 days, 1h 48m 18s
  54.  
  55. >> Runtime for poller module 'core': 0.0328 seconds with 15560 bytes
  56. >> SNMP: [2/0.03s] MySQL: [0/0.00s] RRD: [0/0.00s]
  57. #### Unload poller module core ####
  58.  
  59. RRD[[0;32mupdate math-pp-ah123.math.illinois.edu/poller-perf-core.rrd N:0.032807111740112 --daemon unix:/var/run/rrdcached.sock[0m]
  60. [[0;31mRRD Disabled[0m]Modules status: Global+ OS+ Device  
  61. #### Load poller module toner ####
  62. SQL[[1;33mSELECT * FROM toner WHERE device_id = ? [0;33m[46][0m 0.3ms]
  63. Checking toner Maintenance Kit HP 110V-CF064A, ... SNMP[[0;36m/usr/bin/snmpget -v2c -c COMMUNITY -OUqnv -M /opt/librenms/mibs udp:HOSTNAME:161 .1.3.6.1.2.1.43.11.1.1.9.1.2[0m]
  64. 37
  65.  
  66. 37 %
  67. RRD[[0;32mupdate math-pp-ah123.math.illinois.edu/toner-2.rrd N:37 --daemon unix:/var/run/rrdcached.sock[0m]
  68. [[0;31mRRD Disabled[0m]SQL[[1;33mUPDATE `toner` set `toner_current`=?,`toner_capacity`=? WHERE `toner_id` = ? [0;33m[37,100,22][0m 1.11ms]
  69.  
  70. >> Runtime for poller module 'toner': 0.0267 seconds with 6752 bytes
  71. >> SNMP: [1/0.02s] MySQL: [2/0.00s] RRD: [0/0.00s]
  72. #### Unload poller module toner ####
  73.  
  74. RRD[[0;32mupdate math-pp-ah123.math.illinois.edu/poller-perf-toner.rrd N:0.026711940765381 --daemon unix:/var/run/rrdcached.sock[0m]
  75. [[0;31mRRD Disabled[0m]### Start Device Groups ###
  76. SQL[[1;33mSELECT * FROM device_groups ORDER BY name [0;33m[][0m 0.18ms]
  77. SQL[[1;33mSELECT DISTINCT(devices.device_id) FROM devices WHERE  devices.device_id=? AND (devices.type = "Printer"  ) LIMIT 1 [0;33m[46][0m 0.34ms]
  78. SQL[[1;33mSELECT DISTINCT(devices.device_id) FROM devices WHERE  devices.device_id=? AND (devices.os = "brother") LIMIT 1 [0;33m[46][0m 0.25ms]
  79. SQL[[1;33mSELECT DISTINCT(devices.device_id) FROM devices WHERE  devices.device_id=? AND (devices.os = "jetdirect") LIMIT 1 [0;33m[46][0m 0.25ms]
  80. SQL[[1;33mSELECT DISTINCT(devices.device_id) FROM devices WHERE  devices.device_id=? AND (devices.os = "xerox") LIMIT 1 [0;33m[46][0m 0.2ms]
  81. SQL[[1;33mSELECT `device_group_id` FROM `device_group_device` WHERE `device_id`=? [0;33m[46][0m 0.14ms]
  82. Groups Added:
  83. Groups Removed:
  84. ### End Device Groups ###
  85. RRD[[0;32mupdate math-pp-ah123.math.illinois.edu/ping-perf.rrd N:0.68 --daemon unix:/var/run/rrdcached.sock[0m]
  86. [[0;31mRRD Disabled[0m]RRD[[0;32mupdate math-pp-ah123.math.illinois.edu/poller-perf.rrd N:1.1 --daemon unix:/var/run/rrdcached.sock[0m]
  87. [[0;31mRRD Disabled[0m]SQL[[1;33mUPDATE `devices` set `uptime`=?,`last_ping`=NOW(),`last_ping_timetaken`=? WHERE `device_id` = ? [0;33m[438498,"0.68",46][0m 0.68ms]
  88. Updating math-pp-ah123.math.illinois.edu
  89.  
  90. Polled in 1.1 seconds
  91. #### Start Alerts ####
  92. SQL[[1;33mSELECT `device_group_id` FROM `device_group_device` WHERE `device_id`=? [0;33m[46][0m 0.14ms]
  93. SQL[[1;33mSELECT alert_schedule.schedule_id FROM alert_schedule LEFT JOIN alert_schedule_items ON alert_schedule.schedule_id=alert_schedule_items.schedule_id WHERE ( alert_schedule_items.target = ? || alert_schedule_items.target = ? || alert_schedule_items.target = ? ) && ((alert_schedule.recurring = 0 AND (NOW() BETWEEN alert_schedule.start AND alert_schedule.end)) OR (alert_schedule.recurring = 1 AND (alert_schedule.start_recurring_dt <= date_format(NOW(), '[1;33m-[0;35m-%d') AND (end_recurring_dt >= date_format(NOW(), '[1;33m-[0;35m-%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(), '[0;37m'),'%') OR recurring_day is null or recurring_day = ''))) LIMIT 1 [0;33m[46,"g2","g5"][0m 0.31ms]
  94. SQL[[1;33mSELECT DISTINCT a.* FROM alert_rules a
  95.   LEFT JOIN alert_device_map d ON a.id=d.rule_id
  96.   LEFT JOIN alert_group_map g ON a.id=g.rule_id
  97.   LEFT JOIN device_group_device dg ON g.group_id=dg.device_group_id
  98.   WHERE a.disabled = 0 AND ((d.device_id IS NULL AND g.group_id IS NULL) OR d.device_id=? OR dg.device_id=?) [0;33m[46,46][0m 0.2ms]
  99. Rule [0;35m#2 (Device rebooted):[0m
  100. SQL[[1;33mSELECT * FROM devices WHERE (devices.device_id = ?) && (devices.uptime < "300"  &&  ((devices.disabled = 0  &&  devices.ignore = 0)) = "1") [0;33m[46][0m 0.28ms]
  101. SQL[[1;33mSELECT state FROM alerts WHERE rule_id = ? AND device_id = ? ORDER BY id DESC LIMIT 1 [0;33m[2,46][0m 0.19ms]
  102. Status: [0;34mNOCHG[0m
  103. Rule [0;35m#3 (BGP Session down):[0m
  104. SQL[[1;33mSELECT * FROM bgpPeers,devices WHERE (( devices.device_id = bgpPeers.device_id ) && bgpPeers.device_id = ?) && (bgpPeers.bgpPeerState != "established"  &&  ((devices.status = 1  &&  ((devices.disabled = 0  &&  devices.ignore = 0)))) = "1") [0;33m[46][0m 0.34ms]
  105. SQL[[1;33mSELECT state FROM alerts WHERE rule_id = ? AND device_id = ? ORDER BY id DESC LIMIT 1 [0;33m[3,46][0m 0.14ms]
  106. Status: [0;34mNOCHG[0m
  107. Rule [0;35m#4 (BGP Session established):[0m
  108. SQL[[1;33mSELECT * FROM bgpPeers WHERE (bgpPeers.device_id = ?) && (bgpPeers.bgpPeerFsmEstablishedTime < "300"  &&  bgpPeers.bgpPeerState = "established") [0;33m[46][0m 0.18ms]
  109. SQL[[1;33mSELECT state FROM alerts WHERE rule_id = ? AND device_id = ? ORDER BY id DESC LIMIT 1 [0;33m[4,46][0m 0.16ms]
  110. Status: [0;34mNOCHG[0m
  111. Rule [0;35m#5 (Port status up/down):[0m
  112. SQL[[1;33mSELECT * FROM ports WHERE (ports.device_id = ?) && (((ports.ifOperStatus = "down"  &&  ports.ifAdminStatus != "down"  &&  ((ports.deleted = 0  &&  ports.ignore = 0  &&  ports.disabled = 0)))) = "1") [0;33m[46][0m 0.35ms]
  113. SQL[[1;33mSELECT state FROM alerts WHERE rule_id = ? AND device_id = ? ORDER BY id DESC LIMIT 1 [0;33m[5,46][0m 0.14ms]
  114. Status: [0;34mNOCHG[0m
  115. Rule [0;35m#6 (Port utilisation over threshold):[0m
  116. SQL[[1;33mSELECT * FROM ports WHERE (ports.device_id = ?) && ((((ports.ifInOctets_rate*8) / ports.ifSpeed)*100) >= "80"  &&  ((ports.ifOperStatus = "up"  &&  ports.ifAdminStatus = "up"  &&  ((ports.deleted = 0  &&  ports.ignore = 0  &&  ports.disabled = 0)))) = "1"  &&  ((ports.deleted = 0  &&  ports.ignore = 0  &&  ports.disabled = 0)) = "1") [0;33m[46][0m 0.33ms]
  117. SQL[[1;33mSELECT state FROM alerts WHERE rule_id = ? AND device_id = ? ORDER BY id DESC LIMIT 1 [0;33m[6,46][0m 0.14ms]
  118. Status: [0;34mNOCHG[0m
  119. Rule [0;35m#7 (Sensor over limit):[0m
  120. SQL[[1;33mSELECT * FROM sensors WHERE (sensors.device_id = ?) && (sensors.sensor_current > sensors.sensor_limit  &&  sensors.sensor_alert = "1") [0;33m[46][0m 0.16ms]
  121. SQL[[1;33mSELECT state FROM alerts WHERE rule_id = ? AND device_id = ? ORDER BY id DESC LIMIT 1 [0;33m[7,46][0m 0.14ms]
  122. Status: [0;34mNOCHG[0m
  123. Rule [0;35m#8 (Sensor under limit):[0m
  124. SQL[[1;33mSELECT * FROM sensors WHERE (sensors.device_id = ?) && (sensors.sensor_current &lt; sensors.sensor_limit_low  &&  sensors.sensor_alert = "1") [0;33m[46][0m 0.16ms]
  125. SQL[[1;33mSELECT state FROM alerts WHERE rule_id = ? AND device_id = ? ORDER BY id DESC LIMIT 1 [0;33m[8,46][0m 0.13ms]
  126. Status: [0;34mNOCHG[0m
  127. #### End Alerts ####
  128. SQL[[1;33mINSERT IGNORE INTO `perf_times` (`type`,`doing`,`start`,`duration`,`devices`,`poller`)  VALUES (:type,:doing,:start,:duration,:devices,:poller) [0;33m{"type":"poll","doing":"math-pp-ah123.math.illinois.edu","start":1539979326.4059,"duration":"1.206","devices":1,"poller":"librenms"}[0m 0.62ms]
  129. ./poller.php math-pp-ah123.math.illinois.edu 2018-10-19 15:02:07 - 1 devices polled in 1.206 secs
  130. SNMP [4/0.08s]: Get[4/0.08s] Getnext[0/0.00s] Walk[0/0.00s]
  131. MySQL [16/0.01s]: Cell[13/0.00s] Row[-13/-0.00s] Rows[10/0.00s] Column[2/0.00s] Update[2/0.00s] Insert[2/0.00s] Delete[0/0.00s]
  132. RRD [0/0.00s]: Update[0/0.00s] Create [0/0.00s] Other[0/0.00s]
  133.  

Replies to Re: LibreNMS not displaying toner but Zabbix claim rss

Title Name Language When
Re: Re: LibreNMS not displaying toner but Zabbix c Anthony Mullen text 6 Years ago.
captcha