[rrd-users] Re: What am I doing wrong?

Serge Maandag serge.maandag at staff.zeelandnet.nl
Fri Oct 24 11:31:00 MEST 2003

I quote from the rrdmanual:

"heartbeat defines the maximum number of seconds that may pass between two updates of this data source before the value of the data source is assumed to be *UNKNOWN*."

You are thinking one step too far by fiddling with the heartbeat.
Updates will always yield to nans if the interval between consecutive updates is bigger than the heartbeat of the DS.

> with "RRA:MAX:0.9999999999:1:9999

This says: if more than 99.99999999 % of the last 1 values is unknown, else the value will be the max of the values known.

First of all, there's not much use in tuning a percentage when consolidating only 1 value.
Second, the value already was nan, because you overslept the heartbeat time. 

So when the value is evaluated against the xff, the choices are
- make it nan, because more than xff % of the values are nan
- take the max value, because less than xff % of the values are nan. Max value of the value list (nan) is: nan!


> -----Original Message-----
> From: Dean Takemori [mailto:dtakemori at home.comtelhi.com]

> Thank you for the prompt reply.
> Unfortunately, I must STILL be misunderstanding something.
> My reading of the documentation suggests that the following data
> 1066093663:0:1:0:0
> 1066096371:0:1:0:0
> 1066097939:0:1:0:0
> 1066155010:0:1:0:0
> 1066155844:0:1:0:0
> 1066160322:0:1:0:0
> with "RRA:MAX:0.9999999999:1:9999
> 1066089300: nan nan nan nan
> 1066089590: nan nan nan nan
> 1066089880: nan nan nan nan
> [snip all nan's across the board]
> 1066164990: nan nan nan nan
> 1066165280: nan nan nan nan
> 1066165570: nan nan nan nan
> Should have some non-nan entries, since I am basically asking 
> to return the MAX value in a "step" if any single value is defined.

Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

More information about the rrd-users mailing list