Package: nagios-plugins
Severity: important

The 'check_mailq' plugin depends on utils.pm, which defines
'$PATH_TO_MAILQ', to find the mailq binary to run.

Unfortunately, as shipped this file defines it as "", resulting in
check_mailq trying to do -x "", and failing as a result.

This patch corrects it for me, with Postfix, and I believe with any
other MTA supported by the plugin under Debian.

Regards,
        Daniel

--- utils.pm    2005-03-02 23:45:28.000000000 +1100
+++ utils.pm.orig       2005-03-02 23:45:18.000000000 +1100
@@ -42,7 +42,7 @@
 $PATH_TO_NTPQ    = "/usr/bin/ntpq" ;
 $PATH_TO_LMSTAT  = "" ;
 $PATH_TO_SMBCLIENT = "/usr/bin/smbclient" ;
-$PATH_TO_MAILQ   = "/usr/bin/mailq";
+$PATH_TO_MAILQ   = "";
 $PATH_TO_QMAIL_QSTAT = "";
 
 ## common variables


-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.11-rc3-enki
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)

-- 
You want to be famous and rich and happy, but you're terrified you have
nothing to offer this world. Nothing to say and no way to say it, but you can
say it in three languages.
        -- KMFDM, _Dogma_


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to