Lines 11-22
Link Here
|
11 |
you must at least set the 'WorkDir:' variable and qmail log paths |
11 |
you must at least set the 'WorkDir:' variable and qmail log paths |
12 |
(search for '/var/log/supervise/qmail' and adapt to your system) |
12 |
(search for '/var/log/supervise/qmail' and adapt to your system) |
13 |
b) configure qmrtg.conf. Defaults are fine generally. At least copy |
13 |
b) configure qmrtg.conf. Defaults are fine generally. At least copy |
14 |
${PREFIX}/qmrtg.conf.sample to "qmrtg.conf". |
14 |
${PREFIX}/etc/qmrtg.conf.sample to "qmrtg.conf". |
15 |
c) make mrtg run automatically. Using cron, put that in "/etc/crontab": |
15 |
c) make mrtg run automatically. Using cron, put that in "/etc/crontab": |
16 |
|
16 |
|
17 |
*/5 * * * * root /usr/local/bin/mrtg \ |
17 |
*/5 * * * * root /usr/local/bin/mrtg \ |
18 |
/usr/local/www/data/qmrtg/cfg/mrtg.cfg 1>/dev/null 2>&1 |
18 |
/usr/local/www/data/qmrtg/cfg/mrtg.cfg 1>/dev/null 2>&1 |
19 |
|
19 |
|
20 |
Note: to skip qmrtg reporting your mx' whole history at the first call, |
20 |
Note: to skip qmrtg reporting your mx' whole history at the first call, |
21 |
run the following before "c)" |
21 |
run the following before point "c)" |
22 |
$ qmrtgsync.sh |
22 |
$ qmrtgsync.sh |