[mrtg] Re: Threshold alerting using "ThreshMaxO"

Cornwell, Eric J. EJCORNWELL at coopertire.com
Wed Aug 6 13:29:00 MEST 2003


Hello,

	I don't know if this will fix your problem but you might want to add
the ThreshDir line to each config and see if that fixes anything.  
EX: ThreshDir: C:\mrtg-2.9.29\thresholds
I'll look at it later if this doesn't help.

Hope that helps!
Eric

-----Original Message-----
From: AS, Raj Kumar [mailto:RajKumar at solectron.com]
Sent: Wednesday, August 06, 2003 3:46 AM
To: mrtg at list.ee.ethz.ch
Subject: [mrtg] Threshold alerting using "ThreshMaxO"


Hi All,
I am using mrtg-2.9.29 on win2k. I am also using fire daemon to make mrtg
run as a service in win2k. I thought doing some threshold alerting when the
utilization of WAN link goes beyond 70%. I am monitoring about 8 routers.

This is what I did...

I just tested the "ThreshMaxO" option in a sample mrtg.cfg file for one
router. It works fine. I am able to receive alert mails. But it doesn't work
on my live mrtg config for some reason.
In my live mrtg config file I use include statement to call the individual
config file for better manageability (shown below)  

####################################
RunAsDaemon: yes
Options[_]: bits,growright
WorkDir: c:\Inetpub\wwwroot\mrtg
Refresh: 300
Include: c:\mrtg-2.9.29\bin\x1-mrtg.cfg
Include: c:\mrtg-2.9.29\bin\x2-mrtg.cfg
Include: c:\mrtg-2.9.29\bin\x3-mrtg.cfg
Include: c:\mrtg-2.9.29\bin\x4-mrtg.cfg
Include: c:\mrtg-2.9.29\bin\x5-mrtg.cfg
#####################################

In x1-mrtg.cfg file I added the below statements..
ThreshMaxO: 173600
ThreshProgO: c:\mrtg-2.9.29\alertmail.bat

In my alertmail.bat I am using the blat program to send a mail to me. When I
do these changes on the live mrtg.cfg file and restart the service using
firedaemon, I find the mrtg is not working and the mrtg files are not
getting updated.

Did anybody in the group faced similar problem? Any know workarounds for
this issue.

Any inputs are greatly appreciated. Thanks in advance.

Best Regards,
Raj.




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

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