[mrtg] Re: cisco 2900xl switch
Andreas Nolte
anolte at ccietac.de
Tue Nov 27 18:10:18 MET 2001
Hello,
here is a sample configuration file to monitor the inIfOctets and the outIfOctets of an interface. First you should check the correct interface index of the port to monitor.
******************************************
#
Target[ffm1.1]:1.3.6.1.2.1.2.2.1.10.24&1.3.6.1.2.1.2.2.1.16.24:public at router1
Options[ffm1.1]: growright, bits, nopercent
MaxBytes[ffm1.1]: 155520000
AbsMax[ffm1.1]: 155520000
Suppress[ffm1.1]: y
Title[ffm1.1]: Interface atm1
YLegend[ffm1.1]: Bits/sec
ShortLegend[ffm1.1]: B/s
Legend1[ffm1.1]: In Bits/sec
Legend2[ffm1.1]: Out Bits/sec
LegendI[ffm1.1]: In Bits/sec:
LegendO[ffm1.1]: Out Bits/sec:
PageTop[ffm1.1]: <H1>Interface atm1
</H1>
<TABLE>
<TR><TD>System:</TD><TD>Interface atm1</TD></TR>
<TR><TD>Maintainer:</TD><TD>NetOps</TD></TR>
<TR><TD>Interface:</TD><TD>at-1/0/0</TD></TR>
<TR><TD>IP:</TD><TD>10.100.201.3</TD></TR>
</TABLE>
#
****************************************************************
Where 1.3.1.6.1.2.1.2.2.1.10.24 is under the MIB-2 branch of the MIB tree. 10 are the ifInOctets and 24 is the interface index.
"public" is the community and "router1" the remote router to monitor.
I hope this helps.
On Tue, 27 Nov 2001 08:33:32 -0800
"josh elson" <josh at webintellects.com> wrote:
> Hello,
> I am very new to mrtg and am having a problem getting mrtg
> to graph incoming and outgoing traffic for our Cisco 2900XL 24 port
> switch. I would like to monitor all ports and have 24 separate graphs. I
> have read all through the documentation and am very confused. I have
> mrtg measuring traffic locally but would like to monitor a remote
> switch. Could someone please post the correct syntax I should use with
> cfgmaker or to manually edit the config file. I seem to be hung up on
> the MIB part (I think). Any help is greatly appreciated!!!!
>
> Kind Regards,
> --------------------------------------------------
> Josh Elson
> WebIntellects Technical Support
> josh at webintellects.com
> 800-994-6364
> 760-476-9313
> www.webintellects.com
> --------------------------------------------------
>
>
>
> --
> 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
>
--
******************
Andreas Nolte
Email: anolte at ccietac.de
--
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