Replace all restart httpd with reload httpd
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
parent
826315206d
commit
08568865fe
82 changed files with 178 additions and 181 deletions
|
@ -62,7 +62,7 @@ CRITICAL)
|
|||
# point (unless you disabled notifications for this service)
|
||||
HARD)
|
||||
echo -n "Restarting HTTP service..."
|
||||
echo "#fedora-noc $hostalias - Attempting to restart httpd. $servicedesc is $servicestate" | /usr/bin/nc -w 1 value01 5050
|
||||
echo "#fedora-noc $hostalias - Attempting to reload httpd. $servicedesc is $servicestate" | /usr/bin/nc -w 1 value01 5050
|
||||
# Call the init script to restart the HTTPD server
|
||||
/usr/lib64/nagios/plugins/check_nrpe -H $remotehost -c service_httpd_restart
|
||||
;;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue