[rrd-users] unexpected NANs
Edward Quick
edwardquick at hotmail.com
Wed Nov 28 16:08:34 CET 2007
Incidentally, (one of my colleagues just spotted this) the documentation on http://oss.oetiker.ch/rrdtool/doc/rrdupdate.en.html gives the following example with a floating point number:
rrdtool update demo2.rrd 887457267:U 887457521:22 887457903:2.7
From: edwardquick at hotmail.com
To: rrd-users at lists.oetiker.ch
Date: Wed, 28 Nov 2007 14:23:59 +0000
Subject: Re: [rrd-users] unexpected NANs
Thanks Alex & Eduardo,
I had to round the numbers first as you suggested, then the rrds were ok.
Ed.
> Date: Wed, 28 Nov 2007 13:48:40 +0100
> From: alex at ergens.op.het.net
> To: rrd-users at lists.oetiker.ch
> Subject: Re: [rrd-users] unexpected NANs
>
> On Wed, Nov 28, 2007 at 07:43:30AM -0500, Eduardo M. Bragatto wrote:
>
> > If you're using those values the way they are you will have the NaN
> > problems because rrdtool uses only integers for input.
>
> This is true for COUNTER but not for GAUGE as far as I know.
>
> But multiplying by (say) 1,000,000 and rounding, would tell if I'm
> wrong or not.
>
> For the original poster:
>
> Be sure you graph or fetch using --end 1195987387 --start 1195985611
>
> Unfortunately I cannot debug this problem right now, have to go.
>
>
> --
> Alex van den Bogaerdt
> http://www.vandenbogaerdt.nl/rrdtool/
>
> _______________________________________________
> rrd-users mailing list
> rrd-users at lists.oetiker.ch
> https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users
Get closer to the jungle… I'm a Celebrity Get Me Out Of Here!
_________________________________________________________________
The next generation of MSN Hotmail has arrived - Windows Live Hotmail
http://www.newhotmail.co.uk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/rrd-users/attachments/20071128/a6834350/attachment.html
More information about the rrd-users
mailing list