[rrd-users] Why do I see NaN values?

Leon Stringer leon.stringer at ntlworld.com
Wed May 21 12:08:22 CEST 2008


> From: Leon Stringer <leon.stringer at ntlworld.com>
> Date: 2008/05/21 Wed AM 09:35:34 GMT
> To: <rrd-users at lists.oetiker.ch>
> Subject: [rrd-users] Why do I see NaN values?
> 
> 
> I've created an RRD database to store a value (server clock offset in
> ms). I've created a cron job to add the value every 6 hours. As far
> as I can tell the job is running correctly and getting a valid value.
> However, when I run rrd fetch I get a lot of NaN values (between a
> quarter and a third of values) so the generated graphs have gaps too.
> 
> I created the file with:
> 
>   rrdtool create file.rrd -s 21600 DS:offset:GAUGE:21600:U:U
>       RRA:MAX:0:1:360
>       
> I add the data with:
> 
>   rrdtool update file.rrd N:<val>	(E.g. 1.903, -0.424, etc.)
> 
> And I query data with:
> 
>   rrdtool fetch -s -1week file.rrd MAX
> 
> Can anyone tell me why I see NaN values instead of the values I
> (think!) am putting in?
> 

Sorry I should also have said: RRD Tool 1.2.26.

-----------------------------------------
Email sent from www.virginmedia.com/email
Virus-checked using McAfee(R) Software and scanned for spam



More information about the rrd-users mailing list