[rrd-users] Getting AVG info from RRD Files

j.halifax2 at seznam.cz j.halifax2 at seznam.cz
Wed Nov 16 21:06:58 CET 2011


> I"ve checked but got no success.
> I couldn't found the information.

Hi Juvenal,

Hoe come? I copied and pasted the given URL in the browser and the nice docs came normally:

"rrdtool fetch filename CF [--resolution|-r resolution] [--start|-s start] [--end|-e end] [--daemon address]

DESCRIPTION
The fetch function ... will analyze the RRD and try to retrieve the data in the resolution requested. 
The data fetched is printed to stdout. *UNKNOWN* data is often represented by the string "NaN" 
depending on your OS's printf function." ...

And so on, There are also examples included, so you can "play" with them until getting what you 
need. Of course, you will have to process data provided by "fetch" accordingly to your wishes.

jh :)





> ------------ Původní zpráva ------------
> Od: Juvenal Carvalho <juniorfc at terra.com.br>
> Předmět: Re: [rrd-users] Getting AVG info from RRD Files
> Datum: 16.11.2011 20:14:36
> ----------------------------------------
> I"ve checked but got no success.
> I couldn't found the information.
> 
> --------------------------------------------------
> From: <j.halifax2 at seznam.cz>
> Sent: Wednesday, November 16, 2011 16:36
> To: "Juvenal Carvalho" <juniorfc at terra.com.br>
> Cc: <rrd-users at lists.oetiker.ch>
> Subject: Re: [rrd-users] Getting AVG info from RRD Files
> 
> >> I have a question about how to get the AVG information from a RRD file...
> >> I need to get the average from the last month...
> >
> > Hi Juvenal,
> > You can use "rrdfetch". Check for instance the following docs:
> > oss.oetiker.ch/rrdtool/doc/rrdfetch.en.html
> > (and don't forget to set --start and --end properly as you need).
> >
> > ;)
> >
> >
> >> ------------ Původní zpráva ------------
> >> Od: Juvenal Carvalho <juniorfc at terra.com.br>
> >> Předmět: [rrd-users] Getting AVG info from RRD Files
> >> Datum: 16.11.2011 18:53:16
> >> ----------------------------------------
> >> Hi everybody
> >>
> >> I'm new working with advanced RRD resources and I'm trying to use my data 
> >> to
> >> collect some relevant information.
> >>
> >> I have a question about how to get the AVG information from a RRD file 
> >> created
> >> by MRTG.
> >> I need to get the average from the last month (just the numbers) and send 
> >> it by
> >> email to a group of users but I don't know how to do it.
> >>
> >> Do you know I have a way to get this info ?
> >>
> >>
> >>
> >> Thanks !
> >>
> >>
> >> Juvenal
> >>
> >>
> >
> > Esta mensagem foi verificada pelo E-mail Protegido Terra.
> > Atualizado em 05/09/2011
> >
> > 
> 
> 
> 



More information about the rrd-users mailing list