So I finally got off my high-horse of if it isn't broken don't fix it and upgrade to 0.8.7d. In doing so several of my graphs stopped generating and after poking around the forums I discovered that I needed to change the graph templates from a CF type of “last” to “average” but only on the items that were use to plot the graph. Any item type of “gprint” could still use the “last” CF type.
So why is it that I cannot plot the “last” value recorded? It seems to me that the graph would not be an accurate representation of the data. Or do I not understand the difference between “last” and “average”?
Looking for CF explanation please.
Moderators: Developers, Moderators
Re: Looking for CF explanation please.
Seems like, yes.thogan wrote: It seems to me that the graph would not be an accurate representation of the data.
I'm plotting the amount of used licenses - see the attached graph.
As you can see there, at about "right now" (ie. right side of the graph), it looks as 2.8 licenses are used.
This cannot be. The script which counts the licenses always returns "full" numbers (ie. 0, 1, 2, 3, ...).
I'm using the SNMP - Generic OID Template. I understand that it plots the average value. But for "(snmp_oid): Current:" it prints "LAST" and in the attached screenshot, you can see that Current: 2.80. As I said, that's an impossiblity - the last value CANNOT be 2.80. It's either 2 or 3.
For me, this would be a true statementOr do I not understand the difference between “last” and “average”
- Attachments
-
- graph_image.php.png (26.83 KiB) Viewed 783 times
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
There _may_ be a misunderstanding on rrdtool principles. RRDTool does _always_ perform some "nice" math to match the polling interval. This is the main reason for non-integer results being saved to rrd files even if the raw reading itself was an integer. You may want to consult rrdtool documentation
Reinhard
Reinhard
Who is online
Users browsing this forum: No registered users and 3 guests