[mrtg] Re: Help Regarding IfAdminStatus

Andreas Nolte anolte at ccietac.de
Wed May 22 11:46:15 MEST 2002


Hi,

here is an example of the configuration of this OID. The following status information is available (RFC1573 MIB-2):

1 = up, 2 = down, 3 = testing, 4 = unknown, 5 = dormant(inactive), 6 = not present, 7 = lower layer down.

Configuration file:

#
#-------------------------------------------------------------------
#
Target[bbr1.p001.69000.1.1.0.ps]:1.3.6.1.2.1.2.2.1.7.27&1.3.6.1.2.1.2.2.1.8.27:public at bbr1.p001.69000
Options[bbr1.p001.69000.1.1.0.ps]: growright, gauge, integer, nopercent
MaxBytes[bbr1.p001.69000.1.1.0.ps]: 2
YTics[bbr1.p001.69000.1.1.0.ps]: 2
AbsMax[bbr1.p001.69000.1.1.0.ps]: 7
Suppress[bbr1.p001.69000.1.1.0.ps]: y
Title[bbr1.p001.69000.1.1.0.ps]: bb-ports-ffm Frankfurt Stuttgart
YLegend[bbr1.p001.69000.1.1.0.ps]: Port Status
ShortLegend[bbr1.p001.69000.1.1.0.ps]:.
Legend1[bbr1.p001.69000.1.1.0.ps]: Admin Status
Legend2[bbr1.p001.69000.1.1.0.ps]: Operational Status
LegendI[bbr1.p001.69000.1.1.0.ps]:  Admin Status
LegendO[bbr1.p001.69000.1.1.0.ps]:  Operational Status
PageTop[bbr1.p001.69000.1.1.0.ps]: <H1>M20 Frankfurt (Frankfurt -> Stuttgart) Port Status
  </H1>
  <TABLE>
    <TR><TD>System:</TD><TD>Juniper M20 Frankfurt</TD></TR>
    <TR><TD>Maintainer:</TD><TD>Riodata SysTech</TD></TR>
    <TR><TD>Interface:</TD><TD>at-1/1/0.0</TD></TR>
    <TR><TD>IP:</TD><TD>10.128.128.20</TD></TR>
   </TABLE>
PageFoot[bbr1.p001.69000.1.1.0.ps]: Contact <A HREF="mailto:andreas.nolte at riodata.de";>Andreas
 Nolte</a>
 if you have questions regarding this page.
SetEnv[bbr1.p001.69000.1.1.0.ps]: EMAIL="andreas.nolte at riodata.de"
#
*********************************************************************

I hope this helps you. I have set the YTics to 2, because only the status 1 (up) and 2 (down) are intresting (The scale on the screen looks better). Without this the scale on the left side goes from 1 to 7 (AbsMax Value).
The value 27 is the ifIndex of the interface.
If you have questions, send an email.

Best regards Andreas




On Wed, 22 May 2002 08:48:53 +0000
"Prashant Puri" <prashant_puri at hotmail.com> wrote:

> 
> 
> 
> Hi!
> I would like to know how i could know weather my router is down or not using 
> the IfAdminStatus OID in my MRTG Congif File.
> I would appreciate the help rendered,
> thanking you,
> Prashant Puri
> 
> 
> _________________________________________________________________
> Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.
> 
> --
> 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