lib -> lib64
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
This commit is contained in:
parent
10c4c85a53
commit
84f5005104
9 changed files with 11 additions and 11 deletions
|
@ -168,7 +168,7 @@ authorized_for_all_hosts=*
|
|||
|
||||
#authorized_for_all_service_commands=nagiosadmin
|
||||
#authorized_for_all_host_commands=nagiosadmin
|
||||
uthorized_for_all_service_commands=http://athmane.id.fedoraproject.org/,http://ausil.id.fedoraproject.org/,http://averi.id.fedoraproject.org/,http://badone.id.fedoraproject.org/,http://codeblock.id.fedoraproject.org/,http://dwa.id.fedoraproject.org/,http://hvivani.id.fedoraproject.org/,http://ianweller.id.fedoraproject.org/,http://jspaleta.id.fedoraproject.org/,http://jstanley.id.fedoraproject.org/,http://kevin.id.fedoraproject.org/,http://lbazan.id.fedoraproject.org/,http://lmacken.id.fedoraproject.org/,http://maxamillio.id.fedoraproject.org/,http://mmahut.id.fedoraproject.org/,http://mmcgrath.id.fedoraproject.org/,http://nb.id.fedoraproject.org/,http://pfrields.id.fedoraproject.org/,http://puiterwijk.id.fedoraproject.org/,http://rafaelgomes.id.fedoraproject.org/,http://ralph.id.fedoraproject.org/,http://sijis.id.fedoraproject.org/,http://smooge.id.fedoraproject.org/,http://susmit.id.fedoraproject.org/,http://tibbs.id.fedoraproject.org/,http://tmz.id.fedoraproject.org/,http://wsterling.id.fedoraproject.org/,http://mdomsch.id.fedoraproject.org/,http://notting.id.fedoraproject.org/,http://ricky.id.fedoraproject.org/,http://toshio.id.fedoraproject.org/,http://spot.id.fedoraproject.org/,http://mahrud.id.fedoraproject.org/,http://dwa.id.fedoraproject.org/,http://karsten.id.fedoraproject.org/
|
||||
authorized_for_all_service_commands=http://athmane.id.fedoraproject.org/,http://ausil.id.fedoraproject.org/,http://averi.id.fedoraproject.org/,http://badone.id.fedoraproject.org/,http://codeblock.id.fedoraproject.org/,http://dwa.id.fedoraproject.org/,http://hvivani.id.fedoraproject.org/,http://ianweller.id.fedoraproject.org/,http://jspaleta.id.fedoraproject.org/,http://jstanley.id.fedoraproject.org/,http://kevin.id.fedoraproject.org/,http://lbazan.id.fedoraproject.org/,http://lmacken.id.fedoraproject.org/,http://maxamillio.id.fedoraproject.org/,http://mmahut.id.fedoraproject.org/,http://mmcgrath.id.fedoraproject.org/,http://nb.id.fedoraproject.org/,http://pfrields.id.fedoraproject.org/,http://puiterwijk.id.fedoraproject.org/,http://rafaelgomes.id.fedoraproject.org/,http://ralph.id.fedoraproject.org/,http://sijis.id.fedoraproject.org/,http://smooge.id.fedoraproject.org/,http://susmit.id.fedoraproject.org/,http://tibbs.id.fedoraproject.org/,http://tmz.id.fedoraproject.org/,http://wsterling.id.fedoraproject.org/,http://mdomsch.id.fedoraproject.org/,http://notting.id.fedoraproject.org/,http://ricky.id.fedoraproject.org/,http://toshio.id.fedoraproject.org/,http://spot.id.fedoraproject.org/,http://mahrud.id.fedoraproject.org/,http://dwa.id.fedoraproject.org/,http://karsten.id.fedoraproject.org/
|
||||
|
||||
authorized_for_all_host_commands=http://athmane.id.fedoraproject.org/,http://ausil.id.fedoraproject.org/,http://averi.id.fedoraproject.org/,http://badone.id.fedoraproject.org/,http://codeblock.id.fedoraproject.org/,http://dwa.id.fedoraproject.org/,http://hvivani.id.fedoraproject.org/,http://ianweller.id.fedoraproject.org/,http://jspaleta.id.fedoraproject.org/,http://jstanley.id.fedoraproject.org/,http://kevin.id.fedoraproject.org/,http://lbazan.id.fedoraproject.org/,http://lmacken.id.fedoraproject.org/,http://maxamillio.id.fedoraproject.org/,http://mmahut.id.fedoraproject.org/,http://mmcgrath.id.fedoraproject.org/,http://nb.id.fedoraproject.org/,http://pfrields.id.fedoraproject.org/,http://puiterwijk.id.fedoraproject.org/,http://rafaelgomes.id.fedoraproject.org/,http://ralph.id.fedoraproject.org/,http://sijis.id.fedoraproject.org/,http://smooge.id.fedoraproject.org/,http://susmit.id.fedoraproject.org/,http://tibbs.id.fedoraproject.org/,http://tmz.id.fedoraproject.org/,http://wsterling.id.fedoraproject.org/,http://mdomsch.id.fedoraproject.org/,http://notting.id.fedoraproject.org/,http://ricky.id.fedoraproject.org/,http://toshio.id.fedoraproject.org/,http://spot.id.fedoraproject.org/,http://mahrud.id.fedoraproject.org/,http://dwa.id.fedoraproject.org/,http://karsten.id.fedoraproject.org/
|
||||
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
###########################################################################
|
||||
|
||||
# Sets $USER1$ to be the path to the plugins
|
||||
$USER1$=/usr/lib/nagios/plugins
|
||||
$USER1$=/usr/lib64/nagios/plugins
|
||||
|
||||
# Sets $USER2$ to be the path to event handlers
|
||||
#$USER2$=/usr/lib/nagios/plugins/eventhandlers
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
###########################################################################
|
||||
|
||||
# Sets $USER1$ to be the path to the plugins
|
||||
$USER1$=/usr/lib/nagios/plugins
|
||||
$USER1$=/usr/lib64/nagios/plugins
|
||||
|
||||
# Sets $USER2$ to be the path to event handlers
|
||||
#$USER2$=/usr/lib/nagios/plugins/eventhandlers
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
###########################################################################
|
||||
|
||||
# Sets $USER1$ to be the path to the plugins
|
||||
$USER1$=/usr/lib/nagios/plugins
|
||||
$USER1$=/usr/lib64/nagios/plugins
|
||||
|
||||
# Sets $USER2$ to be the path to event handlers
|
||||
#$USER2$=/usr/lib/nagios/plugins/eventhandlers
|
||||
|
|
|
@ -201,7 +201,7 @@ command[check_disk_/boot]=/usr/lib64/nagios/plugins/check_disk -w 20% -c 10% -p
|
|||
command[check_disk_/git]=/usr/lib64/nagios/plugins/check_disk -w 20% -c 10% -p /git
|
||||
command[check_disk_/postgreslogs]=/usr/lib64/nagios/plugins/check_disk -w 20% -c 10% -p /postgreslogs
|
||||
command[check_disk_/srv]=/usr/lib64/nagios/plugins/check_disk -w 20% -c 10% -p /srv
|
||||
command[check_disk_/var/lib64/mock]=/usr/lib/nagios/plugins/check_disk -w 20% -c 10% -p /var/lib/mock
|
||||
command[check_disk_/var/lib64/mock]=/usr/lib64/nagios/plugins/check_disk -w 20% -c 10% -p /var/lib/mock
|
||||
command[check_disk_/var/log]=/usr/lib64/nagios/plugins/check_disk -w 15% -c 10% -p /var/log
|
||||
command[check_disk_/srv/cache/lookaside]=/usr/lib64/nagios/plugins/check_disk -w 20% -c 10% -p /srv/cache/lookaside
|
||||
command[check_zombie_procs]=/usr/lib64/nagios/plugins/check_procs -w 15 -c 25 -s Z
|
||||
|
|
|
@ -53,7 +53,7 @@ my $default_warn = 15;
|
|||
my $default_wait = 5;
|
||||
my $default_timeout = 60;
|
||||
#my $libexec = "/usr/local/nagios/libexec";
|
||||
my $libexec = "/usr/lib/nagios/plugins";
|
||||
my $libexec = "/usr/lib64/nagios/plugins";
|
||||
my $ok;
|
||||
$ok = Getopt::Long::GetOptions(
|
||||
"V|version"=>\$show_version,
|
||||
|
|
|
@ -28,7 +28,7 @@ use English;
|
|||
use Getopt::Long;
|
||||
use File::stat;
|
||||
use vars qw($PROGNAME);
|
||||
use lib "/usr/lib/nagios/plugins";
|
||||
use lib "/usr/lib64/nagios/plugins";
|
||||
use utils qw (%ERRORS &print_revision &support);
|
||||
|
||||
sub print_help ();
|
||||
|
|
|
@ -50,7 +50,7 @@ CRITICAL)
|
|||
echo -n "Restarting HTTP service (3rd soft critical state)..."
|
||||
# Call the init script to restart the HTTPD server
|
||||
echo "#fedora-noc $hostalias - Attempting to reload httpd. $servicedesc is $servicestate (2nd check)" | /usr/bin/nc -w 1 value01 5050
|
||||
/usr/lib/nagios/plugins/check_nrpe -H $remotehost -c service_httpd_reload
|
||||
/usr/lib64/nagios/plugins/check_nrpe -H $remotehost -c service_httpd_reload
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
|
@ -64,7 +64,7 @@ CRITICAL)
|
|||
echo -n "Restarting HTTP service..."
|
||||
echo "#fedora-noc $hostalias - Attempting to restart httpd. $servicedesc is $servicestate" | /usr/bin/nc -w 1 value01 5050
|
||||
# Call the init script to restart the HTTPD server
|
||||
/usr/lib/nagios/plugins/check_nrpe -H $remotehost -c service_httpd_restart
|
||||
/usr/lib64/nagios/plugins/check_nrpe -H $remotehost -c service_httpd_restart
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
|
|
|
@ -50,7 +50,7 @@ CRITICAL)
|
|||
echo -n "Restarting rsyslog service (3rd soft critical state)..."
|
||||
# Call the init script to restart the rsyslog server
|
||||
echo "#fedora-noc $hostalias - Attempting to reload rsyslog. $servicedesc is $servicestate (2nd check)" | /usr/bin/nc -w 1 value01 5050
|
||||
/usr/lib/nagios/plugins/check_nrpe -H $remotehost -c service_rsyslog_reload
|
||||
/usr/lib64/nagios/plugins/check_nrpe -H $remotehost -c service_rsyslog_reload
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
|
@ -64,7 +64,7 @@ CRITICAL)
|
|||
echo -n "Restarting rsyslog service..."
|
||||
echo "#fedora-noc $hostalias - Attempting to restart rsyslog. $servicedesc is $servicestate" | /usr/bin/nc -w 1 value01 5050
|
||||
# Call the init script to restart the HTTPD server
|
||||
/usr/lib/nagios/plugins/check_nrpe -H $remotehost -c service_rsyslog_restart
|
||||
/usr/lib64/nagios/plugins/check_nrpe -H $remotehost -c service_rsyslog_restart
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue