[mrtg] threshhold/multiple oids

MegaNet DomainReg domainreg at meganet.net
Wed Feb 13 17:57:30 MET 2002


Hi folks, Im trying to monitor the up/down status of a frame pvc, using the
OIDs for "operational status" and "admin status" I want to be able to get an
email when the Operational status is down. i dont really care about admin
status.

I have threshold min set to 1, so I assume 1 is up 0 is down, and once its
down it will send and email, i know the email part works because when i 1st
start this mrtg cfg(deleted all previous files), it sends me and email
alert. Is this correct ?

this is what i currently get

Max Operational 8.0 Status   Average Operational 8.0 Status   Current
Operational 8.0 Status
Max Admin. 8.0 Status   Average Admin. 8.0 Status   Current Admin. 8.0
Status

-----------

My next question is can I also monitor line usuage while monitoring line
status, but only getting alerts on a downed OP state?

TIA, PAUL

here is my cfg

Options[_]: bits,growright,gauge,nopercent
Target[Americare-Providence]:
1.3.6.1.2.1.2.2.1.8.53&1.3.6.1.2.1.2.2.1.7.53:xxx at xxxxxx
MaxBytes[Americare-Providence]: 1
Title[Americare-Providence]: xxxxxxx
Colours[Americare-Providence]: GREEN#00eb0c,BLUE#1000ff,DARK
GREEN#006600,VIOLET#ff00ff,Black#000000,Cust1##
66FF99,Cust2##FF0066,Yellow#FFFF33
Ylegend[Americare-Providence]: Cir. Status
ShortLegend[Americare-Providence]: Status
LegendI[Americare-Providence]: Operational
LegendO[Americare-Providence]: Admin.
Legend1[Americare-Providence]: OPERATIONAL UP.
Legend2[Americare-Providence]: ADMIN UP.
Legend3[Americare-Providence]: OP DOWN.
Legend4[Americare-Providence]: ADMNIN DOWN.
PageTop[Americare-Providence]: <H1>Traffic Analysis for
Americare-Providence</H1>
  <TABLE>
    <TR><TD>System:</TD>     <TD>Cascade1 Providence </TD></TR>
    <TR><TD>Maintainer:</TD> <TD>MegaNet NOC</TD></TR>
    <TR><TD>Description:</TD><TD>Americare-Providence private cir<TD></TR>
    <TR><TD>ifType:</TD>     <TD>PTP</TD></TR>
    <TR><TD>ifName:</TD>     <TD></TD></TR>
    <TR><TD>Max Speed:</TD>  <TD>512 Kbits/s</TD></TR>
  </TABLE>
###############################################
#-> threshold
#
SetEnv[Americare-Providence]: EMAIL="something at something.net" HOST="MRTG -
private customer cir."
#
ThreshDir: /var/www/html/mrtg2/private/test/testthresh
ThreshMinI[Americare-Providence]: 1
ThreshProgI[Americare-Providence]:
/var/www/html/mrtg2/private/bos/bos.priv.email.perl

----------------------------
Paul Amaral
MegaNet Communications
508-646-0030
----------------------------


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