2
0
mirror of https://github.com/munin-monitoring/contrib.git synced 2018-11-08 00:59:34 +01:00

correct place for postfix logs is mail.log

This commit is contained in:
Ander Punnar 2017-04-13 12:50:43 +03:00
parent c2ddc35f73
commit b13a180e92

View File

@ -16,7 +16,7 @@ Any system where pflogsumm script can be executed.
There is no default configuration. This is an example config for Ubuntu:
[postfix_stats]
env.logfiles /var/log/syslog /var/log/syslog.1
env.logfiles /var/log/mail.log /var/log/mail.log.1
env.pflogsumm pflogsumm
env.logfiles contains space separated syslog logfiles, usually current log
@ -59,7 +59,7 @@ GPLv2
=cut
#set -xv
SYS_LOG="${logfiles:-/var/log/syslog /var/log/syslog.0}"
SYS_LOG="${logfiles:-/var/log/mail.log /var/log/mail.log.1}"
GREP_HOSTNAME="${0##*postfix_stats_}"