Printer monitoring
Moderators: Developers, Moderators
-
- Posts: 6
- Joined: Wed Oct 28, 2009 4:35 pm
Printer monitoring
Hi
We're starting to monitor our printer's toner levels and page counters. So far everything works fine.
But of course, the printers are switched off during night, which couses gaps in the graphs as shown in the screenshot.
Is there a solution, to draw the lines during the gap time, expecting the levels to stay the same during "off-time"? Or to draw the missing part of the graph as soon as the next valid value is recieved?
Cheers,
Mario
We're starting to monitor our printer's toner levels and page counters. So far everything works fine.
But of course, the printers are switched off during night, which couses gaps in the graphs as shown in the screenshot.
Is there a solution, to draw the lines during the gap time, expecting the levels to stay the same during "off-time"? Or to draw the missing part of the graph as soon as the next valid value is recieved?
Cheers,
Mario
- Attachments
-
- Screenshot of our color laser showing the gap during night time.
- printer.png (37.92 KiB) Viewed 2355 times
-
- Posts: 1
- Joined: Wed Jan 06, 2010 3:34 pm
- Contact:
this can be done by a lot of printers in the settings
many printers can actually email you when they're low on ink, etc anyway!
- TheWitness
- Developer
- Posts: 17061
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Actually, the solution is to modify the heartbeat in your Data Templates to say upto 1 day ~86400. That way you won't get any gaps if the printer is down less than 1 day. You can increase this value as well.
Now, for existing RRDfiles, you will need to "tune" them to adjust the heartbeat.
QED.
TheWitness
Now, for existing RRDfiles, you will need to "tune" them to adjust the heartbeat.
QED.
TheWitness
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
-
- Posts: 6
- Joined: Wed Oct 28, 2009 4:35 pm
SOLVED by adjusting the heartbeat
I stumbled upon that heartbeat-change mentioned above while searching for something else and yes, it works!
But as said, existing *.rrd files must be changed (tuned). I did it with the following command:
Code: Select all
rrdtool tune /var/www/cacti/rra/RRDFILENAME.rrd --heartbeat DATASOURCENAME:86400
I found it on the debugging-checklist at http://docs.cacti.net/manual:087:4_help.2_debugging where it states:
Thanks for all replies!For standard 300 seconds polling intervals (step=300), it is wise to set minimal_heartbeat to 600 seconds. If a single update is missing and the next one occurs in less than 600 seconds from the last one, rrdtool will interpolate the missing update. Thus, gaps are “filled†automatically by interpolation. Be aware of the fact, that this is no “real†data! Again, this must be done in the Data Template itself and by using rrdtool tune for all existing rrd files of this type.
-
- Posts: 6
- Joined: Wed Oct 28, 2009 4:35 pm
Who is online
Users browsing this forum: No registered users and 2 guests