Aggregate - adding additional

General discussion about Plugins for Cacti

Moderators: Developers, Moderators

Post Reply
rootrunner
Posts: 2
Joined: Fri Mar 14, 2008 12:53 am

Aggregate - adding additional

Post by rootrunner »

I've been fiddling with Aggregate today and having problems figuring out the best way to add additional items to an existing graph definition. I'm using this for Interface in/out bit to add up multiple interface numbers, and occasionally we'll need to add/drop a circuit to somebody.

After initial creation, it seems the only way to add a new set of interface in/out items is to go back to Graph Management, edit the aggregate graph, add in the data sources, area/line types, colors .. for in and out, curr/avg/max.

Aggregating a new set of interfaces against an existing aggregate graph sort of works, but it creates a totally new graph id.

Is there a better way to do this? For that matter, is there a way to build an aggregate graph without using Graph Management? Wading through 15,000+ interfaces to stitch two together on different hosts is daunting since the interfaces I want may be multiple pages apart.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

The AGGREGATE indeed does NOT support adding new interfaces. The basic approach is to drop the old one and re-create the new one.
I already sort of anticipated some "dynamic, filter based on-the-fly AGGREGATE", but I don't know what I was smoking at that time. Definitively not the sort of "hey, let's do it this afternoon" crap
Reinhard
rootrunner
Posts: 2
Joined: Fri Mar 14, 2008 12:53 am

Post by rootrunner »

gandalf wrote:The AGGREGATE indeed does NOT support adding new interfaces. The basic approach is to drop the old one and re-create the new one.
I already sort of anticipated some "dynamic, filter based on-the-fly AGGREGATE", but I don't know what I was smoking at that time. Definitively not the sort of "hey, let's do it this afternoon" crap
Reinhard
Thanks for the info. I'll probably wind up scripting something to do this.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

If you come up with sth, either an idea or (better) some code, I'd like to integrate this into AGGREGATE, if you agree
Reinhard
kanada
Cacti User
Posts: 137
Joined: Sun Aug 28, 2005 12:51 pm

Post by kanada »

Hi folks!

Gandalf i have one question to you. It is possible to add to Aggregation Plugin "Total/Summary" option for same values on different hosts?
ex. summarisation of all inboud traffic interfaces all graphed hosts..

Thanks you,
Alex.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

It was already asked for since ages.
And I lately decided to give it a go. So it will not last more than a few months from now on :wink:
Reinhard
kanada
Cacti User
Posts: 137
Joined: Sun Aug 28, 2005 12:51 pm

Post by kanada »

gandalf wrote:It was already asked for since ages.
And I lately decided to give it a go. So it will not last more than a few months from now on :wink:
Reinhard
Ok, Thank you ;)

Alex.
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests