aboutsummaryrefslogtreecommitdiffstats
path: root/nagios-plugins
diff options
context:
space:
mode:
authorPetter Reinholdtsen <pere@hungry.com>2010-02-03 11:33:57 +0000
committerPetter Reinholdtsen <pere@hungry.com>2010-02-03 11:33:57 +0000
commitcbfb34d9642674608d80e75269eb3c61084b240d (patch)
treeca466677e7df16f310714ecfa4d905418c84105f /nagios-plugins
parente87510ff9906b2af8a35d903821fc11b11d0b99d (diff)
downloadsitesummary-cbfb34d9642674608d80e75269eb3c61084b240d.tar.gz
sitesummary-cbfb34d9642674608d80e75269eb3c61084b240d.tar.bz2
sitesummary-cbfb34d9642674608d80e75269eb3c61084b240d.tar.xz
Port to Debian.
Diffstat (limited to 'nagios-plugins')
-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`"