[rrd-users] RRD Wrong (Unexpected) Values

Alex van den Bogaerdt alex at vandenbogaerdt.nl
Tue Feb 11 11:16:56 CET 2014


> I wonder why I get:
> 1392101033: -nan 2.0121880900e+02 -nan -nan
> and
> 1392101037: -nan 1.3942592000e+02 -nan -nan
> While I expect UNKNOWN(nan) value instead!

I wonder why you get those rates while I expect to see 617 and 524.

First things first:

Create a script that does all the testing work. This script should use hard 
coded timestamps so that others can reproduce your testing.  Thus, use 
rrdtool update 1392101033:U:671:U:U and so on.

This script should delete the old testing database, then create a new one, 
then update the database, then produce output with fetch. The amount of data 
you show in your original post is perfect for this purpose. You do not 
really need the other DSes and much of the RRAs.

Please don't forget to use --start 1392101030--end 1392101039 or similar in 
your fetch statement; there's no point in having to wade through 86390 
irrelevant lines.

Alex



More information about the rrd-users mailing list