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