diff options
author | Petter Reinholdtsen <pere@hungry.com> | 2010-02-03 11:33:57 +0000 |
---|---|---|
committer | Petter Reinholdtsen <pere@hungry.com> | 2010-02-03 11:33:57 +0000 |
commit | cbfb34d9642674608d80e75269eb3c61084b240d (patch) | |
tree | ca466677e7df16f310714ecfa4d905418c84105f /nagios-plugins | |
parent | e87510ff9906b2af8a35d903821fc11b11d0b99d (diff) | |
download | sitesummary-cbfb34d9642674608d80e75269eb3c61084b240d.tar.gz sitesummary-cbfb34d9642674608d80e75269eb3c61084b240d.tar.bz2 sitesummary-cbfb34d9642674608d80e75269eb3c61084b240d.tar.xz |
Port to Debian.
Diffstat (limited to 'nagios-plugins')
-rwxr-xr-x | nagios-plugins/check_etc_hosts | 2 | ||||
-rwxr-xr-x | nagios-plugins/check_shutdown | 2 |
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`" |