Difference of 2 values

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
devnull1
Posts: 2
Joined: Mon Oct 08, 2012 2:30 am

Difference of 2 values

Post by devnull1 »

Hi!

I have two values at graph (Last and Min). How can i see a diffrence of values? For example, i attach a graph where Last value 44063 Min value 43675, I need to see difference - 388.
Cacti version 0.8.8a

Thanx!
Attachments
graph_image.php.png
graph_image.php.png (9.58 KiB) Viewed 599 times
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: Difference of 2 values

Post by gandalf »

This looks like you're querying a COUNTER but graph it as a GAUGE ...
In case I'm correct, please edit the data template and change GAUGE to COUNTER. Then, please delete the rrd file in question an wait some 30 minutes and be happy ...
R.
devnull1
Posts: 2
Joined: Mon Oct 08, 2012 2:30 am

Re: Difference of 2 values

Post by devnull1 »

gandalf wrote:This looks like you're querying a COUNTER but graph it as a GAUGE ...
In case I'm correct, please edit the data template and change GAUGE to COUNTER. Then, please delete the rrd file in question an wait some 30 minutes and be happy ...
R.
Thanks you for reply!
Maybe i dont understand you, after above steps, I have this graph:
Attachments
graph_image.php.png
graph_image.php.png (11.81 KiB) Viewed 584 times
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: Difference of 2 values

Post by gandalf »

Well, your printer seems to be not that busy. So the numbers (prints per 5 minutes) are low. See http://docs.cacti.net/manual:087:7_exam ... aph_y-axis to handle that.
In case you prefer to print "printouts per poller interval", please use the CDEF="Make per 5 Minutes"
R.
Post Reply

Who is online

Users browsing this forum: No registered users and 6 guests