From 84f50051043b6030b375ff2fc7b80450cdbe1d34 Mon Sep 17 00:00:00 2001 From: Ricky Elrod Date: Fri, 18 Jul 2014 20:42:10 +0000 Subject: [PATCH] lib -> lib64 Signed-off-by: Ricky Elrod --- roles/nagios_server/files/nagios-external/cgi.cfg | 2 +- .../nagios_server/files/nagios-external/private/resource.cfg | 2 +- .../files/nagios-external/private/resource.cfg-sample | 2 +- roles/nagios_server/files/nagios/private/resource.cfg-sample | 2 +- roles/nagios_server/files/nrpe.cfg | 2 +- roles/nagios_server/files/plugins/check_email_delivery_epn | 2 +- roles/nagios_server/files/plugins/check_lock_file_age | 2 +- roles/nagios_server/files/plugins/restart_httpd | 4 ++-- roles/nagios_server/files/plugins/restart_rsyslog | 4 ++-- 9 files changed, 11 insertions(+), 11 deletions(-) diff --git a/roles/nagios_server/files/nagios-external/cgi.cfg b/roles/nagios_server/files/nagios-external/cgi.cfg index c2e07427cd..17baa0ebf5 100644 --- a/roles/nagios_server/files/nagios-external/cgi.cfg +++ b/roles/nagios_server/files/nagios-external/cgi.cfg @@ -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/ diff --git a/roles/nagios_server/files/nagios-external/private/resource.cfg b/roles/nagios_server/files/nagios-external/private/resource.cfg index 386002ab46..88fe4cf852 100644 --- a/roles/nagios_server/files/nagios-external/private/resource.cfg +++ b/roles/nagios_server/files/nagios-external/private/resource.cfg @@ -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 diff --git a/roles/nagios_server/files/nagios-external/private/resource.cfg-sample b/roles/nagios_server/files/nagios-external/private/resource.cfg-sample index dad0624ac3..167efeffbc 100644 --- a/roles/nagios_server/files/nagios-external/private/resource.cfg-sample +++ b/roles/nagios_server/files/nagios-external/private/resource.cfg-sample @@ -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 diff --git a/roles/nagios_server/files/nagios/private/resource.cfg-sample b/roles/nagios_server/files/nagios/private/resource.cfg-sample index dad0624ac3..167efeffbc 100644 --- a/roles/nagios_server/files/nagios/private/resource.cfg-sample +++ b/roles/nagios_server/files/nagios/private/resource.cfg-sample @@ -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 diff --git a/roles/nagios_server/files/nrpe.cfg b/roles/nagios_server/files/nrpe.cfg index a5712d2f4e..65a64aac91 100644 --- a/roles/nagios_server/files/nrpe.cfg +++ b/roles/nagios_server/files/nrpe.cfg @@ -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 diff --git a/roles/nagios_server/files/plugins/check_email_delivery_epn b/roles/nagios_server/files/plugins/check_email_delivery_epn index f2873e3414..a097f20988 100644 --- a/roles/nagios_server/files/plugins/check_email_delivery_epn +++ b/roles/nagios_server/files/plugins/check_email_delivery_epn @@ -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, diff --git a/roles/nagios_server/files/plugins/check_lock_file_age b/roles/nagios_server/files/plugins/check_lock_file_age index 93dba349a1..f5abaa9e11 100755 --- a/roles/nagios_server/files/plugins/check_lock_file_age +++ b/roles/nagios_server/files/plugins/check_lock_file_age @@ -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 (); diff --git a/roles/nagios_server/files/plugins/restart_httpd b/roles/nagios_server/files/plugins/restart_httpd index 8da9981363..a940f3e3ea 100755 --- a/roles/nagios_server/files/plugins/restart_httpd +++ b/roles/nagios_server/files/plugins/restart_httpd @@ -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 ;; diff --git a/roles/nagios_server/files/plugins/restart_rsyslog b/roles/nagios_server/files/plugins/restart_rsyslog index 3a6728c1a7..2ece8a3e42 100755 --- a/roles/nagios_server/files/plugins/restart_rsyslog +++ b/roles/nagios_server/files/plugins/restart_rsyslog @@ -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 ;;