1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-25 09:34:11 +00:00
freebsd-ports/mail/qmrtg/pkg-message
Volker Stolz 2ca21b1d11 Add qmrtg 0.5.6, a simple tool for monitoring and graphing qmail
activity through MRTG.

PR:		ports/67887
Submitted by:	Mij <mij @ dev.publicshout.org>
2004-06-28 10:29:10 +00:00

23 lines
943 B
Plaintext

================================================================
QMRTG has been installed.
1) A "qmrtg/" directory has been added to ${PREFIX}/www/data
If you don't care publishing qmrtg's reports, just run a polite
$ rm -rf ${WWWROOTDIR}/qmrtg
Also remind to remove it if you definitively uninstall qmrtg.
2) to enable qmrtg monitoring:
a) have a look at the ${PREFIX}/www/data/cfg/mrtg.cfg" file.
you must at least set the 'WorkDir:' variable and qmail log paths
(search for '/var/log/supervise/qmail' and adapt to your system)
b) configure qmrtg.conf. Defaults are fine generally. At least copy
${PREFIX}/qmrtg.conf.sample to "qmrtg.conf".
c) make mrtg run automatically. Using cron, put that in "/etc/crontab":
*/5 * * * * root /usr/local/bin/mrtg \
/usr/local/www/data/qmrtg/cfg/mrtg.cfg 1>/dev/null 2>&1
Note: to skip qmrtg reporting your mx' whole history at the first call,
run the following before "c)"
$ qmrtgsync.sh