Aggregate bandwidth and total bandwidth
Moderators: Developers, Moderators
Aggregate bandwidth and total bandwidth
I am aggregating several interfaces for a sum of bits in/out. I would also like a "GPrint", showing "Total throughput" of Bits in/out.
Is there a way to apply the |sum:auto:current:2:auto| code to sum the total throughput of all interfaces plotted?
Thanks,
Richard
See attached;
Is there a way to apply the |sum:auto:current:2:auto| code to sum the total throughput of all interfaces plotted?
Thanks,
Richard
See attached;
- Attachments
-
- sum of all nics.jpg (250.19 KiB) Viewed 21783 times
Signed;
Apex, I'm doing the same thing to see how much data we spew out onto a particular WAN. Change your string to the following and I think you'll be set.
Jason
Code: Select all
|sum:auto:total:2:auto|
Apex, I'm doing the same thing to see how much data we spew out onto a particular WAN. Change your string to the following and I think you'll be set.
Jason
Code: Select all
|sum:auto:total:2:auto|
Hmm... I may have misled you a little. I forgot, but the graph that I was doing mine on was only a total of all traffic_in from many DS. I wasn't doing traffic_out on that one.
I just looked, and the "total" keyword sums up the totals of all data sources in the chart... So you're looking at the total amount of data both sent and received, I believe.
You may have to settle for that and rename your field "Total data sent/rec'd" because the docs I was referencing show no other choices:
Other choice I can think of off-hand would be to break it into two graphs... One sent, the other received.
Jason
I just looked, and the "total" keyword sums up the totals of all data sources in the chart... So you're looking at the total amount of data both sent and received, I believe.
You may have to settle for that and rename your field "Total data sent/rec'd" because the docs I was referencing show no other choices:
This was from the Cacti docs here: http://www.cacti.net/downloads/docs/htm ... _VARIABLES(current|total) You can choose to calculate the summation based on the current data source or a total of all data sources used on the graph. The only valid values for this field are 'current' and 'total'.
Other choice I can think of off-hand would be to break it into two graphs... One sent, the other received.
Jason
-
- Posts: 4
- Joined: Tue Jul 26, 2005 3:01 pm
-
- Posts: 4
- Joined: Tue Jul 26, 2005 3:01 pm
-
- Posts: 4
- Joined: Tue Jul 26, 2005 3:01 pm
I've just noticed that :
GPRINTLAST:" Current\:%8.2lf %s" \
GPRINTAVERAGE:"Average\:%8.2lf %s" \
GPRINTMAX:"Maximum\:%8.2lf %s" \
COMMENT:"Total In\: 715.95 MB\n" \
LINE1:b#002A97:"Outbound" \
GPRINTLAST:"Current\:%8.2lf %s" \
GPRINTAVERAGE:"Average\:%8.2lf %s" \
GPRINTMAX:"Maximum\:%8.2lf %s" \
COMMENT:"Total Out\: 668.81 MB"
So that's just a problem making the png, i think.
GPRINTLAST:" Current\:%8.2lf %s" \
GPRINTAVERAGE:"Average\:%8.2lf %s" \
GPRINTMAX:"Maximum\:%8.2lf %s" \
COMMENT:"Total In\: 715.95 MB\n" \
LINE1:b#002A97:"Outbound" \
GPRINTLAST:"Current\:%8.2lf %s" \
GPRINTAVERAGE:"Average\:%8.2lf %s" \
GPRINTMAX:"Maximum\:%8.2lf %s" \
COMMENT:"Total Out\: 668.81 MB"
So that's just a problem making the png, i think.
Sorry, I completely missed that the first time I looked. I was looking at the number directly below it.
What has happened on yours is that it scrolled off the right-hand edge of your png file. You need to either shorten your words (change "current" to "now", "average" to "avg", etc) to make the whole line shorter, or, put in a hard return further up in your graph items (like on the "Average" graph item... if you go into the details of that line, the bottom option will be to insert a hard return... check that box)
Jason
What has happened on yours is that it scrolled off the right-hand edge of your png file. You need to either shorten your words (change "current" to "now", "average" to "avg", etc) to make the whole line shorter, or, put in a hard return further up in your graph items (like on the "Average" graph item... if you go into the details of that line, the bottom option will be to insert a hard return... check that box)
Jason
-
- Posts: 4
- Joined: Tue Jul 26, 2005 3:01 pm
Graphing two interfaces
Hi Richard,
I have gone through jason steps in graphing two interfaces but was reporting wrongly. the result was reporting the first interface and not the second interface.
Please assist
Lawrence
I have gone through jason steps in graphing two interfaces but was reporting wrongly. the result was reporting the first interface and not the second interface.
Please assist
Lawrence
Who is online
Users browsing this forum: No registered users and 3 guests