[rrd-users] Re: incorrect updates

W. James Showalter, Jr. gamma at mintaka.iern.disa.mil
Tue Sep 21 23:26:26 MEST 1999


It sounds like you might want to use type GAUGE.  But unless the values
are entered exactly on at each step interval, those values will be changed
by interpolation.

Jim

On Tue, 21 Sep 1999, Srinivas Vangari wrote:

> I found the problem. This is what's going on. It is dividing the
> given value by --step value. (89/60 = 1.48). I thought it would
> store the value without any changes as it is of type ABSOLUTE.
> 
> For COUNTER type it makes sense. Does it store the values like this
> for all other types as well?
> 
> I got to use CDEFs in my graph commands.
> 
> Thanks,
> Srinivas
> 
> 
> -----Original Message-----
> From: rrd-users-bounce at list.ee.ethz.ch
> [mailto:rrd-users-bounce at list.ee.ethz.ch]On Behalf Of Srinivas Vangari
> Sent: Tuesday, September 21, 1999 4:15 PM
> To: rrd-users at list.ee.ethz.ch
> Subject: [rrd-users] incorrect updates
> 
> 
> Hi,
> 
> I just started using RRDTOOL. I created an RRD with the following command
> 
> rrdtool create example.rrd --step 60 DS:ds1:ABSOLUTE:120:0:100 \
> 	DS:ds2:ABSOLUTE:120:0:100 RRA:AVERAGE:0.5:1:60 RRA:AVERAGE:0.5:10:6
> 
> Now I update the RRD with the following values
> 
> rrdtool update example.rrd N:89:98
> 
> which should insert values 89 and 98 at the current time. However when
> checked using
> fetch it displays 1.48 and 1.63 instead. These values are not that useful
> for generating graphs. Any thoughts as to what's going on?
> 
> ..
> 937944060	NaN	NaN
> 937944120	1.48	1.63
> 937944180	NaN	NaN
> ...
> 
> Also it looks restrictive to use longtime format (secs since 1970) as
> timestamp for
> updates. The update man page doesn't talk about any other format, not even
> AT-STYLE spec.
> I am not sure if there is a UNIX time command to get the number of secs
> since 1970.
> I had to write a small C program to get the longtime with time.h
> 
> 
> Thanks,
> Srinivas
> 
> --
> * To unsubscribe from the rrd-users mailing list, send a message with the
>   subject: unsubscribe to rrd-users-request at list.ee.ethz.ch
> 
> 
> 
> --
> * To unsubscribe from the rrd-users mailing list, send a message with the
>   subject: unsubscribe to rrd-users-request at list.ee.ethz.ch
> 
> 

--
* To unsubscribe from the rrd-users mailing list, send a message with the
  subject: unsubscribe to rrd-users-request at list.ee.ethz.ch



More information about the rrd-users mailing list