3
. /usr/share/nagios3/debian/httpd.webapps-common
5
apacheconf="/etc/nagios3/apache2.conf"
7
if [ -f $apacheconf ]; then
10
# find the configured servers
11
configured_servers=`wc_httpd_apache_configured $apacheconf nagios3`
12
if [ "$configured_servers" ]; then
14
wc_httpd_apache_uninclude $apacheconf nagios3 $configured_servers
15
# reload the configured servers if they are running
16
running_servers="`wc_httpd_running $configured_servers`"
17
if [ "$running_servers" ]; then
18
wc_httpd_invoke "reload" $running_servers