summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 664be83)
raw | patch | inline | side by side (parent: 664be83)
author | Subhendu Ghosh <sghosh@users.sourceforge.net> | |
Sun, 13 Apr 2003 04:28:58 +0000 (04:28 +0000) | ||
committer | Subhendu Ghosh <sghosh@users.sourceforge.net> | |
Sun, 13 Apr 2003 04:28:58 +0000 (04:28 +0000) |
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@491 f882894a-f735-0410-b71e-b25c423dba1c
configure.in | patch | blob | history | |
plugins-scripts/utils.pm.in | patch | blob | history |
diff --git a/configure.in b/configure.in
index 690e8941a01b8b53ed5af4f23731150b51ed6437..a7f3d1f3f5a2eccaf331835b974bdbbb9c6ae94f 100644 (file)
--- a/configure.in
+++ b/configure.in
AC_MSG_WARN([Could not find mailq or eqivalent])
fi
+AC_PATH_PROG(PATH_TO_QMAIL_QSTAT,qmail-qstat)
+if test -x "$PATH_TO_QMAIL_QSTAT"
+then
+ AC_DEFINE_UNQUOTED(PATH_TO_MAILQ,"$PATH_TO_QMAIL_QSTAT",[path to qmail-qstat])
+else
+ AC_MSG_WARN([Could not find qmail-qstat or eqivalent])
+fi
+
dnl SWAP info required is amount allocated/available and amount free
dnl The plugin works through all the swap devices and adds up the total swap
dnl available.
index 8316f9e1188c3e1cf4a1e2dcd1a2ef44e6d5322f..7bc0ba801b9baadc72b83a040ce4fd6943a057ff 100644 (file)
# $Id$
#
# $Log$
+# Revision 1.7 2003/04/13 04:25:36 sghosh
+# update for check_mailq - qmail support
+#
# Revision 1.6 2003/02/03 20:29:55 sghosh
# change ntpdc to ntpq (Jonathan Rozes,Thomas Schimpke, bug-656237 )
#
$PATH_TO_LMSTAT = "@PATH_TO_LMSTAT@" ;
$PATH_TO_SMBCLIENT = "@PATH_TO_SMBCLIENT@" ;
$PATH_TO_MAILQ = "@PATH_TO_MAILQ@";
+$PATH_TO_QMAIL_QSTAT = "@PATH_TO_QMAIL_QSTAT@";
## common variables
$TIMEOUT = 15;