openbsd-ports/net/munin/patches/patch-plugins_node_d_courier__in
kirby 0da08b478d Major update to munin-2.0.7
Full changelog is here:
https://github.com/munin-monitoring/munin/blob/2.0.7/ChangeLog

Lots of input and help from sthen@ (maintainer)
ok sthen@

P.S. Your config may need some manual interference.
2012-10-12 09:46:46 +00:00

28 lines
931 B
Plaintext

$OpenBSD: patch-plugins_node_d_courier__in,v 1.2 2012/10/12 09:46:46 kirby Exp $
--- plugins/node.d/courier_.in.orig Fri Aug 31 19:22:50 2012
+++ plugins/node.d/courier_.in Sun Sep 30 23:19:14 2012
@@ -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}
mktempfile () {
@@MKTEMP@@