28 lines
822 B
Text
28 lines
822 B
Text
|
Index: plugins/node.d/courier_.in
|
||
|
--- plugins/node.d/courier_.in.orig
|
||
|
+++ plugins/node.d/courier_.in
|
||
|
@@ -27,8 +27,8 @@ variable to "imaplogin" and "courierpop3login", respec
|
||
|
The default configuration is:
|
||
|
|
||
|
[courier_*]
|
||
|
- env.logtail /usr/sbin/logtail
|
||
|
- env.logfile /var/log/mail.log
|
||
|
+ env.logtail /usr/local/bin/logtail
|
||
|
+ env.logfile /var/log/maillog
|
||
|
env.service <Whatever follows "courier_" in the file name>
|
||
|
|
||
|
=head1 MAGIC MARKERS
|
||
|
@@ -52,10 +52,10 @@ Unknown
|
||
|
=cut
|
||
|
|
||
|
# Set the location of the courier logs
|
||
|
-COURIER_LOG=${logfile:-/var/log/mail.log}
|
||
|
+COURIER_LOG=${logfile:-/var/log/maillog}
|
||
|
SERVICE=${service:-$(basename "$0" | sed 's/^courier_//g')}
|
||
|
OFFSET_FILE=${MUNIN_PLUGSTATE}/courier_${SERVICE}.offset
|
||
|
-LOGTAIL=${logtail:-/usr/sbin/logtail}
|
||
|
+LOGTAIL=${logtail:-/usr/local/bin/logtail}
|
||
|
|
||
|
|
||
|
case $1 in
|