Discussion:
[mrtg] MRTG percent bandwidth utilization
m***@solutions.canon.com
2006-07-19 19:58:26 UTC
Permalink
I notice on the graphs it shows a percentage next to In and Out. Is there
a way to graph those values? I'm hoping that's the percentage of
utilization to Max Speed. Is this correct? Thanks.

Chandler Bing
--
Unsubscribe mailto:mrtg-***@list.ee.ethz.ch?subject=unsubscribe
Archive http://lists.ee.ethz.ch/mrtg
FAQ http://faq.mrtg.org Homepage http://www.mrtg.org
WebAdmin http://lists.ee.ethz.ch/lsg2.cgi
Peter Glanville
2006-07-20 08:00:00 UTC
Permalink
Post by m***@solutions.canon.com
I notice on the graphs it shows a percentage next to In and Out. Is
there
Post by m***@solutions.canon.com
a way to graph those values? I'm hoping that's the percentage of
utilization to Max Speed. Is this correct? Thanks.
Chandler Bing
Correct, the percentage is calculated on Maxbytes (regardless of whether
you use the AbsMax parameter)

So you want a graph that does not show 0-xMBps but show 0-100%?
Modify the target line (substituting appropriate values):
Target[filename]: interface:***@ipaddress / maxbytes * 100

change the maxbytes to MaxBytes[filename]: 100

and play with the YLegend


Peter
--
Unsubscribe mailto:mrtg-***@list.ee.ethz.ch?subject=unsubscribe
Archive http://lists.ee.ethz.ch/mrtg
FAQ http://faq.mrtg.org Homepage http://www.mrtg.org
WebAdmin http://lists.ee.ethz.ch/lsg2.cgi
Steve Shipway
2006-07-20 22:41:03 UTC
Permalink
Post by m***@solutions.canon.com
I notice on the graphs it shows a percentage next to In and
Out. Is there a way to graph those values? I'm hoping
that's the percentage of utilization to Max Speed. Is this
correct? Thanks.
If using routers2 as your frontend, add:

routers.cgi*Options[....]: aspercent

and you'll get this.

Steve
--
Unsubscribe mailto:mrtg-***@list.ee.ethz.ch?subject=unsubscribe
Archive http://lists.ee.ethz.ch/mrtg
FAQ http://faq.mrtg.org Homepage http://www.mrtg.org
WebAdmin http://lists.ee.ethz.ch/lsg2.cgi
m***@solutions.canon.com
2006-07-20 22:46:11 UTC
Permalink
Is there a way to add '--global "options[ ]: aspercent"' ???


Chandler Bing




"Steve Shipway"
<***@auckla
nd.ac.nz> To
<***@solutions.canon.com>,
07/20/2006 03:41 <***@list.ee.ethz.ch>
PM cc

Subject
RE: [mrtg] MRTG percent bandwidth
utilization
Post by m***@solutions.canon.com
I notice on the graphs it shows a percentage next to In and
Out. Is there a way to graph those values? I'm hoping
that's the percentage of utilization to Max Speed. Is this
correct? Thanks.
If using routers2 as your frontend, add:

routers.cgi*Options[....]: aspercent

and you'll get this.

Steve
--
Unsubscribe mailto:mrtg-***@list.ee.ethz.ch?subject=unsubscribe
Archive http://lists.ee.ethz.ch/mrtg
FAQ http://faq.mrtg.org Homepage http://www.mrtg.org
WebAdmin http://lists.ee.ethz.ch/lsg2.cgi
Steve Shipway
2006-07-21 02:31:43 UTC
Permalink
Post by m***@solutions.canon.com
Is there a way to add '--global "options[ ]: aspercent"' ???
--global "routers.cgi*Options[$]: aspercent"

This should do what you're after.

Steve
--
Unsubscribe mailto:mrtg-***@list.ee.ethz.ch?subject=unsubscribe
Archive http://lists.ee.ethz.ch/mrtg
FAQ http://faq.mrtg.org Homepage http://www.mrtg.org
WebAdmin http://lists.ee.ethz.ch/lsg2.cgi
m***@solutions.canon.com
2006-07-21 16:04:32 UTC
Permalink
The problem is we don't use routers.cgi. We have a stock install of MRTG.
I'd like to be able to do it with MRTG natively, if at all possible. Is
there a global option you can pass to cfgmaker so that it can generate the
cfg file and make the graphs I need for utilization %. My ultimate goal
would be to combine the inbound and outbound utilization percentage with
the inbound and outbound bandwidth graphs so each graph has all four
parameters, but I don't even know if that's practical or even possible.
Has anyone else done something similar to this? Is it feasible? Thanks

Chandler Bing




"Steve Shipway"
<***@auckla
nd.ac.nz> To
Sent by: <***@solutions.canon.com>
mrtg-***@list. cc
ee.ethz.ch <***@list.ee.ethz.ch>
Subject
[mrtg] Re: MRTG percent bandwidth
07/20/2006 07:31 utilization
PM
Post by m***@solutions.canon.com
Is there a way to add '--global "options[ ]: aspercent"' ???
--global "routers.cgi*Options[$]: aspercent"

This should do what you're after.

Steve

--
Unsubscribe mailto:mrtg-***@list.ee.ethz.ch?subject=unsubscribe
Archive http://lists.ee.ethz.ch/mrtg
FAQ http://faq.mrtg.org Homepage http://www.mrtg.org
WebAdmin http://lists.ee.ethz.ch/lsg2.cgi
--
Unsubscribe mailto:mrtg-***@list.ee.ethz.ch?subject=unsubscribe
Archive http://lists.ee.ethz.ch/mrtg
FAQ http://faq.mrtg.org Homepage http://www.mrtg.org
WebAdmin http://lists.ee.ethz.ch/lsg2.cgi
Steve Shipway
2006-07-23 23:19:30 UTC
Permalink
Post by m***@solutions.canon.com
The problem is we don't use routers.cgi. We have a stock
install of MRTG.
I'd like to be able to do it with MRTG natively, if at all
possible.
In that case, you need to make the calculations BEFORE the data is
stored in the RRD.

If you have a calculation in your Target line you can get close.

eg,

Target[x]: diskoid&diskoid:***@host / disksize
Factor[x]: 100
MaxBytes[x]: 1
Options[x]: noo
LegendI[x]: C
YLegend[x]: %
Legend1[x]: Disk percent usage

Of course you could get rid of the Factor by including this in the
Target line.

Using native MRTG, you can only get 1 or 2 variables on a graph. You
need a different frontend to get more complex custom graphs. Also, you
cannot have graphs where the two lines use different scales (eg, one
showing data use, one showing percentage). You have only one Y-axis.

Steve
--
Unsubscribe mailto:mrtg-***@list.ee.ethz.ch?subject=unsubscribe
Archive http://lists.ee.ethz.ch/mrtg
FAQ http://faq.mrtg.org Homepage http://www.mrtg.org
WebAdmin http://lists.ee.ethz.ch/lsg2.cgi
Loading...