[rrd-users] Re: Fetching data from Perl

Gary Pavlik gpavlik at epicrealm.com
Fri Nov 17 16:20:05 MET 2000


Esteban,
	Try looking at the rrdtool man pages.  I know when using rrdtool
fetch you pass it the CF you want to retrieve.  To allways retrieve the
latest one try something like this:
	% rrdtool fetch {rrd-file} {AVERAGE|MIN|MAX} -s `rrdtool last
{rrd-file}`.
There is also a "rrdlastds.pl" script in the rrd contrib directory.

Hope this helps,
Gary.



-----Original Message-----
From: Esteban Manchado Velázquez [mailto:zoso at ulpgc.es]
Sent: Friday, November 17, 2000 2:32 AM
To: rrd-users at list.ee.ethz.ch
Subject: [rrd-users] Fetching data from Perl



	Hi all.

	This is my first post to this list, so I don't know if someone has
already talked about this topic (BTW, is there any FAQ of this list out
there?).

	The problem is, I've tried to fetch data from Perl, but I just can't
understand how to do it. I'm trying to use Cricket to make some PINGs, and
have Netsaint to fetch the data from the RRD databases. But I haven't been
able to fetch *only* the last value in the RRD, I've only seen the way to
get
the average values and that kind of things...

	Any idea? Any hidden documentation out there :-) ? TIA,

-- 
Esteban Manchado Velázquez <zoso at ulpgc.es>
Subdirección de comunicaciones - Universidad de Las Palmas de Gran Canaria

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