Agreggating router interfaces into one graph - plus total

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

UKS-Gavin
Posts: 42
Joined: Fri Oct 06, 2006 7:36 am

Post by UKS-Gavin »

An excellent guide and one that worked well.

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

Post by gandalf »

Really nice one.
You've already seen those graphs showing Outbound on the negative y-axis? This may improve reading those graphs. To get this effect, apply a CDEF=CURRENT_DATA_SOURCE,-1,* (Make Negative) to all outbound LINEx/AREA/STACK items (not to the LEGEND items!) of the Graph Template

Reinhard
plustotal
Posts: 7
Joined: Mon Oct 30, 2006 8:09 am

Post by plustotal »

I have create a graph without template. (for counting active users from 4 servers)
So it is not a datasource. Is it possible to set a threshold on the total?

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

Post by gandalf »

plustotal wrote:I have create a graph without template. (for counting active users from 4 servers)
That's not a good idea if you want to reuse this. But you may copy the Graph Template and create a Graph Template out of it, so no harm done ...
So it is not a datasource. Is it possible to set a threshold on the total?

Thanks
That's more a question of the thold plugin. I'm not really an expert on this, so please post there
Reinhard
shadowk
Posts: 3
Joined: Mon Apr 24, 2006 8:16 am

Also would be nice to aggregate all data sources on a host

Post by shadowk »

TheWitness wrote:I can quite easily see a dropdown from the Data Sources screen, where you would follow the following process:

Code: Select all

1) Select all the data sources that you want aggregate graph fo
2) From the Drop Down, Select "Create Aggregate Graph"
3) Press "Go"
4) In the Code do the following
    a) Verify all Data Sources are of the same type
    b) Prompt the user for "which" data sources will be used in consolidated graph.
    c) Provide Type of Line, or Stack
    d) Name the Graph
    e) Name the Resulting Legends
    f) Pick Gprint types (MAX, MIN, AVG, CUR)
    g) Pick colors for each Data Source
    h) Create graph using Cacti internal functions.
5) Be well and prosper.
Only problem is that, unfortunately, there is not time enough in the day for us to get to this as well as cover the boards and work our various development efforts.

TheWitness
Is there an official feature request for this anywhere? This would be extremely useful. It would also allow us to filter on all data sources for a particular host and then effectively create an aggregate graph for an entire host.

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

Post by gandalf »

I'm currently thinking about a plugin for such a problem. But forum comes first
Reinhard
drviper75
Posts: 2
Joined: Mon Dec 18, 2006 4:02 am

Post by drviper75 »

hi,

its possible to get one graph for 95% percentile, sum traffic in and out?

i have make some graphs for this, but i only get displayes data from my last server.

please help
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

drviper75
Posts: 2
Joined: Mon Dec 18, 2006 4:02 am

Post by drviper75 »

Thanks

after update to version i

it works fine.

thanks.
Jent
Posts: 4
Joined: Thu Dec 14, 2006 4:37 am

Post by Jent »

gandalf wrote:Really nice one.
You've already seen those graphs showing Outbound on the negative y-axis? This may improve reading those graphs. To get this effect, apply a CDEF=CURRENT_DATA_SOURCE,-1,* (Make Negative) to all outbound LINEx/AREA/STACK items (not to the LEGEND items!) of the Graph Template

Reinhard
Im having a little problem. Scale on negative y-axis seems to be rediculously small compared to positive y-axis. Lets say that I have incoming traffic aggregate of 2x and outgoing of x. Now size of my positive axis is like 3cm and negative like 0,1cm.

Any advices?
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Yes, but I need the whole rrdtool graph statement for your current graph (click the wrench to get it) along with a screenshot of the graph
Reinhard
Jent
Posts: 4
Joined: Thu Dec 14, 2006 4:37 am

Post by Jent »

Jent wrote:
Im having a little problem. Scale on negative y-axis seems to be rediculously small compared to positive y-axis. Lets say that I have incoming traffic aggregate of 2x and outgoing of x. Now size of my positive axis is like 3cm and negative like 0,1cm.

Any advices?
Solved the problem myself. One should use -8 not -1, if using bits instead of bytes everywhere else. Because you can not invert y-axis AND convert bytes to bits, so you have to do this in the same CDEF.

Which then looks as follows:

Item #1 Special Data Source: CURRENT_DATA_SOURCE
Item #2 Custom String: -8
Item #3 Operator: *
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Please find a new approach on aggregating graphs via "Aggregate Plugin". Please comment.
Reinhard
Betmen
Posts: 4
Joined: Fri Apr 03, 2009 6:15 am

Post by Betmen »

I have made it work, but i have problem.
I don't want to graph Data in Mbit and Kbit, i want to graph Ds 0-7 E1 interfaces on AS5400 and active calls on them
Help?
Betmen
Posts: 4
Joined: Fri Apr 03, 2009 6:15 am

Post by Betmen »

I have figured it out, just create CDEF
Special Data Source: CURRENT_DATA_SOURCE and everything works nice :D
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest