[rrd-users] Re: HELP: Adding 2 vaues with same timestamp

Iain Buchanan iain at pcorp.com.au
Wed May 8 04:01:05 MEST 2002


It usually doesn't make sense to update a record with two different values
for the same time stamp.  For example, there can't be a total of 2 as well
as a total of 5 people in a room at one time.  If you want to add two
records for a graph however, you can use CDEF's.  Is this what you want to
do?

Iain

----- Original Message -----
From: "Shrenik" <shrenik at cybage.com>
To: <rrd-users at list.ee.ethz.ch>
Sent: Tuesday, May 07, 2002 6:39 PM
Subject: [rrd-users] HELP: Adding 2 vaues with same timestamp


>
> Hi All,
>
> I am using PERL apis for adding data to RRD file.
> I want to add 2 different values with same timestamp.
> Is it possible?
> Let say i inserted one value using statement
> rrdtool update test.rrd 920806500:12383
> Now i want to update this record so i executed another statement
>
> rrdtool update test.rrd 920806500:1000
>
> However i got an error as new statement must have greater timestamp.
>
> Can you help me to solve this problem.
> I need addition of these 2 records for corresponding record
>
> thx,
> shrenik
>
>
> --
> 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
>

--
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