[mrtg] Re: combining separate port results in graphs

Grendel grendel at interq.ad.jp
Thu May 3 18:51:00 MEST 2001


Hi Trevor,
	You can perform simple arithmetic -- addition, subtraction, multiplication, and division -- with Target
fields. Here I'm using such arithmetic to get usage percentages from groups of T1 channels spread across
multiple interfaces on multiple access servers, all because they happen to be in the same hunt group. For
example...

Target[laputa_members_1]:  ( 1.3.6.1.4.1.529.4.26.0&1.3.6.1.4.1.529.4.26.0:public at 10.2.3.4 +
   1.3.6.1.4.1.529.4.26.0&1.3.6.1.4.1.529.4.26.0:public at 172.16.32.6 +
   1.3.6.1.4.1.529.4.21.1.7.4&1.3.6.1.4.1.529.4.21.1.7.4:public at 192.168.8.3 +
   1.3.6.1.4.1.529.4.21.1.7.5&1.3.6.1.4.1.529.4.21.1.7.5:public at 192.168.8.3 +
   1.3.6.1.4.1.529.4.21.1.7.7&1.3.6.1.4.1.529.4.21.1.7.7:public at 192.168.8.3 ) * 100 / 207

... where 207 works out to be the total number of channels. It would probably be a lot less uglier to do
the same thing for appregate bandwidth usage.
	Hope that helps

Best regards,
James Overbeck
GMO - http://www.gmo.co.jp/
Tokyo, Japan



Trevor Pirman wrote:
> 
> Hi,
> 
> I am monitoring a few switches for usage with mrtg.  They are Cisco
> Catalyst 2900's.  Right now, the results I get from mrtg are the
> activity of each individual active port.  This is not as interesting as
> the overall usage of the switch.  Can I configure mrtg to give me a
> summary of all 24 ports instead of individual data?  Or should I be
> looking for a port on the cisco that provides this data?
> 
> Thanks for any help.
> 
> -Trevor
> 
> --
> Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
> Archive     http://www.ee.ethz.ch/~slist/mrtg
> FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
> WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the mrtg mailing list