I have the same problem. I figured out that it is not possible
to aviod normalization in RRD. The only thing you can do is
figuring out the exact desired time of the first sample and do
you cyclic update exactly on every STEP time.
So in perl:
RRDs::create( $rrd,
"--start",$start,
"--step",$step,
"DS:Y:GAUGE:$step:U:U",
"RRA:AVERAGE:0.5:1:$history" );
now you have a graph with step $step and with an RRA making an
average of 1 measurement (the measurement itself).
my $info = RRDs::info($rrd);
my
$firstupdate=$$info{last_update}+$$info{step}-$$info{"ds[Y].unknown_sec"};
So the first update you be put to the RRD with the timestamp $firstupdate
and later at every $step interval from $ firstupdate.
Laszlo
-----Original Message-----
From: Chris Flanigan [mailto:[EMAIL PROTECTED]
Sent: Sunday, April 06, 2003 5:40 AM
To: [email protected]
Subject: [rrd-users] Question
I had previously written about a few questions concerning GUAGE. I'm trying to
write a PHP script which updates an RRD database with processor usage (user,
system, nice, idle) at a given timestamp. I currently have the script updating
the database like following:
timestamp:user:system:nice:idle
How would I go about creating a graph with those values? The only examples I
can find are doing averages, etc.. but I don't want to perform any mathematical
operation on the data. I just want to graph the values the way they're given.
--
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