[mrtg] Re: Monitoring OperStatus
Jerry Heidtke
jheidtke at fmlh.edu
Tue Apr 1 23:08:17 MEST 2003
Your second target is a gauge. Use
Options[updown]: gauge
Consider using ifOperHack instead of ifOperStatus.
ifOperStatus returns up=1, down=2, testing=3. Hard to tell at a glance what the preferred status is. ifOperHack returns 1 for UP and 0 otherwise. Over time, this can give you a percentage of availability.
Jerry
-----Original Message-----
From: jacc [mailto:jcalderon at bankguay.com]
Sent: Tuesday, April 01, 2003 3:01 PM
To: mrtg list
Subject: [mrtg] Monitoring OperStatus
Hi, I want to monitoring the OperStatus from an Interface., but something is wrong... Please help me..
The config file is:
Target[172.26.103.2_2695]: 2695:public at 172.26.103.2:
SetEnv[172.26.103.2_2695]: MRTG_INT_IP="172.26.115.101" MRTG_INT_DESCR="2695 ; 3746 CLP Interface"
MaxBytes[172.26.103.2_2695]: 4000
Title[172.26.103.2_2695]: Traffic Analysis for 2695 -- CONFIGURATION NAME: Banco de Guayaquil 0016 , FQN: ECIBMHH1.CP3746
PageTop[172.26.103.2_2695]: <H1>Traffic Analysis for 2695 -- CONFIGURATION NAME: Banco de Guayaquil 0016 , FQN: #ECIBMHH1.CP3746 </H1>
<TABLE>
<TR><TD>System:</TD> <TD>CONFIGURATION NAME: Banco de Guayaquil 0016 , FQN: ECIBMHH1.CP3746 in Banco Guayaquil, #Guayaquil-Ecuador, , , 5floor, </TD></TR>
<TR><TD>Maintainer:</TD> <TD>Jose Calderon, 593-04-517100, </TD></TR>
<TR><TD>Description:</TD><TD>2695 ; 3746 CLP Interface </TD></TR>
<TR><TD>ifType:</TD> <TD>frame-relay (32)</TD></TR>
<TR><TD>ifName:</TD> <TD>2695 ; 3746 CLP Interface</TD></TR>
<TR><TD>Max Speed:</TD> <TD>4000.0 Bytes/s</TD></TR>
<TR><TD>Ip:</TD> <TD>172.26.115.101 ()</TD></TR>
</TABLE>
Target[updown]: ifOperStatus.2695&ifAdminStatus.2695:public at 172.26.103.2:
MaxBytes[updown]: 2
Title[updown]: Operational Status for Cir router
PageTop[updown]: <H1>Operational Status for Cir Router</H1>
<TABLE>
<TR><TD>System:</TD> <TD>Prueba cir in Guayaquil</TD></TR>
<TR><TD>Maintainer:</TD> <TD>José Calderón C.</TD></TR>
<TR><TD>Description:</TD><TD>Wan 1 Operational Status</TD></TR>
<TR><TD>ifType:</TD> <TD>Frame Relay Interface</TD></TR>
<TR><TD>ifName:</TD> <TD></TD></TR>
<TR><TD>Ip:</TD> <TD>172.26.115.102 ()</TD></TR>
</TABLE>
ThreshMaxI[updown]: 1
ThreshProgI[updown]: c:\mrtg-2.9.25\bin\mailalert.bat
ThreshProgOKI[updown]: c:\mrtg-2.9.25\bin\mailok.bat
I obtained the correct graphic for the traffic, but the second graphic is in blank, the values in the updown.log file does not change :
1049230123 1 1
1049230123 0 0 0 0
1049229823 0 0 0 0
1049229600 0 0 0 0
1049229300 0 0 0 0
etc:
What is wrong???
Thanks
--
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
Confidentiality Notice: This e-mail message, including any attachments,
is for the sole use of the intended recipient(s) and may contain
confidential and privileged information. Any unauthorized review, use,
disclosure or distribution is prohibited. If you are not the intended
recipient, please contact the sender by reply e-mail and destroy all
copies of the original message.
--
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