[rrd-users] Re: rrdtool not storing data

Serge Maandag serge.maandag at staff.zeelandnet.nl
Sun Mar 21 21:45:23 MET 2004


> I've written a script which queries a few bandwidth and CPU stats (all
> numeric) from a cisco switch and writes them back to an 
> rrdtool database. The right command completes with no errors 
> (and returns zero), but when I query the database rrdtool 
> complains that the values are non-numeric.
> This is the command I use to store bandwidth to the rrdtool database.
> /usr/bin/rrdtool update /home/steve/public_html/rrdtool/CNE-12-DS1.rrd
>   N:0:62000:9428000:1047000:168188:146930:3227000
> 
> rrdtool query results (minus header row)
> 1079555100: nan nan nan nan nan nan nan

Now this may be an answer that is too simple, but are
you sure you have done multiple updates, with at least
5 minutes and at most 10 minutes between them?

You are using counters and rrdtool needs consecutive updates
to calculate the rates.

Serge.

-------------
Op de inhoud van dit e-mailbericht en de daaraan gehechte bijlagen is de inhoud van de volgende disclaimer van toepassing: http://www.zeelandnet.nl/disclaimer.php

--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the rrd-users mailing list