Agreggating router interfaces into one graph - plus total
Moderators: Developers, Moderators
Alllmoooost ;)
Now the alignment is right but i dont want Total to be at the botom becouse then the area will overshed the other graphs.
Total bandwidth used
Linegod...
I followed your instructions closely, even tried it a couple more times just to be sure but no luck, but my Total just shows the last item not the sum
Any suggestions to display a line showing the sum of the Inbound and Outbound?
Thanks
Mike
I followed your instructions closely, even tried it a couple more times just to be sure but no luck, but my Total just shows the last item not the sum
Any suggestions to display a line showing the sum of the Inbound and Outbound?
Thanks
Mike
- Attachments
-
- cdef.JPG (33.49 KiB) Viewed 12998 times
-
- bandwidth_totals.JPG (93.46 KiB) Viewed 12998 times
Re: Alllmoooost ;)
Make total a line, not an area and it won't overshadow anything - you could also make it white...Science wrote:Now the alignment is right but i dont want Total to be at the botom becouse then the area will overshed the other graphs.
--
Live fast, die young
You're sucking up my bandwidth.
J.P. Pasnak,CD
CCNA, LPIC-1
http://www.warpedsystems.sk.ca
Live fast, die young
You're sucking up my bandwidth.
J.P. Pasnak,CD
CCNA, LPIC-1
http://www.warpedsystems.sk.ca
Re: Total bandwidth used
If you are just doing a normal in/out bandwidth on the save device, why don't you just use the 'Interface - (bits/sec, Total Bandwidth)' template?mikes1p wrote:Linegod...
I followed your instructions closely, even tried it a couple more times just to be sure but no luck, but my Total just shows the last item not the sum
Any suggestions to display a line showing the sum of the Inbound and Outbound?
Thanks
Mike
--
Live fast, die young
You're sucking up my bandwidth.
J.P. Pasnak,CD
CCNA, LPIC-1
http://www.warpedsystems.sk.ca
Live fast, die young
You're sucking up my bandwidth.
J.P. Pasnak,CD
CCNA, LPIC-1
http://www.warpedsystems.sk.ca
Re: Total bandwidth used
Thanks for the reply...Linegod wrote: If you are just doing a normal in/out bandwidth on the save device, why don't you just use the 'Interface - (bits/sec, Total Bandwidth)' template?
To answer your question it doesn't show a "sum" line that shows how much of bandwidth is being used, you have to add the two lines together, which isn't what I want.
If you look at the numbers on my attempt, I want the purple line to show 513k (121 in + 392 out) for current total AND then also graph that line.
That way, at a glance I can tell how much is being used, and if I add an Hrule for the CIR I will be able to tell how much breathing room we really have.
Thanks again
Mike S
excellent howto!!
Or i am doing something wrong?
I want to calculate the total input of all interfaces
This will calculate the total for an interface (input and output) and not for all interfaces! (as you can see to some points is underTo get the total on the graph, add another Graph Item:
- use the same data source as your last data source
- select your colour
- in 'Graph Item Type' select 'Line 3' (use Line 2 or Line 1 for smaller lines)
- in 'CDEF Function' select 'Total All Data Sources and Bytes into Bits' (the one you created at the start)
- In Text Format, call it 'Total'.
- Click 'create'
- Click 'add' again and create a legend (all values the same as above, except 'Graph Item Type' is 'Legend')
Now you should have a graph with the output from different data sources, plus a total at the bottom.
Or i am doing something wrong?
I want to calculate the total input of all interfaces
- Attachments
-
- Total Input
- 2.GIF (27.72 KiB) Viewed 12969 times
-
- Configuration for total
- 3.GIF (14.15 KiB) Viewed 12970 times
So, I'm trying to aggregate multiple data sources from one host into a single point on the graph.
Problem is: All the data sources are different names. So 1 set of data for host XYZ features data sources my_ds_1 through my_ds6. Host ZZZ has the same thing, but his are call my_ds_zzz1 through my_ds_zzz6.
So I've gone and attempted to graph them in several ways, one being with similar data sources, and total all data sources. Nothing has worked - I can graph every single data source as a whole, or they break.
So would anyone have any idea on how to fix this?
Problem is: All the data sources are different names. So 1 set of data for host XYZ features data sources my_ds_1 through my_ds6. Host ZZZ has the same thing, but his are call my_ds_zzz1 through my_ds_zzz6.
So I've gone and attempted to graph them in several ways, one being with similar data sources, and total all data sources. Nothing has worked - I can graph every single data source as a whole, or they break.
So would anyone have any idea on how to fix this?
The template mentioned in this thread got me closer, it might be a good starting pointjeremyp wrote:So, I'm trying to aggregate multiple data sources from one host into a single point on the graph.
..snip..
So would anyone have any idea on how to fix this?
http://forums.cacti.net/viewtopic.php?t=6231
Ah, thanks Mike. I'll look it over and see if I can't figure this out. If so, I'll post back here (Unless that post already has the answer, in which case then I won't hehe!)mikes1p wrote:The template mentioned in this thread got me closer, it might be a good starting pointjeremyp wrote:So, I'm trying to aggregate multiple data sources from one host into a single point on the graph.
..snip..
So would anyone have any idea on how to fix this?
http://forums.cacti.net/viewtopic.php?t=6231
Very good tuto.
All GPRINT value In or Out must use the CDEF Function 'Turn Bytes into Bits'
And all GPRINT value for total must use the CDEF Function 'Total All Data Sources and Bytes into Bits'.
Now i still have 2 questions:
1) how to i attach this new graph to an host?
2) How could i make it as a graph template so i would only need to select the interface i want to sum?
Thanks.
i would like to specify something in order to get correct number in Total Current Average and Max value.To get the total on the graph, add another Graph Item:
- use the same data source as your last data source
- select your colour
- in 'Graph Item Type' select 'Line 3' (use Line 2 or Line 1 for smaller lines)
- in 'CDEF Function' select 'Total All Data Sources and Bytes into Bits' (the one you created at the start)
- In Text Format, call it 'Total'.
- Click 'create'
- Click 'add' again and create a legend (all values the same as above, except 'Graph Item Type' is 'Legend')
All GPRINT value In or Out must use the CDEF Function 'Turn Bytes into Bits'
And all GPRINT value for total must use the CDEF Function 'Total All Data Sources and Bytes into Bits'.
Now i still have 2 questions:
1) how to i attach this new graph to an host?
2) How could i make it as a graph template so i would only need to select the interface i want to sum?
Thanks.
Capable, but not repeatable?
This is great and functional, however it (like many other issues I have with Cacti) isn't something that is repeatable and usable in practice. This simply requires too much manual effort and intervention for each host/interface/graph you want to total and summarize to be deployable. Is there any way to do the equivalent with a graph template so that it can be applied to a set of host templates?
While I _really_ need to be able to do this, it is even more work than manually clicking through every one of the three hundred hosts I've got to generate initial graphs... I can script adding hosts to a template, but that's another "can't script this from here" issue I've not seen a way to resolve.
Any ideas that are applicable to this?
/eli
While I _really_ need to be able to do this, it is even more work than manually clicking through every one of the three hundred hosts I've got to generate initial graphs... I can script adding hosts to a template, but that's another "can't script this from here" issue I've not seen a way to resolve.
Any ideas that are applicable to this?
/eli
Who is online
Users browsing this forum: No registered users and 2 guests