[mrtg] Interface UP/Down problems

Dave Jones DJones at TheFund.com
Sun Oct 15 19:25:42 MEST 2000


I am running MRTG 2.8.10 on an NT 4.0 workstation.  I am monitoring ISDN BRI
lines for an up/down status.  You will see my config below.  In this
scenario, if MRTG returns a 0, it means the interface is down.  If it
returns a 1, it is up.  The two issues I am running into are:

1 - I want to receive a 0 at all times as the BRI's are backup interfaces.
Therefore, I set my ThreshMaxI=0 and then the ThreshProgI=.....  I bring the
interface up and I don't get an e-mail.  Out of curiosity, I set the
ThreshMaxI= -1 and I will get an e-mail stating that the actual value=1 and
the breach value= 1???  Does MRTG not recognize 0?

2 - Just for testing, I set my ThreshMinI=10 so I could find out what values
were being returned.  I can take the interface down and it returns 0 saying
it is less than 10.  Ok.  Bring the interface up.  I have scheduling
software (MRTG Scheduler) that runs as a service and I set it to poll every
1 minute.  After bringing the interface up, it has taken up to 10 minutes
before I get an e-mail saying the actual value=1???  Each poll in between
returns an e-mail saying the value is 0.  Looking at the graph I have:

Max Up/Down : 1 Average Up/Down : 1 Current Up/Down : 1
Once they all hit one, on the next poll, I get the e-mail saying the actual
value =1.  Sometimes, however, even though the interface is up (which I know
is 1), it will continue to tell me it is 0.  Is it possible that MRTG is
caching this somewhere?  Any help would be greatly appreciated:
I am using software from www.wtcs.org/snmp4tpc (Garth Williams) to do the
notification part.

# Add a WorkDir: /some/path line to this file
WorkDir: c:\www\mrtg\updown
#ThreshDir: c:\mrtg\thresholds
IconDir: c:\mrtg\images
#RunAsDaemon:yes
#Interval:5

######################################################################
# Description: Cisco Internetwork Operating System Software IOS (tm) 3600
Software (C3640-JS-M), Version 11.3(6.1)T, MAINTENANCE INTERIM SOFTWARE
Copyright (c) 1986-1998 by cisco Systems, Inc. Compiled Fri 16-Oct-98 06:48
by ccai
#     Contact: 
# System Name: Test Router
#    Location: 
#.....................................................................

Target[TestRouter]: ifAdminHack.3&ifOperHack.3:public at 172.16.28.57
#Target[TestRouter]: ifAdminStatus.3&ifAdminStatus.3:public at 172.16.28.57
#Target[TestRouter]: ifOperStatus.3&ifOperStatus.3:public at 172.16.28.57
Unscaled[TestRouter]: dwmy
MaxBytes[TestRouter]: 1
ThreshMinI[TestRouter]: 10
ThreshProgI[TestRouter]: c:\mrtg\thresholds\threshunder.bat
#ThreshMaxI[TestRouter]: 0
#ThreshProgI[TestRouter]: c:\mrtg\thresholds\threshover.bat
Options[TestRouter]: gauge, nopercent, integer, transparent, growright
WithPeak[TestRouter]: dwmy
YTics[TestRouter]: 1
YLegend[TestRouter]: Port Status
ShortLegend[TestRouter]: Status
Legend1[TestRouter]: Operational Status (1=up 0=Down)
Legend2[TestRouter]: Administrative Status (1=Up 0=Down)
Legend3[TestRouter]:
Legend4[TestRouter]:
LegendI[TestRouter]:  Up/Down :
LegendO[TestRouter]:  Up/Down :
Title[TestRouter]: TestRouter (TestRouter): BRI0/0
PageTop[TestRouter]: <H1>Operational Status of BRI0/0
 </H1>
 <TABLE>
   <TR><TD>System:</TD><TD>TestRouter </TD></TR>
   <TR><TD>Maintainer:</TD><TD></TD></TR>
   <TR><TD>Interface:</TD><TD>BRI0/0 (3)</TD></TR>
   <TR><TD>IP:</TD><TD>TestRouter (172.16.28.57)</TD></TR>
   <TR><TD>Max Speed:</TD>
       <TD>128.0 kBytes/s (ethernetCsmacd)</TD></TR>
  </TABLE>



David Jones



--
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