I am trying to get the threshold feature to work using the new funciton of
allowing mrtg to send an email.  Here is what I have configured:
 
 
WorkDir: /var/www/html/mrtg-2/mrtg
RunAsDaemon: Yes
Interval: 5
Options[_]: growright, bits, noinfo
Unscaled[_]: dwmy
LogDir: /usr/local/mrtg-2/logs
Refresh: 300
EnableIPv6: no
ThreshDir: /usr/local/mrtg-2/thresh
ThreshMailServer: mail.megagate.com
ThreshMailSender: [EMAIL PROTECTED]
 

##
### Interface 1 >> Descr: 'Serial0/0' | Name: 'Se0/0' | Ip: '192.168.11.1' |
Eth: '' ###
##
 
Target[cisco2620]: 9:[EMAIL PROTECTED]:
SetEnv[cisco2620]: MRTG_INT_IP="192.168.11.1" MRTG_INT_DESCR="Multilink1"
MaxBytes[cisco2620]: 768000
Title[cisco2620]: Traffic Analysis for Corporate Router -- 6Mb
PageTop[cisco2620]: <H1>Traffic Analysis for Corporate Router -- 6Mb</H1>
Directory[cisco2620]: cisco2620
ThreshDesc[cisco2620]: Corporate Router
ThreshMaxI[cisco2620]: 192000
ThreshMailAddress[cisco2620]:  <mailto:[EMAIL PROTECTED]>
[EMAIL PROTECTED]

Once the threshold gets reached a file gets created in the threshold
directory called corporate.cfg.cisco2620.threshmaxI which I am guessing
means the threshold has been met.  However, I never get an email and the
servers logs don't indicate a message was ever sent.
 
Has anyone got this working or do you have to call an external program?
 
Thanks,
 
 ______________________________________________________ 
Charley Morgan
Internet Engineer
Megagate Broadband
 <blocked::http://www.megagate.com/> 
' Tel: (601) 450-5000 
* Email: [EMAIL PROTECTED] <blocked::mailto:[EMAIL PROTECTED]> 
______________________________________________________
 

<<megagatebroadbandlogo.gif>>

_______________________________________________
mrtg mailing list
[email protected]
https://lists.oetiker.ch/cgi-bin/listinfo/mrtg

Reply via email to