Check your data source type....keep in mind that counter is something that
continuously increments and  if DS is definied as counter than RRDtool will
calculate the differences. Also, RRDtool needs to divide the difference by
the amount of time lapsed. That's the reason you are getting such a low
values.....try to change your DS type and it will be ok.

-Haris

-----Original Message-----
From: David Corbin [mailto:[EMAIL PROTECTED]
Sent: March 15, 2003 12:13 PM
To: RRD Users
Subject: [rrd-users] Newbie problem

I'm a new user of RRD.  I want to recorder a counter (integer) value
every five minutes.  However, now matter what I try, the value recorded
is NOT the value I'm getting back (fetch,graph, dump,xport).  The value
is some teeny fraction (x.yE-03 to x.yE-05).  At first, I thought this
was because my RRA was AVERAGE, but I get the same results with LAST and
MAX.  The DS is COUNTER.

rrdtool create foo.rrd DS:incoming:COUNTER:600:0:U RRA:AVERAGE:0.5:1:300
RRA:AVERAGE:0.5:24:120 RRA:AVERAGE:0.5:288:400 DS:reject:COUNTER:600:0:U
RRA:MAX:0.5:1:300 RRA:AVERAGE:0.5:24:120 RRA:AVERAGE:0.5:288:400

rrdtool update foo.rrd -t incoming:reject N:56:2

Obviously, I'm doing *something* wrong.

For the record, I'm plotting occurrences of various messages in a log
file.  It gets reset once a day, but I haven't even gotten that far.

Thanks.
David

--
Unsubscribe mailto:[EMAIL PROTECTED]
Help        mailto:[EMAIL PROTECTED]
Archive     http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

--
Unsubscribe mailto:[EMAIL PROTECTED]
Help        mailto:[EMAIL PROTECTED]
Archive     http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

Reply via email to