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 <
[email protected]> 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.
>
>
>
>
>
_______________________________________________
rrd-users mailing list
[email protected]
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users

Reply via email to