ℹ️ 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.26ms]
  3. SQL[[1;33mSELECT version() [0;33m[][0m 0.21ms]
  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` = '130.126.110.253' ORDER BY `device_id` ASC [0;33m[][0m 3.02ms]
  19. SQL[[1;33mSELECT * FROM devices_attribs WHERE `device_id` = ? [0;33m[45][0m 0.2ms]
  20. Hostname: 130.126.110.253
  21. Device ID: 45
  22. OS: jetdirect
  23. Warning: inet_pton(): Unrecognized address  in /opt/librenms/includes/polling/functions.inc.php on line 248
  24.  (printer)
  25.  
  26. [FPING] /usr/bin/fping -e -q -c 3 -p 500 -t 500 130.126.110.253
  27. Array
  28. (
  29.     [xmt] => 3
  30.     [rcv] => 3
  31.     [loss] => 0
  32.     [min] => 0.60
  33.     [max] => 1.01
  34.     [avg] => 0.79
  35.     [exitcode] => 0
  36. )
  37. 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.60","max":"1.01","avg":"0.79","device_id":45}[0m 0.96ms]
  38. SNMP Check response code: 0
  39. Modules status: Global+ OS  Device  
  40. #### Load poller module core ####
  41. 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]
  42. .*.*.0 = 64276031
  43. .*.*.0 =
  44. .*.*.0 =
  45. .*.*.0 = ih325
  46. .*.*.0 = .*.*.3.9.1
  47. .*.*.0 = HP ETHERNET MULTI-ENVIRONMENT,ROM none,JETDIRECT,JD149,EEPROM JDI23701070,CIDATE 02/24/2016
  48.  
  49. 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]
  50. snmpEngineTime.0 = No Such Instance currently exists at this OID
  51. hrSystemUptime.0 = No Such Instance currently exists at this OID
  52.  
  53. Uptime seconds: 642760
  54. RRD[[0;32mupdate 130.126.110.253/uptime.rrd N:642760 --daemon unix:/var/run/rrdcached.sock[0m]
  55. [[0;31mRRD Disabled[0m]Uptime: 7 days, 10h 32m 40s
  56.  
  57. >> Runtime for poller module 'core': 0.0244 seconds with 15544 bytes
  58. >> SNMP: [2/0.02s] MySQL: [0/0.00s] RRD: [0/0.00s]
  59. #### Unload poller module core ####
  60.  
  61. RRD[[0;32mupdate 130.126.110.253/poller-perf-core.rrd N:0.0244460105896 --daemon unix:/var/run/rrdcached.sock[0m]
  62. [[0;31mRRD Disabled[0m]Modules status: Global+ OS+ Device  
  63. #### Load poller module toner ####
  64. SQL[[1;33mSELECT * FROM toner WHERE device_id = ? [0;33m[45][0m 0.38ms]
  65. Checking toner Black Cartridge 90X HP CE390X.... 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.1[0m]
  66. 19
  67.  
  68. 19 %
  69. RRD[[0;32mupdate 130.126.110.253/toner-1.rrd N:19 --daemon unix:/var/run/rrdcached.sock[0m]
  70. [[0;31mRRD Disabled[0m]SQL[[1;33mUPDATE `toner` set `toner_current`=?,`toner_capacity`=? WHERE `toner_id` = ? [0;33m[19,100,23][0m 0.96ms]
  71. 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]
  72. 82
  73.  
  74. 82 %
  75. RRD[[0;32mupdate 130.126.110.253/toner-2.rrd N:82 --daemon unix:/var/run/rrdcached.sock[0m]
  76. [[0;31mRRD Disabled[0m]SQL[[1;33mUPDATE `toner` set `toner_current`=?,`toner_capacity`=? WHERE `toner_id` = ? [0;33m[82,100,24][0m 1.06ms]
  77.  
  78. >> Runtime for poller module 'toner': 0.0328 seconds with 7664 bytes
  79. >> SNMP: [2/0.03s] MySQL: [3/0.00s] RRD: [0/0.00s]
  80. #### Unload poller module toner ####
  81.  
  82. RRD[[0;32mupdate 130.126.110.253/poller-perf-toner.rrd N:0.032778024673462 --daemon unix:/var/run/rrdcached.sock[0m]
  83. [[0;31mRRD Disabled[0m]### Start Device Groups ###
  84. SQL[[1;33mSELECT * FROM device_groups ORDER BY name [0;33m[][0m 0.22ms]
  85. SQL[[1;33mSELECT DISTINCT(devices.device_id) FROM devices WHERE  devices.device_id=? AND (devices.type = "Printer"  ) LIMIT 1 [0;33m[45][0m 0.34ms]
  86. SQL[[1;33mSELECT DISTINCT(devices.device_id) FROM devices WHERE  devices.device_id=? AND (devices.os = "brother") LIMIT 1 [0;33m[45][0m 0.2ms]
  87. SQL[[1;33mSELECT DISTINCT(devices.device_id) FROM devices WHERE  devices.device_id=? AND (devices.os = "jetdirect") LIMIT 1 [0;33m[45][0m 0.24ms]
  88. SQL[[1;33mSELECT DISTINCT(devices.device_id) FROM devices WHERE  devices.device_id=? AND (devices.os = "xerox") LIMIT 1 [0;33m[45][0m 0.2ms]
  89. SQL[[1;33mSELECT `device_group_id` FROM `device_group_device` WHERE `device_id`=? [0;33m[45][0m 0.15ms]
  90. Groups Added:
  91. Groups Removed:
  92. ### End Device Groups ###
  93. RRD[[0;32mupdate 130.126.110.253/ping-perf.rrd N:0.79 --daemon unix:/var/run/rrdcached.sock[0m]
  94. [[0;31mRRD Disabled[0m]RRD[[0;32mupdate 130.126.110.253/poller-perf.rrd N:1.084 --daemon unix:/var/run/rrdcached.sock[0m]
  95. [[0;31mRRD Disabled[0m]SQL[[1;33mUPDATE `devices` set `uptime`=?,`last_ping`=NOW(),`last_ping_timetaken`=? WHERE `device_id` = ? [0;33m[642760,"0.79",45][0m 0.84ms]
  96. Updating 130.126.110.253
  97.  
  98. Polled in 1.084 seconds
  99. #### Start Alerts ####
  100. SQL[[1;33mSELECT `device_group_id` FROM `device_group_device` WHERE `device_id`=? [0;33m[45][0m 0.15ms]
  101. 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[45,"g2","g5"][0m 0.41ms]
  102. SQL[[1;33mSELECT DISTINCT a.* FROM alert_rules a
  103.   LEFT JOIN alert_device_map d ON a.id=d.rule_id
  104.   LEFT JOIN alert_group_map g ON a.id=g.rule_id
  105.   LEFT JOIN device_group_device dg ON g.group_id=dg.device_group_id
  106.   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[45,45][0m 0.18ms]
  107. Rule [0;35m#2 (Device rebooted):[0m
  108. SQL[[1;33mSELECT * FROM devices WHERE (devices.device_id = ?) && (devices.uptime < "300"  &&  ((devices.disabled = 0  &&  devices.ignore = 0)) = "1") [0;33m[45][0m 0.32ms]
  109. SQL[[1;33mSELECT state FROM alerts WHERE rule_id = ? AND device_id = ? ORDER BY id DESC LIMIT 1 [0;33m[2,45][0m 0.2ms]
  110. Status: [0;34mNOCHG[0m
  111. Rule [0;35m#3 (BGP Session down):[0m
  112. 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[45][0m 0.34ms]
  113. SQL[[1;33mSELECT state FROM alerts WHERE rule_id = ? AND device_id = ? ORDER BY id DESC LIMIT 1 [0;33m[3,45][0m 0.14ms]
  114. Status: [0;34mNOCHG[0m
  115. Rule [0;35m#4 (BGP Session established):[0m
  116. SQL[[1;33mSELECT * FROM bgpPeers WHERE (bgpPeers.device_id = ?) && (bgpPeers.bgpPeerFsmEstablishedTime < "300"  &&  bgpPeers.bgpPeerState = "established") [0;33m[45][0m 0.21ms]
  117. SQL[[1;33mSELECT state FROM alerts WHERE rule_id = ? AND device_id = ? ORDER BY id DESC LIMIT 1 [0;33m[4,45][0m 0.14ms]
  118. Status: [0;34mNOCHG[0m
  119. Rule [0;35m#5 (Port status up/down):[0m
  120. 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[45][0m 0.38ms]
  121. SQL[[1;33mSELECT state FROM alerts WHERE rule_id = ? AND device_id = ? ORDER BY id DESC LIMIT 1 [0;33m[5,45][0m 0.13ms]
  122. Status: [0;34mNOCHG[0m
  123. Rule [0;35m#6 (Port utilisation over threshold):[0m
  124. 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[45][0m 0.49ms]
  125. SQL[[1;33mSELECT state FROM alerts WHERE rule_id = ? AND device_id = ? ORDER BY id DESC LIMIT 1 [0;33m[6,45][0m 0.13ms]
  126. Status: [0;34mNOCHG[0m
  127. Rule [0;35m#7 (Sensor over limit):[0m
  128. SQL[[1;33mSELECT * FROM sensors WHERE (sensors.device_id = ?) && (sensors.sensor_current > sensors.sensor_limit  &&  sensors.sensor_alert = "1") [0;33m[45][0m 0.16ms]
  129. SQL[[1;33mSELECT state FROM alerts WHERE rule_id = ? AND device_id = ? ORDER BY id DESC LIMIT 1 [0;33m[7,45][0m 0.13ms]
  130. Status: [0;34mNOCHG[0m
  131. Rule [0;35m#8 (Sensor under limit):[0m
  132. SQL[[1;33mSELECT * FROM sensors WHERE (sensors.device_id = ?) && (sensors.sensor_current &lt; sensors.sensor_limit_low  &&  sensors.sensor_alert = "1") [0;33m[45][0m 0.18ms]
  133. SQL[[1;33mSELECT state FROM alerts WHERE rule_id = ? AND device_id = ? ORDER BY id DESC LIMIT 1 [0;33m[8,45][0m 0.17ms]
  134. Status: [0;34mNOCHG[0m
  135. #### End Alerts ####
  136. 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":"130.126.110.253","start":1539979371.7433,"duration":"1.202","devices":1,"poller":"librenms"}[0m 0.71ms]
  137. ./poller.php 130.126.110.253 2018-10-19 15:02:52 - 1 devices polled in 1.202 secs
  138. SNMP [5/0.06s]: Get[5/0.06s] Getnext[0/0.00s] Walk[0/0.00s]
  139. MySQL [17/0.01s]: Cell[13/0.00s] Row[-13/-0.00s] Rows[10/0.01s] Column[2/0.00s] Update[3/0.00s] Insert[2/0.00s] Delete[0/0.00s]
  140. RRD [0/0.00s]: Update[0/0.00s] Create [0/0.00s] Other[0/0.00s]
  141.  

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

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