Agreggating router interfaces into one graph - plus total
Moderators: Developers, Moderators
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
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
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
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
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 ...plustotal wrote:I have create a graph without template. (for counting active users from 4 servers)
That's more a question of the thold plugin. I'm not really an expert on this, so please post thereSo it is not a datasource. Is it possible to set a threshold on the total?
Thanks
Reinhard
Also would be nice to aggregate all data sources on a host
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.TheWitness wrote:I can quite easily see a dropdown from the Data Sources screen, where you would follow the following process:
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.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.
TheWitness
Andrew
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Please see http://www.cacti.net/downloads/docs/htm ... _VARIABLES
Reinhard
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.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
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.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?
Which then looks as follows:
Item #1 Special Data Source: CURRENT_DATA_SOURCE
Item #2 Custom String: -8
Item #3 Operator: *
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Please find a new approach on aggregating graphs via "Aggregate Plugin". Please comment.
Reinhard
Reinhard
Who is online
Users browsing this forum: No registered users and 1 guest