ports/73179: [sysutils/munin-node] sendmail plugins don't work on FreeBSD (patch included)
Tom Uffner
tom at uffner.com
Tue Oct 26 21:30:25 UTC 2004
>Number: 73179
>Category: ports
>Synopsis: [sysutils/munin-node] sendmail plugins don't work on FreeBSD (patch included)
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Tue Oct 26 21:30:23 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator: Tom Uffner
>Release: 5.x, 6.0-Current
>Organization:
Tom Uffner & Associates, Inc.
>Environment:
FreeBSD xiombarg.uffner.com 6.0-CURRENT FreeBSD 6.0-CURRENT #6: Fri Oct 22 18:48:27 EDT 2004 tom at xiombarg.uffner.com:/usr/obj/usr/src/sys/XIOMBARG i386
>Description:
sendmail_mailqueue plugin does not work because the standard location of the MSP queue dir is /var/spool/clientmqueue (not mqueue-client). this may be FreeBSD specific.
sendmail_mailstats plugin does not work because "/dev/null" is misspelled as "/dev/nul". this patch should probably be submitted to the munin project as well.
sendmail_mailtraffic plugin works except that it depends on sendmail_mailstats.
>How-To-Repeat:
install munin-node and enable sendmail_* plugins
>Fix:
--- munin-1.0.2/node/node.d/sendmail_mailqueue.in.orig Wed Feb 18 13:40:02 2004
+++ munin-1.0.2/node/node.d/sendmail_mailqueue.in Tue Oct 26 16:47:13 2004
@@ -20,7 +20,7 @@
#
#
-MSP_QUEUE=/var/spool/mqueue-client
+MSP_QUEUE=/var/spool/clientmqueue
MTA_QUEUE=/var/spool/mqueue
if [ "$mspqueue" ]; then MSP_QUEUE=$mspqueue ; fi
if [ "$mtaqueue" ]; then MTA_QUEUE=$mspqueue ; fi
--- munin-1.0.2/node/node.d/sendmail_mailstats.in.orig Wed Feb 18 13:40:03 2004
+++ munin-1.0.2/node/node.d/sendmail_mailstats.in Tue Oct 26 16:48:11 2004
@@ -18,7 +18,7 @@
TEMP_FILE=/tmp/lrrd-sendmail
if [ "$1" = "autoconf" ]; then
- if which mailstats 2>&1 > /dev/nul ; then
+ if which mailstats 2>&1 > /dev/null ; then
echo yes
exit 0
else
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list