Hi,
When I log on to Cacti and I open a graph and click the button under the magnifying glass, you'll get some text, a part of it is this:
COMMENT:"Total In\: 1.62 GB" \
COMMENT:"Total Out\: 855.25 MB"
Is there any option to export these values to a database and refreshes the record every 5 minutes?
Thanks in advance.
Greets.
Export 'Total in/out' values
Moderators: Developers, Moderators
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
There's no good chance for this. The code that computes this is part of cacti and the computation is done 'on the fly', not stored anywhere.
Of course you could fetch all relevant data with rrdtool fetch, do the computation and store the data in another rrd. Perhaps rrdtool VDEF function (see: http://www.rrdtool.org) may help computing. And perhaps, rrdtool graph's PRINT statement will allow for printing this, but I never tried this.
All that looks quite awesome
Reinhard
Of course you could fetch all relevant data with rrdtool fetch, do the computation and store the data in another rrd. Perhaps rrdtool VDEF function (see: http://www.rrdtool.org) may help computing. And perhaps, rrdtool graph's PRINT statement will allow for printing this, but I never tried this.
All that looks quite awesome
Reinhard
Who is online
Users browsing this forum: No registered users and 3 guests