[mrtg] Threshold question

Marc Tech tychie77 at yahoo.com
Mon Dec 23 14:21:46 MET 2002

I have a question for myself ..if someone could help
me out...I have configured the threshold parameters in
my mrtg.cfg file.the
configuration is as follows:

-2:ectele2 at
MaxBytes[broadlogic]: 1250000
ThreshMinI[broadlogic]: 250000
Options[broadlogic]: bits,growright,nopercent
WithPeak[broadlogic]: wmy
Title[broadlogic]: Traffic Analysis for NSS Rx Circuit
PageTop[broadlogic]: <H3>Traffic Analysis for NSS Rx
    <TR><TD>System:</TD>     <TD>IPr in
<TD>noc at super.net.pk</TD></TR>
    <TR><TD>Description:</TD><TD>sip0  </TD></TR>
    <TR><TD>ifType:</TD>     <TD>ethernetCsmacd
    <TR><TD>Ip:</TD>         <TD>

I  have added the 2 lines i.e 
"ThreshProgI[broadlogic]:/usr/script/broad_threshold "
& "

in my conf file as you can see above ...

The mrtg file was reconfigured and it did not give any
errors.Now the
problem that i am facing is that when i remove the
ethernet cable from
my "boradlogic" receiver box then i can see a sudden
drop in the
throughput which goes below 250000 but still i donot
get any alerts from
the mrtg machine.I have set scripts namely
"broad_threshold" when there
is a threshold breach and "threshprogoki_script" when
the thresold
becomes OK ...but still there something fishy going on
..... The script
"broad_threshold" contains the following:

echo "NSS is down" | sendmail -t salmanah at super.net.pk

while the script "threshprogoki_script" contains :

echo "To: Salman Hashmi <salmanah at super.net.pk>"
echo "From: root <root at help.super.net.pk>"
echo "X-Priority: 1 (Highest)"
echo "Subject: AutoNOC: Alert  !! NSS Ok now"
echo "This is an alert for you because now the NSS is
OK !"| sendmail -t
salmanah at super.net.pk

Can you help me in this regard ??? 


Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.

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