[rrd-users] Still get nan values from rrdtool graph DEF VDEF
Steven Sim
unixandme at outlook.com
Fri Jul 4 12:25:57 CEST 2014
Alex;
That's my point.
I am trying to locate the first non NAN value.
For me to specify the time period would defeat the purpose ..... ?
Warmest Regards
Steven Sim
On Fri, Jul 4, 2014 at 4:56 PM, Alex van den Bogaerdt <
alex at vandenbogaerdt.nl> wrote:
> > Hello;
> >
> > I don't think is suppose to happen.
> >
> > FIRST sued in VDEF context is supposed to provide the first non NAN value
> > for the selected data stream
> >
> > And yet I'm getting ..
> >
> > $ rrdtool graph placeholder.png DEF:CPUBusyx=mydata.rrd:CPUBusy:AVERAGE
> > VDEF:CPUBusyFirst=CPUBusyx,FIRST "PRINT:CPUBusyFirst:%18.5lf"
> > 0x0
> > -nan
>
> The code returns NaN if there is only NaN available. In that case it also
> returns time zero. Please print the time component and look at this.
>
> Retry your example with a specific start and end time, on data which you
> know to be known.
>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/rrd-users/attachments/20140704/0c8910b9/attachment.htm
More information about the rrd-users
mailing list