[mrtg] Re: Ip accounting .

Andreas Nolte anolte at ccietac.de
Thu Dec 6 14:05:09 MET 2001



Hi,

ok. You need the index of the interfaces you want to monitor. You can do a snmpwalk ipaddress community interfaces, then you get everything about the interfaces in your Cisco.


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.
16 are the ifOutOctets and 24 is the interface index.

"public" is the community and "router1" the remote router to monitor.




On Thu, 6 Dec 2001 14:43:18 +0200 
Sharon Segal <SharonSe at INFONET-IL.com> wrote:

> input output 
> 
> -----Original Message-----
> From: Andreas Nolte [mailto:anolte at ccietac.de]
> Sent: Thursday, December 06, 2001 2:40 PM
> To: Sharon Segal
> Subject: Re: [mrtg] Ip accounting .
> 
> 
> 
> Hi,
> 
> which variables do you want to display with MRTG ?
> 
> 
> Regards Andreas
> 
> 
> On Thu, 6 Dec 2001 12:12:23 +0200 
> Sharon Segal <SharonSe at INFONET-IL.com> wrote:
> 
> > 
> > Hi all ,
> > 
> > Can some body assist me and send me a sample of Ip accounting CFG for
> cisco
> > router .
> > 
> > 
> > Thanks .
> > 
> > 
> > 
> > 
> > 
> >                  Sharon Segal
> >                  Infonet  Israel
> >                         TSE
> >           sharonse at infonet-il.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


-- 
******************

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