[rrd-users] Re: Graphing Total Bandwidth
Stephan Harren
sh at abovenet.de
Thu May 1 11:19:29 MEST 2003
Hi Andre,
AFAIK, you've got to do this by yourself, for example in a little perl
script:
Collect the data you need by rrdtool fetch, add the values to the total
amount you want to be graphed and put it into a rrd-database (use GAUGE
as DS-Type). Then you can graph them.
Every hour: collect the values for the last hour, add them and put the
sum into your database for hourly graphs. Be sure to have the database
have a resolution of one hour.
Every day: collect the values for the last day, add them and put the sum
into your database for daily graphs. Be sure to have the database have a
resolution of one day.
Every month: collect the values for the last month, add them and put
the sum into your database for monthly graphs. Be sure to have the
database have a resolution of one month.
Graph them with the exact timeframe you want to have, because you don't
have a higher resolution than you want to have, there will be no
consolidation and the values you inserted will be graphed exactly.
Another thing you can do is to fetch the stuff and write a
comma-separated file, import it into excel or whatever office and do a
bar-graph there (wouldn't prefer this solution). The thing is, that
rrdtool can only calculate single values to be graphed.
Pls let me know if anyone finds a better solution.
Best regards,
Stephan
Andre Miller schrieb:
>Hi,
>
>
>I've tried to find an answer to this question by searching the archive - but
>have not been able to locate a suitable answer, sorry if its been answered
>before and I missed it.
>
>
--
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