Hi Emma,

We send the same command to rrdtool for both graphs (apart from height/wIdth).

Obviously if a poll happened after the page was loaded but before you hovered, data will differ.
But I know that's not what you mean, after all that's a 5 minute window where in that theory the graphs should be equal.

I -think- RRDtool may base its data also on averages which are calculated wrt the time difference between the last poll and the current time (meaning that every second up to the next poll time may give you other data points if it needs to average out). But that may very well be total BS.

Long story short, no idea, but we're not drawing the graphs ourselves; maybe the rrdtool guys know more.

Tom

On 07/04/2014 04:03 PM, Cardinal-Richards, Emma wrote:
On 25 Jun 2014, at 20:35, Adam Armstrong <adama@memetic.org> wrote:

On 2014-06-24 05:25, Cardinal-Richards, Emma wrote:
Hi,
On (seemingly all) our device port pages I get different values in the
legends on the page of graphs vs their respective hover over pop-up
graphs? In theory I thought they're showing the same timeframe/data?
RRD gonna do what RRD gonna do!

RRD generates the legend based on the data it has decided to use for the
graph. This depends on the time period and the resolution of the data. None
of our code is involved in any of this.
Note that without a screenshot, no one knows what you're talking about,
and even fewer people are going to try to guess.
adam.
I know you were anxiously awaiting this....

I've attached a screenshot as an example, the popup graph is of the 3rd graph along.  The numerical values differ, this seems to be the same on the majority of graphs not just 'traffic', and not for all values (some match).

Emma


_______________________________________________
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium