[rrd-users] Re: rrdtool fetch simple perl

Alex van den Bogaerdt alex at ergens.op.het.net
Fri Sep 1 02:51:53 MEST 2006


On Fri, Sep 01, 2006 at 02:31:36AM +0200, Alex van den Bogaerdt wrote:
> On Fri, Sep 01, 2006 at 10:11:54AM +0000, Martin Rheumer wrote:
> > 
> > RRdTool Fans,
> > 
> > I have a simple requirement to get the maximum values over the
> > past 24 hours. So I used this :
> > 
> > rrdtool fetch fred.rrd MAX -s -86400 -e NOW 
> > 
> > and run it at midnight ( it will get close enough ).
> > 
> > What I'm wondering is has anyone written a perl script / shell
> > to then get the maximum of the maximums ( the highest value )
> > and the date time in dd-mmm-yyy etc format and would like to 
> > share the script ?

oops... you also want the date/time.

then you need to sort your fetch output, take the numbers and
feed it to perl.  Or use google.

--
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://lists.ee.ethz.ch/rrd-users
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi



More information about the rrd-users mailing list