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:[EMAIL PROTECTED]
Sent: Friday, November 17, 2000 2:32 AM
To: [email protected]
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 <[EMAIL PROTECTED]>
Subdirección de comunicaciones - Universidad de Las Palmas de Gran Canaria
--
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