[rrd-users] How is the "now" value is calculated
jonjsilver
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.
jon
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
wondering
> from where and how that value is calculated. Our metrics are all defined
as
> 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
the
> 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.
Steve
Steve Shipway
[hidden email]</user/SendEmail.jtp?type=node&node=7582093&i=0>
_______________________________________________
rrd-users mailing list
[hidden email]</user/SendEmail.jtp?type=node&node=7582093&i=1>
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users
[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:
http://rrd-mailinglists.937164.n2.nabble.com/How-is-the-now-value-is-calculated-tp7582091p7582093.html
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=>.
NAML<http://rrd-mailinglists.937164.n2.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
--
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
mailing list