aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xnagios-plugins/check_etc_hosts2
-rwxr-xr-xnagios-plugins/check_shutdown2
2 files changed, 2 insertions, 2 deletions
diff --git a/nagios-plugins/check_etc_hosts b/nagios-plugins/check_etc_hosts
index 8704965..b7f7268 100755
--- a/nagios-plugins/check_etc_hosts
+++ b/nagios-plugins/check_etc_hosts
@@ -30,7 +30,7 @@ if ($@) {
$use_perl_resolver = 1;
}
-$host = '/local/bin/host';
+$host = '/usr/bin/host';
# Look up ip address, and return ($error status, @DNS names, @DNS addresses)
sub dns_lookup_ext {
diff --git a/nagios-plugins/check_shutdown b/nagios-plugins/check_shutdown
index 756e6fb..d0b6afe 100755
--- a/nagios-plugins/check_shutdown
+++ b/nagios-plugins/check_shutdown
@@ -5,7 +5,7 @@
set -e
-PATH=/bin:/sbin:/usr/sbin:/usr/bin:/local/bin:/local/sbin
+PATH=/bin:/sbin:/usr/sbin:/usr/bin
shutdownpid="`pgrep '^shutdown$'|head -1`"