[rrd-users] Getting AVG info from RRD Files
Juvenal Carvalho
juniorfc at terra.com.br
Mon Nov 28 18:08:12 CET 2011
Hi Guys
I tried to check the documentation but got no success. I ran the command below and I got a lot of values and I don't know how to treat those values in a readable format.
/usr/local/rrdtool/bin/rrdtool fetch -s -1y target.rrd AVERAGE
In the attached file I have the result.
How can I get just 1 value (as is printed in the MRTG graph as average) ? For example, IN: 16MB/s OUT: 5MB/s
Thanks
Juvenal
From: Juvenal Carvalho
Sent: Wednesday, November 16, 2011 15:52
To: rrd-users at lists.oetiker.ch
Subject: Getting AVG info from RRD Files
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/rrd-users/attachments/20111128/1e3c0d40/attachment-0001.htm
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: rrdfetch result.txt
Url: http://lists.oetiker.ch/pipermail/rrd-users/attachments/20111128/1e3c0d40/attachment-0001.txt
More information about the rrd-users
mailing list