[rrd-users] Re: Graphing Total Bandwidth
sh at abovenet.de
Thu May 1 11:19:29 MEST 2003
AFAIK, you've got to do this by yourself, for example in a little perl
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.
Andre Miller schrieb:
>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
More information about the rrd-users