summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--configure.in8
-rw-r--r--plugins-scripts/utils.pm.in4
2 files changed, 12 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 690e894..a7f3d1f 100644
--- a/configure.in
+++ b/configure.in
@@ -1257,6 +1257,14 @@ else
1257 AC_MSG_WARN([Could not find mailq or eqivalent]) 1257 AC_MSG_WARN([Could not find mailq or eqivalent])
1258fi 1258fi
1259 1259
1260AC_PATH_PROG(PATH_TO_QMAIL_QSTAT,qmail-qstat)
1261if test -x "$PATH_TO_QMAIL_QSTAT"
1262then
1263 AC_DEFINE_UNQUOTED(PATH_TO_MAILQ,"$PATH_TO_QMAIL_QSTAT",[path to qmail-qstat])
1264else
1265 AC_MSG_WARN([Could not find qmail-qstat or eqivalent])
1266fi
1267
1260dnl SWAP info required is amount allocated/available and amount free 1268dnl SWAP info required is amount allocated/available and amount free
1261dnl The plugin works through all the swap devices and adds up the total swap 1269dnl The plugin works through all the swap devices and adds up the total swap
1262dnl available. 1270dnl available.
diff --git a/plugins-scripts/utils.pm.in b/plugins-scripts/utils.pm.in
index 8316f9e..7bc0ba8 100644
--- a/plugins-scripts/utils.pm.in
+++ b/plugins-scripts/utils.pm.in
@@ -2,6 +2,9 @@
2# $Id$ 2# $Id$
3# 3#
4# $Log$ 4# $Log$
5# Revision 1.7 2003/04/13 04:25:36 sghosh
6# update for check_mailq - qmail support
7#
5# Revision 1.6 2003/02/03 20:29:55 sghosh 8# Revision 1.6 2003/02/03 20:29:55 sghosh
6# change ntpdc to ntpq (Jonathan Rozes,Thomas Schimpke, bug-656237 ) 9# change ntpdc to ntpq (Jonathan Rozes,Thomas Schimpke, bug-656237 )
7# 10#
@@ -39,6 +42,7 @@ $PATH_TO_NTPQ = "@PATH_TO_NTPQ@" ;
39$PATH_TO_LMSTAT = "@PATH_TO_LMSTAT@" ; 42$PATH_TO_LMSTAT = "@PATH_TO_LMSTAT@" ;
40$PATH_TO_SMBCLIENT = "@PATH_TO_SMBCLIENT@" ; 43$PATH_TO_SMBCLIENT = "@PATH_TO_SMBCLIENT@" ;
41$PATH_TO_MAILQ = "@PATH_TO_MAILQ@"; 44$PATH_TO_MAILQ = "@PATH_TO_MAILQ@";
45$PATH_TO_QMAIL_QSTAT = "@PATH_TO_QMAIL_QSTAT@";
42 46
43## common variables 47## common variables
44$TIMEOUT = 15; 48$TIMEOUT = 15;