[rrd-users] How is the "now" value is calculated
jonathan.silver at unify.com
Wed Jun 11 14:49:26 CEST 2014
So how about on the month, and year graphs? Is the now value approximated using the month and yearly values?
Cause these are way off. We've only been operating a couple of weeks, so the data for those graphs is very limited.
Any way to just remove the now field from the graphs?
Thanks for the details.
From: S Shipway [via RRD Mailinglists] [mailto:ml-node+s937164n7582093h79 at n2.nabble.com]
Sent: Tuesday, May 27, 2014 5:45 PM
To: Silver, Jonathan
Subject: Re: How is the "now" value is calculated
Avast, ye swabs; John Silver told I:
> Each graph has a "now" value display as part of that graph and I'm
> from where and how that value is calculated. Our metrics are all defined
> gauges (because they com through various tooling like sflow or jmxtrans or
> gmetric. some support type, other do not).
> The metric I'm collecting is an integer counter. But I'm sometimes seeing
> max (and last) value as NN.nn where nn is not 00. Why would this (or the
> max value) never always be a whole number?
The short answer is Data Normalisation. This is explained in Alex van den
Bogeardt's tutorial here: http://www.vandenbogaerdt.nl/rrdtool/process.php
The long answer is that RRDTool will adjust incoming values using a linear
approximation in time in order to make them fit into strict time samples.
So, if your RRD is set up with a 1-minute step, it expects all samples to
arrive precisely on the 1minute boundary when the number of seconds is 0.
If the data arrive after this (such as at 12:00:15 instead of at 12:00:00)
the values are normalised to what they would have been expected to be at
this earlier time. This results in the fractional values you are
experiencing. It is important to realise that RRDTool treats all values as
Rates, and this normalisation does not affect the overall rate or total.
rrd-users mailing list
[http://rrd-mailinglists.937164.n2.nabble.com/images/icon_attachment.gif]smime.p7s (7K) Download Attachment<http://rrd-mailinglists.937164.n2.nabble.com/attachment/7582093/0/smime.p7s>
If you reply to this email, your message will be added to the discussion below:
To unsubscribe from How is the "now" value is calculated, click here<http://rrd-mailinglists.937164.n2.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=7582091&code=am9uYXRoYW4uc2lsdmVyQHVuaWZ5LmNvbXw3NTgyMDkxfDE3MTM3NzA5ODA=>.
View this message in context: http://rrd-mailinglists.937164.n2.nabble.com/How-is-the-now-value-is-calculated-tp7582091p7582167.html
Sent from the RRDtool Users Mailinglist mailing list archive at Nabble.com.
More information about the rrd-users