[rrd-users] Re: FMAX, MIN, LAST with GAUGE data

Németh László Laszlo.Nemeth at netvisor.hu
Tue Jan 28 10:41:51 MET 2003


Thx. I got to the same conclution.

In Perl:
RRDs::create( "clijobs.rrd", "--step",$perfloginterval,
	          "DS:jobs:GAUGE:$perfloginterval:U:U",
	          "RRA:AVERAGE:0.5:1:10" );

my $info = RRDs::info("clijobs.rrd");
my $firstMeas=$$info{last_update}+$$info{step}-$$info{'ds[jobs].unknown_sec'};

then the first measurement should be done at $firstMeas.

Thanks for all of you.

br,
Laszlo

-----Original Message-----
From: Stephan Harren [mailto:sh at abovenet.de]
Sent: Tuesday, January 28, 2003 10:25 AM
To: Németh László; rrd-users at list.ee.ethz.ch
Subject: Re: [rrd-users] Re: FMAX, MIN, LAST with GAUGE data


I don't know any way to avoid normalization of the counters, but what if you 
normalize your timestamps? If you input data every sixty seconds, it 
shouldn't be relevant if you use 9:00:00 or 9:00:15 as timestamp.

Best regards,

Stephan

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