[mrtg] Help using ThreshMax!

Jonathan Carpenter jonathan.carpenter at gmail.com
Wed Feb 15 17:49:30 MET 2006


I am trying to have mrtg run a script when my smtp concurrency gets past 2%
on connections. Running /var/www/html/qmailstats/threshold/check.sh via
command line works great but for some reason MRTG will not run the script.
What am I doing wrong?
Title[smtp]: mail.box.com - SMTP Concurrency
MaxBytes[smtp]: 85
Options[smtp]: gauge,growright
Target[smtp]: `/usr/local/bin/qmailmrtg7 t /var/log/qmail/qmail-smtpd ;
uptime | sed 's/,//g' | awk '{print $3" "$4" "$5;}' ; hostname`
PageTop[smtp]: <B>mail.box.com - SMTP Concurrency</B><BR>
ShortLegend[smtp]: SMTP
YLegend[smtp]: SMTP
Legend1[smtp]: SMTP
LegendI[smtp]: &nbsp;SMTP:
LegendO[smtp]:
WithPeak[smtp]: ymwd
ThreshMaxI[smtp]: 2%
ThreshMaxO[smtp]: 2%
ThreshProgI[smtp]: /var/www/html/qmailstats/threshold/check.sh
ThreshProgO[smtp]: /var/www/html/qmailstats/threshold/check.sh


                                                Thanks,
--
Jonathan Carpenter

--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://lists.ee.ethz.ch/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi



More information about the mrtg mailing list