aboutsummaryrefslogtreecommitdiff
path: root/plugins-scripts/utils.pm.in
diff options
context:
space:
mode:
authorGravatar Holger Weiss <holger@zedat.fu-berlin.de> 2014-12-02 21:13:38 +0100
committerGravatar Holger Weiss <holger@zedat.fu-berlin.de> 2014-12-02 21:13:38 +0100
commit8235fd0aef2945e0d638fba3493134588d085d5a (patch)
treeaafe5c7cf840fe013ca423445cc88bb5f8b1bc74 /plugins-scripts/utils.pm.in
parent04e0a182aeb5defaf6b39cbbd8d9c87491c4f1e4 (diff)
downloadmonitoring-plugins-8235fd0aef2945e0d638fba3493134588d085d5a.tar.gz
check_mailq: Add sudo support
This addition is based on a patch contributed by Christopher Schultz. Closes #1099. Closes #1171.
Diffstat (limited to 'plugins-scripts/utils.pm.in')
-rw-r--r--plugins-scripts/utils.pm.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins-scripts/utils.pm.in b/plugins-scripts/utils.pm.in
index 0f53243c..386831eb 100644
--- a/plugins-scripts/utils.pm.in
+++ b/plugins-scripts/utils.pm.in
@@ -17,6 +17,7 @@ sub support();
sub is_hostname;
## updated by autoconf
+$PATH_TO_SUDO = "@PATH_TO_SUDO@";
$PATH_TO_RPCINFO = "@PATH_TO_RPCINFO@" ;
$PATH_TO_LMSTAT = "@PATH_TO_LMSTAT@" ;
$PATH_TO_SMBCLIENT = "@PATH_TO_SMBCLIENT@" ;