aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/nagios-devel
diff options
context:
space:
mode:
authorohauer <ohauer@FreeBSD.org>2011-01-31 09:13:52 +0800
committerohauer <ohauer@FreeBSD.org>2011-01-31 09:13:52 +0800
commit54b99b12a7cbcdbbc51258917cfe97a1b1728d57 (patch)
treefad77eae116f6415e6d445ae14eb34607da687cf /net-mgmt/nagios-devel
parent87e9f69fe3c88b9e3b071ecb8bdd422dfd4c20d3 (diff)
downloadfreebsd-ports-gnome-54b99b12a7cbcdbbc51258917cfe97a1b1728d57.tar.gz
freebsd-ports-gnome-54b99b12a7cbcdbbc51258917cfe97a1b1728d57.tar.zst
freebsd-ports-gnome-54b99b12a7cbcdbbc51258917cfe97a1b1728d57.zip
- update nagios devel to current version (3.2.3)
- replace etc/nagios with ETCDIR NAGIOSWWWDIR with WWWDIR ... - sort pkg-plist The source file is identical with the one from the nagios port but was renamed to give the maintainer room for further development. (Sources compaired by me) PR: ports/153616 Submitted by: Jarrod Sayers <jarrod _at_ downtools.com.au> (maintainer) Feature safe: yes
Diffstat (limited to 'net-mgmt/nagios-devel')
-rw-r--r--net-mgmt/nagios-devel/Makefile27
-rw-r--r--net-mgmt/nagios-devel/distinfo4
-rw-r--r--net-mgmt/nagios-devel/files/nagios.sh.in40
-rw-r--r--net-mgmt/nagios-devel/files/patch-configure.in26
-rw-r--r--net-mgmt/nagios-devel/files/pkg-message.in14
-rw-r--r--net-mgmt/nagios-devel/pkg-plist761
6 files changed, 457 insertions, 415 deletions
diff --git a/net-mgmt/nagios-devel/Makefile b/net-mgmt/nagios-devel/Makefile
index bcebc09ba15f..e6d7ec68409f 100644
--- a/net-mgmt/nagios-devel/Makefile
+++ b/net-mgmt/nagios-devel/Makefile
@@ -6,10 +6,10 @@
#
PORTNAME= nagios
-PORTVERSION= 3.1.2
-PORTREVISION= 3
+DISTVERSIONPREFIX=HEAD-
+DISTVERSION= 20101122
CATEGORIES= net-mgmt
-MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-3.x/${PORTNAME}-${PORTVERSION}
+MASTER_SITES= http://www.downtools.com.au/~jarrod/nagios/
PKGNAMESUFFIX= -devel
MAINTAINER= jarrod@downtools.com.au
@@ -18,22 +18,25 @@ COMMENT= Extremely powerful network monitoring system
LIB_DEPENDS= gd.4:${PORTSDIR}/graphics/gd
RUN_DEPENDS= ${LOCALBASE}/libexec/nagios/check_nagios:${PORTSDIR}/net-mgmt/nagios-plugins
+MASTER_SITE_FREEBSD= yes
LATEST_LINK= nagios-devel
USE_ICONV= yes
-USE_PERL5_BUILD= yes
-USE_PHP= yes
+USE_PERL5_BUILD=yes
USE_AUTOTOOLS= autoconf libltdl
USE_RC_SUBR= nagios.sh
CONFLICTS= nagios-[123].*
+WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSIONPREFIX:C/-$//}
+
OPTIONS= EMBEDDED_PERL "Enable embedded Perl [requires Perl 5.8.0+]" off \
NANOSLEEP "Use nanosleep in event timing" off \
EVENT_BROKER "Enable event broker functionality" off \
UNHANDLED_HACK "Display passive checks in unhandled queries" off
GNU_CONFIGURE= yes
+WANT_PHP_MOD= yes
NAGIOSUSER?= nagios
NAGIOSGROUP?= nagios
@@ -42,7 +45,6 @@ NAGIOSDIR?= /var/spool/nagios
NAGIOSUID= 181
NAGIOSGID= ${NAGIOSUID}
-NAGIOSWWWDIR?= www/nagios
NAGIOSHTMURL?= /nagios
NAGIOSCGIURL?= ${NAGIOSHTMURL}/cgi-bin
@@ -57,11 +59,11 @@ CONFIGURE_ARGS= --with-command-user=${NAGIOSUSER} \
--with-nagios-group=${NAGIOSGROUP} \
--with-htmurl=${NAGIOSHTMURL} \
--with-cgiurl=${NAGIOSCGIURL} \
- --sbindir=${PREFIX}/${NAGIOSWWWDIR}/cgi-bin \
+ --sbindir=${WWWDIR}/cgi-bin \
--libexecdir=${PREFIX}/libexec/nagios \
- --datarootdir=${PREFIX}/${NAGIOSWWWDIR} \
- --datadir=${PREFIX}/${NAGIOSWWWDIR} \
- --sysconfdir=${PREFIX}/etc/nagios \
+ --datarootdir=${WWWDIR} \
+ --datadir=${WWWDIR} \
+ --sysconfdir=${ETCDIR} \
--localstatedir=${NAGIOSDIR} \
--with-httpd-conf=${PREFIX}/etc \
--with-checkresult-dir=${NAGIOSDIR}/checkresults \
@@ -78,7 +80,6 @@ MAKE_JOBS_UNSAFE= yes
INSTALL_TARGET= install install-commandmode install-config
PLIST_SUB= NAGIOSDIR=${NAGIOSDIR} \
- NAGIOSWWWDIR=${NAGIOSWWWDIR} \
NAGIOSUSER=${NAGIOSUSER} \
NAGIOSGROUP=${NAGIOSGROUP} \
NAGIOSUID=${NAGIOSUID} \
@@ -95,6 +96,8 @@ SUB_FILES= pkg-install \
SUB_LIST= PREFIX=${PREFIX} \
${PLIST_SUB}
+USE_PHP= yes
+
.if defined(WITH_EMBEDDED_PERL)
USE_PERL5= 5.8.0+
CONFIGURE_ARGS+= --enable-embedded-perl \
@@ -120,7 +123,7 @@ post-patch:
-e 's#;hostprops=42\"#;hostprops=10\"#g' ${WRKSRC}/html/side.php
.endif
-pre-install:
+pre-su-install:
@${SH} ${PKGINSTALL} ${DISTNAME} PRE-INSTALL
post-install:
diff --git a/net-mgmt/nagios-devel/distinfo b/net-mgmt/nagios-devel/distinfo
index 11fb9e79c55c..81d5306abb89 100644
--- a/net-mgmt/nagios-devel/distinfo
+++ b/net-mgmt/nagios-devel/distinfo
@@ -1,2 +1,2 @@
-SHA256 (nagios-3.1.2.tar.gz) = 216800ea2ad1f8b1adccc2dccfa6bbdf63223ffe5109d18bea71ffb9a126b846
-SIZE (nagios-3.1.2.tar.gz) = 3172982
+SHA256 (nagios-HEAD-20101122.tar.gz) = 49dc5911c1cf1bcf8d527744b31c9ef04d38cc025788fcaae6dd4bb6f7dbda53
+SIZE (nagios-HEAD-20101122.tar.gz) = 3300415
diff --git a/net-mgmt/nagios-devel/files/nagios.sh.in b/net-mgmt/nagios-devel/files/nagios.sh.in
index 981abeaa4720..107b0fe29542 100644
--- a/net-mgmt/nagios-devel/files/nagios.sh.in
+++ b/net-mgmt/nagios-devel/files/nagios.sh.in
@@ -12,8 +12,10 @@
# Add the following lines to /etc/rc.conf to enable nagios:
# nagios_enable (bool): Set to "NO" by default.
# Set it to "YES" to enable nagios.
+# nagios_precache (bool): Set to "NO" by default.
+# Set it to "YES" to enable pre-caching.
# nagios_flags (str): Set to "" by default.
-# nagios_configfile (str): Set to "%%PREFIX%%/etc/nagios/nagios.cfg" by default.
+# nagios_configfile (str): Set to "%%PREFIX%%/%%ETCDIR%%/nagios.cfg" by default.
#
. /etc/rc.subr
@@ -30,17 +32,35 @@ nagios_user="%%NAGIOSUSER%%"
start_precmd="start_precmd"
stop_postcmd="stop_postcmd"
restart_precmd="nagios_checkconfig"
-reload_precmd="nagios_checkconfig"
+reload_precmd="reload_precmd"
sig_reload=HUP
[ -z "${nagios_enable}" ] && nagios_enable="NO"
-[ -z "${nagios_configfile}" ] && nagios_configfile="%%PREFIX%%/etc/nagios/nagios.cfg"
+[ -z "${nagios_configfile}" ] && nagios_configfile="%%PREFIX%%/%%ETCDIR%%/nagios.cfg"
+[ -z "${nagios_precache}" ] && nagios_precache="NO"
load_rc_config "${name}"
required_files="${nagios_configfile}"
command_args="${command_args} ${nagios_configfile}"
+nagios_cacheconfig() {
+ if ! checkyesno nagios_precache; then
+ return 0
+ fi
+
+ echo -n "Pre-Caching nagios configuration: "
+ ${command} -pv ${nagios_configfile} 2>&1 >/dev/null
+ if [ $? != 0 ]; then
+ echo "FAILED"
+ ${command} -v ${nagios_configfile}
+ return 1
+ else
+ command_args="-u -x ${command_args}"
+ echo "OK"
+ fi
+}
+
nagios_checkconfig() {
echo -n "Performing sanity check of nagios configuration: "
${command} -v ${nagios_configfile} 2>&1 >/dev/null
@@ -53,11 +73,25 @@ nagios_checkconfig() {
fi
}
+reload_precmd() {
+ if ! nagios_checkconfig; then
+ return 1
+ fi
+
+ if ! nagios_cacheconfig; then
+ return 1
+ fi
+}
+
start_precmd() {
if ! nagios_checkconfig; then
return 1
fi
+ if ! nagios_cacheconfig; then
+ return 1
+ fi
+
su -m "${nagios_user}" -c "touch \"%%NAGIOSDIR%%/nagios.log\" \"%%NAGIOSDIR%%/status.sav\""
rm -f "%%NAGIOSDIR%%/rw/nagios.cmd"
}
diff --git a/net-mgmt/nagios-devel/files/patch-configure.in b/net-mgmt/nagios-devel/files/patch-configure.in
index f8601c6c3afe..9847a8b042bf 100644
--- a/net-mgmt/nagios-devel/files/patch-configure.in
+++ b/net-mgmt/nagios-devel/files/patch-configure.in
@@ -1,14 +1,14 @@
---- configure.in.orig 2007-12-18 04:21:51.000000000 +1030
-+++ configure.in 2008-01-02 12:15:05.000000000 +1030
+--- configure.in.orig 2010-10-23 20:26:29.000000000 +1030
++++ configure.in 2011-01-01 11:28:35.000000000 +1030
@@ -6,7 +6,6 @@
AC_INIT(base/nagios.c)
- AC_CONFIG_HEADER(include/config.h include/snprintf.h include/cgiutils.h)
+ AC_CONFIG_HEADER(include/config.h include/snprintf.h)
-AC_PREFIX_DEFAULT(/usr/local/nagios)
PKG_NAME=nagios
- PKG_VERSION="3.0rc1"
-@@ -119,7 +118,15 @@
+ PKG_VERSION="3.2.3"
+@@ -125,7 +124,15 @@
dnl Test for pthreads support - taken from ICU FreeBSD Port configure script
THREADLIBS=""
have_pthreads="no"
@@ -23,8 +23,8 @@
+else
dnl FreeBSD: Try ports/linuxthreads first - Mammad Zadeh <mammad@yahoo-inc.com>
dnl FreeBSD -pthread check - Jonathan McDowell <noodles@earth.li>
- AC_DEFUN(AC_PTHREAD_FREEBSD,[
-@@ -180,6 +187,7 @@
+ AC_DEFUN([AC_PTHREAD_FREEBSD],[
+@@ -186,6 +193,7 @@
if test $have_pthreads = "no"; then
AC_PTHREAD_FREEBSD
fi
@@ -32,18 +32,18 @@
AC_SUBST(THREADLIBS)
-@@ -196,7 +204,7 @@
+@@ -201,7 +209,7 @@
AC_SUBST(nagios_grp)
- AC_DEFINE_UNQUOTED(DEFAULT_NAGIOS_USER,"$nagios_user")
- AC_DEFINE_UNQUOTED(DEFAULT_NAGIOS_GROUP,"$nagios_grp")
+ AC_DEFINE_UNQUOTED(DEFAULT_NAGIOS_USER,"$nagios_user",[user name to run nagios])
+ AC_DEFINE_UNQUOTED(DEFAULT_NAGIOS_GROUP,"$nagios_grp",[group name to run nagios])
-INSTALL_OPTS="-o $nagios_user -g $nagios_grp"
+INSTALL_OPTS="-o root -g wheel"
AC_SUBST(INSTALL_OPTS)
- AC_ARG_WITH(command_user,--with-command-user=<user> sets user name for command access,command_user=$withval,command_user=$nagios_user)
-@@ -667,6 +675,9 @@
+ AC_ARG_WITH(command_user,AC_HELP_STRING([--with-command-user=<user>],[sets user name for command access]),command_user=$withval,command_user=$nagios_user)
+@@ -668,6 +676,9 @@
- AC_DEFINE_UNQUOTED(EMBEDDEDPERL)
+ AC_DEFINE_UNQUOTED(EMBEDDEDPERL,,[Is embedded Perl being compiled in?])
PERLLIBS="`perl -MExtUtils::Embed -e ldopts`"
+ if test x$have_thr = xyes; then
+ PERLLIBS="`echo $PERLLIBS | sed 's#pthread #lthr #'`"
diff --git a/net-mgmt/nagios-devel/files/pkg-message.in b/net-mgmt/nagios-devel/files/pkg-message.in
index 8bf96edca81d..1419ef788572 100644
--- a/net-mgmt/nagios-devel/files/pkg-message.in
+++ b/net-mgmt/nagios-devel/files/pkg-message.in
@@ -4,29 +4,29 @@
nagios_enable="YES"
- Configuration templates are available in %%PREFIX%%/etc/nagios as
+ Configuration templates are available in %%PREFIX%%/%%ETCDIR%% as
*.cfg-sample files. Copy them to *.cfg files where required and
edit to suit your needs. Documentation is available in HTML form
- in %%PREFIX%%/%%NAGIOSWWWDIR%%/docs.
+ in %%PREFIX%%/%%WWWDIR%%/docs.
If you don't already have a web server running, you will need to
install and configure one to finish off your Nagios installation.
When used with Apache, the following should be sufficient to publish
the web component of Nagios (modify the allow list to suit):
- <Directory %%PREFIX%%/%%NAGIOSWWWDIR%%>
+ <Directory %%PREFIX%%/%%WWWDIR%%>
Order deny,allow
Deny from all
Allow from 127.0.0.1
php_flag engine on
- php_admin_value open_basedir %%PREFIX%%/%%NAGIOSWWWDIR%%/ %%NAGIOSDIR%%/
+ php_admin_value open_basedir %%PREFIX%%/%%WWWDIR%%/:%%NAGIOSDIR%%/
</Directory>
- <Directory %%PREFIX%%/%%NAGIOSWWWDIR%%/cgi-bin>
+ <Directory %%PREFIX%%/%%WWWDIR%%/cgi-bin>
Options ExecCGI
</Directory>
- ScriptAlias %%NAGIOSCGIURL%%/ %%PREFIX%%/%%NAGIOSWWWDIR%%/cgi-bin/
- Alias %%NAGIOSHTMURL%%/ %%PREFIX%%/%%NAGIOSWWWDIR%%/
+ ScriptAlias %%NAGIOSCGIURL%%/ %%PREFIX%%/%%WWWDIR%%/cgi-bin/
+ Alias %%NAGIOSHTMURL%%/ %%PREFIX%%/%%WWWDIR%%/
**********************************************************************
diff --git a/net-mgmt/nagios-devel/pkg-plist b/net-mgmt/nagios-devel/pkg-plist
index 8fef3cb8d518..2fcc33375a4e 100644
--- a/net-mgmt/nagios-devel/pkg-plist
+++ b/net-mgmt/nagios-devel/pkg-plist
@@ -1,387 +1,392 @@
-@exec mkdir -p %D/%%NAGIOSWWWDIR%%/ssi
+bin/nagios
+bin/nagiostats
+%%EMBEDDED_PERL%%bin/p1.pl
+%%ETCDIR%%/cgi.cfg-sample
+%%ETCDIR%%/nagios.cfg-sample
+%%ETCDIR%%/objects/commands.cfg-sample
+%%ETCDIR%%/objects/contacts.cfg-sample
+%%ETCDIR%%/objects/localhost.cfg-sample
+%%ETCDIR%%/objects/printer.cfg-sample
+%%ETCDIR%%/objects/switch.cfg-sample
+%%ETCDIR%%/objects/templates.cfg-sample
+%%ETCDIR%%/objects/timeperiods.cfg-sample
+%%ETCDIR%%/resource.cfg-sample
+%%WWWDIR%%/cgi-bin/avail.cgi
+%%WWWDIR%%/cgi-bin/cmd.cgi
+%%WWWDIR%%/cgi-bin/config.cgi
+%%WWWDIR%%/cgi-bin/extinfo.cgi
+%%WWWDIR%%/cgi-bin/histogram.cgi
+%%WWWDIR%%/cgi-bin/history.cgi
+%%WWWDIR%%/cgi-bin/notifications.cgi
+%%WWWDIR%%/cgi-bin/outages.cgi
+%%WWWDIR%%/cgi-bin/showlog.cgi
+%%WWWDIR%%/cgi-bin/status.cgi
+%%WWWDIR%%/cgi-bin/statusmap.cgi
+%%WWWDIR%%/cgi-bin/statuswml.cgi
+%%WWWDIR%%/cgi-bin/summary.cgi
+%%WWWDIR%%/cgi-bin/tac.cgi
+%%WWWDIR%%/cgi-bin/trends.cgi
+%%WWWDIR%%/config.inc.php
+%%WWWDIR%%/contexthelp/A1.html
+%%WWWDIR%%/contexthelp/A2.html
+%%WWWDIR%%/contexthelp/A3.html
+%%WWWDIR%%/contexthelp/A4.html
+%%WWWDIR%%/contexthelp/A5.html
+%%WWWDIR%%/contexthelp/A6.html
+%%WWWDIR%%/contexthelp/A7.html
+%%WWWDIR%%/contexthelp/B1.html
+%%WWWDIR%%/contexthelp/C1.html
+%%WWWDIR%%/contexthelp/D1.html
+%%WWWDIR%%/contexthelp/E1.html
+%%WWWDIR%%/contexthelp/F1.html
+%%WWWDIR%%/contexthelp/G1.html
+%%WWWDIR%%/contexthelp/G2.html
+%%WWWDIR%%/contexthelp/G3.html
+%%WWWDIR%%/contexthelp/G4.html
+%%WWWDIR%%/contexthelp/G5.html
+%%WWWDIR%%/contexthelp/G6.html
+%%WWWDIR%%/contexthelp/H1.html
+%%WWWDIR%%/contexthelp/H2.html
+%%WWWDIR%%/contexthelp/H3.html
+%%WWWDIR%%/contexthelp/H4.html
+%%WWWDIR%%/contexthelp/H5.html
+%%WWWDIR%%/contexthelp/H6.html
+%%WWWDIR%%/contexthelp/H7.html
+%%WWWDIR%%/contexthelp/H8.html
+%%WWWDIR%%/contexthelp/I1.html
+%%WWWDIR%%/contexthelp/I2.html
+%%WWWDIR%%/contexthelp/I3.html
+%%WWWDIR%%/contexthelp/I4.html
+%%WWWDIR%%/contexthelp/I5.html
+%%WWWDIR%%/contexthelp/I6.html
+%%WWWDIR%%/contexthelp/I7.html
+%%WWWDIR%%/contexthelp/I8.html
+%%WWWDIR%%/contexthelp/I9.html
+%%WWWDIR%%/contexthelp/J1.html
+%%WWWDIR%%/contexthelp/K1.html
+%%WWWDIR%%/contexthelp/L1.html
+%%WWWDIR%%/contexthelp/L10.html
+%%WWWDIR%%/contexthelp/L11.html
+%%WWWDIR%%/contexthelp/L12.html
+%%WWWDIR%%/contexthelp/L13.html
+%%WWWDIR%%/contexthelp/L2.html
+%%WWWDIR%%/contexthelp/L3.html
+%%WWWDIR%%/contexthelp/L4.html
+%%WWWDIR%%/contexthelp/L5.html
+%%WWWDIR%%/contexthelp/L6.html
+%%WWWDIR%%/contexthelp/L7.html
+%%WWWDIR%%/contexthelp/L8.html
+%%WWWDIR%%/contexthelp/L9.html
+%%WWWDIR%%/contexthelp/M1.html
+%%WWWDIR%%/contexthelp/M2.html
+%%WWWDIR%%/contexthelp/M3.html
+%%WWWDIR%%/contexthelp/M4.html
+%%WWWDIR%%/contexthelp/M5.html
+%%WWWDIR%%/contexthelp/M6.html
+%%WWWDIR%%/contexthelp/N1.html
+%%WWWDIR%%/contexthelp/N2.html
+%%WWWDIR%%/contexthelp/N3.html
+%%WWWDIR%%/contexthelp/N4.html
+%%WWWDIR%%/contexthelp/N5.html
+%%WWWDIR%%/contexthelp/N6.html
+%%WWWDIR%%/contexthelp/N7.html
+%%WWWDIR%%/docs/about.html
+%%WWWDIR%%/docs/activechecks.html
+%%WWWDIR%%/docs/adaptive.html
+%%WWWDIR%%/docs/addons.html
+%%WWWDIR%%/docs/beginners.html
+%%WWWDIR%%/docs/cachedchecks.html
+%%WWWDIR%%/docs/cgiauth.html
+%%WWWDIR%%/docs/cgiincludes.html
+%%WWWDIR%%/docs/cgis.html
+%%WWWDIR%%/docs/cgisecurity.html
+%%WWWDIR%%/docs/checkscheduling.html
+%%WWWDIR%%/docs/clusters.html
+%%WWWDIR%%/docs/config.html
+%%WWWDIR%%/docs/configcgi.html
+%%WWWDIR%%/docs/configmain.html
+%%WWWDIR%%/docs/configobject.html
+%%WWWDIR%%/docs/customobjectvars.html
+%%WWWDIR%%/docs/dependencies.html
+%%WWWDIR%%/docs/dependencychecks.html
+%%WWWDIR%%/docs/distributed.html
+%%WWWDIR%%/docs/downtime.html
+%%WWWDIR%%/docs/embeddedperl.html
+%%WWWDIR%%/docs/epnplugins.html
+%%WWWDIR%%/docs/escalations.html
+%%WWWDIR%%/docs/eventhandlers.html
+%%WWWDIR%%/docs/extcommands.html
+%%WWWDIR%%/docs/faststartup.html
+%%WWWDIR%%/docs/flapping.html
+%%WWWDIR%%/docs/freshness.html
+%%WWWDIR%%/docs/funstuff.html
+%%WWWDIR%%/docs/hostchecks.html
+%%WWWDIR%%/docs/images/activechecks.png
+%%WWWDIR%%/docs/images/cachedcheckgraphs.png
+%%WWWDIR%%/docs/images/cachedchecks.png
+%%WWWDIR%%/docs/images/cachedchecks1.png
+%%WWWDIR%%/docs/images/cgi-avail-a.png
+%%WWWDIR%%/docs/images/cgi-avail-b.png
+%%WWWDIR%%/docs/images/cgi-cmd.png
+%%WWWDIR%%/docs/images/cgi-config.png
+%%WWWDIR%%/docs/images/cgi-extinfo-a.png
+%%WWWDIR%%/docs/images/cgi-extinfo-b.png
+%%WWWDIR%%/docs/images/cgi-extinfo-c.png
+%%WWWDIR%%/docs/images/cgi-extinfo-d.png
+%%WWWDIR%%/docs/images/cgi-histogram.png
+%%WWWDIR%%/docs/images/cgi-history.png
+%%WWWDIR%%/docs/images/cgi-notifications.png
+%%WWWDIR%%/docs/images/cgi-outages.png
+%%WWWDIR%%/docs/images/cgi-showlog.png
+%%WWWDIR%%/docs/images/cgi-status-a.png
+%%WWWDIR%%/docs/images/cgi-status-b.png
+%%WWWDIR%%/docs/images/cgi-status-c.png
+%%WWWDIR%%/docs/images/cgi-status-d.png
+%%WWWDIR%%/docs/images/cgi-statusmap.png
+%%WWWDIR%%/docs/images/cgi-statuswml.png
+%%WWWDIR%%/docs/images/cgi-statuswrl.png
+%%WWWDIR%%/docs/images/cgi-summary.png
+%%WWWDIR%%/docs/images/cgi-tac.png
+%%WWWDIR%%/docs/images/cgi-trends.png
+%%WWWDIR%%/docs/images/checkmark.png
+%%WWWDIR%%/docs/images/checktiming.png
+%%WWWDIR%%/docs/images/configoverview.png
+%%WWWDIR%%/docs/images/distributed.png
+%%WWWDIR%%/docs/images/downtime.png
+%%WWWDIR%%/docs/images/epn.png
+%%WWWDIR%%/docs/images/eventhandlers.png
+%%WWWDIR%%/docs/images/externalcommands.png
+%%WWWDIR%%/docs/images/fast-startup.png
+%%WWWDIR%%/docs/images/fast-startup1.png
+%%WWWDIR%%/docs/images/fast-startup2.png
+%%WWWDIR%%/docs/images/freshness.png
+%%WWWDIR%%/docs/images/host-dependencies.png
+%%WWWDIR%%/docs/images/important.gif
+%%WWWDIR%%/docs/images/integrationoverview.png
+%%WWWDIR%%/docs/images/interleaved1.png
+%%WWWDIR%%/docs/images/interleaved2.png
+%%WWWDIR%%/docs/images/interleaved3.png
+%%WWWDIR%%/docs/images/logofullsize.png
+%%WWWDIR%%/docs/images/monitoring-printers.png
+%%WWWDIR%%/docs/images/monitoring-routers.png
+%%WWWDIR%%/docs/images/monitoring-windows.png
+%%WWWDIR%%/docs/images/mrtg-activehostchecks.png
+%%WWWDIR%%/docs/images/mrtg-activelychecked.png
+%%WWWDIR%%/docs/images/mrtg-activeservicechecks.png
+%%WWWDIR%%/docs/images/mrtg-cachedchecks.png
+%%WWWDIR%%/docs/images/mrtg-commandbuffers.png
+%%WWWDIR%%/docs/images/mrtg-externalcommands.png
+%%WWWDIR%%/docs/images/mrtg-hostperfstats.png
+%%WWWDIR%%/docs/images/mrtg-hoststatechange.png
+%%WWWDIR%%/docs/images/mrtg-passivechecks.png
+%%WWWDIR%%/docs/images/mrtg-passivelychecked.png
+%%WWWDIR%%/docs/images/mrtg-serviceperfstats.png
+%%WWWDIR%%/docs/images/mrtg-servicestatechange.png
+%%WWWDIR%%/docs/images/multiple-templates1.png
+%%WWWDIR%%/docs/images/multiple-templates2.png
+%%WWWDIR%%/docs/images/nagios.jpg
+%%WWWDIR%%/docs/images/nagiosexchange.png
+%%WWWDIR%%/docs/images/nagiossupport.png
+%%WWWDIR%%/docs/images/ndoutils.png
+%%WWWDIR%%/docs/images/network-outage1.png
+%%WWWDIR%%/docs/images/network-outage2.png
+%%WWWDIR%%/docs/images/noninterleaved1.png
+%%WWWDIR%%/docs/images/noninterleaved2.png
+%%WWWDIR%%/docs/images/note.gif
+%%WWWDIR%%/docs/images/nrpe.png
+%%WWWDIR%%/docs/images/nsca.png
+%%WWWDIR%%/docs/images/nscpp.png
+%%WWWDIR%%/docs/images/objects-commands.png
+%%WWWDIR%%/docs/images/objects-contacts.png
+%%WWWDIR%%/docs/images/objects-hosts.png
+%%WWWDIR%%/docs/images/objects-services.png
+%%WWWDIR%%/docs/images/objects-timeperiods.png
+%%WWWDIR%%/docs/images/passivechecks.png
+%%WWWDIR%%/docs/images/passivehosttranslation.png
+%%WWWDIR%%/docs/images/plugins.png
+%%WWWDIR%%/docs/images/predictive-dependency-checks.png
+%%WWWDIR%%/docs/images/printer.png
+%%WWWDIR%%/docs/images/reachability1.png
+%%WWWDIR%%/docs/images/reachability2.png
+%%WWWDIR%%/docs/images/reachability3.png
+%%WWWDIR%%/docs/images/reachability4.png
+%%WWWDIR%%/docs/images/redudancy.png
+%%WWWDIR%%/docs/images/redundancy.png
+%%WWWDIR%%/docs/images/security.png
+%%WWWDIR%%/docs/images/security1.png
+%%WWWDIR%%/docs/images/security2.png
+%%WWWDIR%%/docs/images/security3.png
+%%WWWDIR%%/docs/images/seealso.gif
+%%WWWDIR%%/docs/images/service-dependencies.png
+%%WWWDIR%%/docs/images/statetransitions.png
+%%WWWDIR%%/docs/images/statetransitions2.png
+%%WWWDIR%%/docs/images/stoprestart.png
+%%WWWDIR%%/docs/images/switch.png
+%%WWWDIR%%/docs/images/tcpwrappers.png
+%%WWWDIR%%/docs/images/tip.gif
+%%WWWDIR%%/docs/images/tuning.png
+%%WWWDIR%%/docs/images/upto.gif
+%%WWWDIR%%/docs/index.html
+%%WWWDIR%%/docs/int-snmptrap.html
+%%WWWDIR%%/docs/int-tcpwrappers.html
+%%WWWDIR%%/docs/integration.html
+%%WWWDIR%%/docs/knownissues.html
+%%WWWDIR%%/docs/largeinstalltweaks.html
+%%WWWDIR%%/docs/macrolist.html
+%%WWWDIR%%/docs/macros.html
+%%WWWDIR%%/docs/monitoring-linux.html
+%%WWWDIR%%/docs/monitoring-netware.html
+%%WWWDIR%%/docs/monitoring-printers.html
+%%WWWDIR%%/docs/monitoring-publicservices.html
+%%WWWDIR%%/docs/monitoring-routers.html
+%%WWWDIR%%/docs/monitoring-windows.html
+%%WWWDIR%%/docs/mrtggraphs.html
+%%WWWDIR%%/docs/nagiostats.html
+%%WWWDIR%%/docs/networkreachability.html
+%%WWWDIR%%/docs/notifications.html
+%%WWWDIR%%/docs/objectdefinitions.html
+%%WWWDIR%%/docs/objectinheritance.html
+%%WWWDIR%%/docs/objecttricks.html
+%%WWWDIR%%/docs/oncallrotation.html
+%%WWWDIR%%/docs/passivechecks.html
+%%WWWDIR%%/docs/passivestatetranslation.html
+%%WWWDIR%%/docs/perfdata.html
+%%WWWDIR%%/docs/pluginapi.html
+%%WWWDIR%%/docs/plugins.html
+%%WWWDIR%%/docs/quickstart-fedora.html
+%%WWWDIR%%/docs/quickstart-opensuse.html
+%%WWWDIR%%/docs/quickstart-ubuntu.html
+%%WWWDIR%%/docs/quickstart.html
+%%WWWDIR%%/docs/redundancy.html
+%%WWWDIR%%/docs/robots.txt
+%%WWWDIR%%/docs/security.html
+%%WWWDIR%%/docs/servicechecks.html
+%%WWWDIR%%/docs/stalking.html
+%%WWWDIR%%/docs/startstop.html
+%%WWWDIR%%/docs/statetypes.html
+%%WWWDIR%%/docs/timeperiods.html
+%%WWWDIR%%/docs/toc.html
+%%WWWDIR%%/docs/tuning.html
+%%WWWDIR%%/docs/upgrading.html
+%%WWWDIR%%/docs/verifyconfig.html
+%%WWWDIR%%/docs/volatileservices.html
+%%WWWDIR%%/docs/whatsnew.html
+%%WWWDIR%%/images/NagiosEnterprises-whitebg-112x46.png
+%%WWWDIR%%/images/ack.gif
+%%WWWDIR%%/images/action.gif
+%%WWWDIR%%/images/command.png
+%%WWWDIR%%/images/comment.gif
+%%WWWDIR%%/images/contexthelp1.gif
+%%WWWDIR%%/images/contexthelp2.gif
+%%WWWDIR%%/images/critical.png
+%%WWWDIR%%/images/delay.gif
+%%WWWDIR%%/images/delete.gif
+%%WWWDIR%%/images/detail.gif
+%%WWWDIR%%/images/disabled.gif
+%%WWWDIR%%/images/down.gif
+%%WWWDIR%%/images/downtime.gif
+%%WWWDIR%%/images/empty.gif
+%%WWWDIR%%/images/enabled.gif
+%%WWWDIR%%/images/extinfo.gif
+%%WWWDIR%%/images/favicon.ico
+%%WWWDIR%%/images/flapping.gif
+%%WWWDIR%%/images/globe-support-150x150.png
+%%WWWDIR%%/images/greendot.gif
+%%WWWDIR%%/images/histogram.png
+%%WWWDIR%%/images/history.gif
+%%WWWDIR%%/images/hostevent.gif
+%%WWWDIR%%/images/info.png
+%%WWWDIR%%/images/left.gif
+%%WWWDIR%%/images/logofullsize.png
+%%WWWDIR%%/images/logos/nagios.gd2
+%%WWWDIR%%/images/logos/nagios.gif
+%%WWWDIR%%/images/logos/nagiosvrml.png
+%%WWWDIR%%/images/logos/unknown.gd2
+%%WWWDIR%%/images/logos/unknown.gif
+%%WWWDIR%%/images/logrotate.png
+%%WWWDIR%%/images/ndisabled.gif
+%%WWWDIR%%/images/noack.gif
+%%WWWDIR%%/images/notes.gif
+%%WWWDIR%%/images/notify.gif
+%%WWWDIR%%/images/orangedot.gif
+%%WWWDIR%%/images/passiveonly.gif
+%%WWWDIR%%/images/recovery.png
+%%WWWDIR%%/images/redudancy.png
+%%WWWDIR%%/images/redundancy.png
+%%WWWDIR%%/images/restart.gif
+%%WWWDIR%%/images/right.gif
+%%WWWDIR%%/images/sblogo.png
+%%WWWDIR%%/images/serviceevent.gif
+%%WWWDIR%%/images/sflogo.png
+%%WWWDIR%%/images/splunk1.gif
+%%WWWDIR%%/images/splunk2.gif
+%%WWWDIR%%/images/start.gif
+%%WWWDIR%%/images/status.gif
+%%WWWDIR%%/images/status2.gif
+%%WWWDIR%%/images/status3.gif
+%%WWWDIR%%/images/status4.gif
+%%WWWDIR%%/images/stop.gif
+%%WWWDIR%%/images/tacdisabled.jpg
+%%WWWDIR%%/images/tacdisabled.png
+%%WWWDIR%%/images/tacenabled.jpg
+%%WWWDIR%%/images/tacenabled.png
+%%WWWDIR%%/images/thermcrit.png
+%%WWWDIR%%/images/thermok.png
+%%WWWDIR%%/images/thermwarn.png
+%%WWWDIR%%/images/trends.gif
+%%WWWDIR%%/images/trendshost.png
+%%WWWDIR%%/images/trendssvc.png
+%%WWWDIR%%/images/unknown.png
+%%WWWDIR%%/images/up.gif
+%%WWWDIR%%/images/warning.png
+%%WWWDIR%%/images/weblogo1.png
+%%WWWDIR%%/images/zoom1.gif
+%%WWWDIR%%/images/zoom2.gif
+%%WWWDIR%%/includes/utils.inc.php
+%%WWWDIR%%/index.php
+%%WWWDIR%%/main.php
+%%WWWDIR%%/robots.txt
+%%WWWDIR%%/side.php
+%%WWWDIR%%/stylesheets/avail.css
+%%WWWDIR%%/stylesheets/checksanity.css
+%%WWWDIR%%/stylesheets/cmd.css
+%%WWWDIR%%/stylesheets/common.css
+%%WWWDIR%%/stylesheets/config.css
+%%WWWDIR%%/stylesheets/extinfo.css
+%%WWWDIR%%/stylesheets/histogram.css
+%%WWWDIR%%/stylesheets/history.css
+%%WWWDIR%%/stylesheets/ministatus.css
+%%WWWDIR%%/stylesheets/notifications.css
+%%WWWDIR%%/stylesheets/outages.css
+%%WWWDIR%%/stylesheets/showlog.css
+%%WWWDIR%%/stylesheets/status.css
+%%WWWDIR%%/stylesheets/statusmap.css
+%%WWWDIR%%/stylesheets/summary.css
+%%WWWDIR%%/stylesheets/tac.css
+%%WWWDIR%%/stylesheets/trends.css
+@dirrm %%WWWDIR%%/stylesheets
+@dirrm %%WWWDIR%%/ssi
+@dirrm %%WWWDIR%%/media
+@dirrm %%WWWDIR%%/includes
+@dirrm %%WWWDIR%%/images/logos
+@dirrm %%WWWDIR%%/images
+@dirrm %%WWWDIR%%/docs/images
+@dirrm %%WWWDIR%%/docs
+@dirrm %%WWWDIR%%/contexthelp
+@dirrm %%WWWDIR%%/cgi-bin
+@dirrmtry %%WWWDIR%%
+@dirrmtry libexec/nagios
+@dirrmtry %%ETCDIR%%/objects
+@dirrmtry %%ETCDIR%%
+@exec mkdir -p %D/%%WWWDIR%%/ssi
+@exec mkdir -p %D/%%WWWDIR%%/media
+@exec mkdir -p %D/libexec/nagios
@exec mkdir -p %%NAGIOSDIR%%/archives
@exec mkdir -p %%NAGIOSDIR%%/checkresults
@exec mkdir -p %%NAGIOSDIR%%/rw
@exec chmod 775 %%NAGIOSDIR%% %%NAGIOSDIR%%/archives %%NAGIOSDIR%%/checkresults %%NAGIOSDIR%%/rw
@exec chown %%NAGIOSUSER%%:%%NAGIOSGROUP%% %%NAGIOSDIR%% %%NAGIOSDIR%%/archives %%NAGIOSDIR%%/checkresults
@exec chown %%NAGIOSUSER%%:%%WWWGRP%% %%NAGIOSDIR%%/rw
-bin/nagios
-bin/nagiostats
-%%EMBEDDED_PERL%%bin/p1.pl
-etc/nagios/cgi.cfg-sample
-etc/nagios/nagios.cfg-sample
-etc/nagios/objects/commands.cfg-sample
-etc/nagios/objects/contacts.cfg-sample
-etc/nagios/objects/localhost.cfg-sample
-etc/nagios/objects/printer.cfg-sample
-etc/nagios/objects/switch.cfg-sample
-etc/nagios/objects/templates.cfg-sample
-etc/nagios/objects/timeperiods.cfg-sample
-etc/nagios/resource.cfg-sample
-%%NAGIOSWWWDIR%%/cgi-bin/avail.cgi
-%%NAGIOSWWWDIR%%/cgi-bin/cmd.cgi
-%%NAGIOSWWWDIR%%/cgi-bin/config.cgi
-%%NAGIOSWWWDIR%%/cgi-bin/extinfo.cgi
-%%NAGIOSWWWDIR%%/cgi-bin/histogram.cgi
-%%NAGIOSWWWDIR%%/cgi-bin/history.cgi
-%%NAGIOSWWWDIR%%/cgi-bin/notifications.cgi
-%%NAGIOSWWWDIR%%/cgi-bin/outages.cgi
-%%NAGIOSWWWDIR%%/cgi-bin/showlog.cgi
-%%NAGIOSWWWDIR%%/cgi-bin/status.cgi
-%%NAGIOSWWWDIR%%/cgi-bin/statusmap.cgi
-%%NAGIOSWWWDIR%%/cgi-bin/statuswml.cgi
-%%NAGIOSWWWDIR%%/cgi-bin/summary.cgi
-%%NAGIOSWWWDIR%%/cgi-bin/tac.cgi
-%%NAGIOSWWWDIR%%/cgi-bin/trends.cgi
-%%NAGIOSWWWDIR%%/config.inc.php
-%%NAGIOSWWWDIR%%/contexthelp/A1.html
-%%NAGIOSWWWDIR%%/contexthelp/A2.html
-%%NAGIOSWWWDIR%%/contexthelp/A3.html
-%%NAGIOSWWWDIR%%/contexthelp/A4.html
-%%NAGIOSWWWDIR%%/contexthelp/A5.html
-%%NAGIOSWWWDIR%%/contexthelp/A6.html
-%%NAGIOSWWWDIR%%/contexthelp/A7.html
-%%NAGIOSWWWDIR%%/contexthelp/B1.html
-%%NAGIOSWWWDIR%%/contexthelp/C1.html
-%%NAGIOSWWWDIR%%/contexthelp/D1.html
-%%NAGIOSWWWDIR%%/contexthelp/E1.html
-%%NAGIOSWWWDIR%%/contexthelp/F1.html
-%%NAGIOSWWWDIR%%/contexthelp/G1.html
-%%NAGIOSWWWDIR%%/contexthelp/G2.html
-%%NAGIOSWWWDIR%%/contexthelp/G3.html
-%%NAGIOSWWWDIR%%/contexthelp/G4.html
-%%NAGIOSWWWDIR%%/contexthelp/G5.html
-%%NAGIOSWWWDIR%%/contexthelp/G6.html
-%%NAGIOSWWWDIR%%/contexthelp/H1.html
-%%NAGIOSWWWDIR%%/contexthelp/H2.html
-%%NAGIOSWWWDIR%%/contexthelp/H3.html
-%%NAGIOSWWWDIR%%/contexthelp/H4.html
-%%NAGIOSWWWDIR%%/contexthelp/H5.html
-%%NAGIOSWWWDIR%%/contexthelp/H6.html
-%%NAGIOSWWWDIR%%/contexthelp/H7.html
-%%NAGIOSWWWDIR%%/contexthelp/H8.html
-%%NAGIOSWWWDIR%%/contexthelp/I1.html
-%%NAGIOSWWWDIR%%/contexthelp/I2.html
-%%NAGIOSWWWDIR%%/contexthelp/I3.html
-%%NAGIOSWWWDIR%%/contexthelp/I4.html
-%%NAGIOSWWWDIR%%/contexthelp/I5.html
-%%NAGIOSWWWDIR%%/contexthelp/I6.html
-%%NAGIOSWWWDIR%%/contexthelp/I7.html
-%%NAGIOSWWWDIR%%/contexthelp/I8.html
-%%NAGIOSWWWDIR%%/contexthelp/I9.html
-%%NAGIOSWWWDIR%%/contexthelp/J1.html
-%%NAGIOSWWWDIR%%/contexthelp/K1.html
-%%NAGIOSWWWDIR%%/contexthelp/L1.html
-%%NAGIOSWWWDIR%%/contexthelp/L10.html
-%%NAGIOSWWWDIR%%/contexthelp/L11.html
-%%NAGIOSWWWDIR%%/contexthelp/L12.html
-%%NAGIOSWWWDIR%%/contexthelp/L13.html
-%%NAGIOSWWWDIR%%/contexthelp/L2.html
-%%NAGIOSWWWDIR%%/contexthelp/L3.html
-%%NAGIOSWWWDIR%%/contexthelp/L4.html
-%%NAGIOSWWWDIR%%/contexthelp/L5.html
-%%NAGIOSWWWDIR%%/contexthelp/L6.html
-%%NAGIOSWWWDIR%%/contexthelp/L7.html
-%%NAGIOSWWWDIR%%/contexthelp/L8.html
-%%NAGIOSWWWDIR%%/contexthelp/L9.html
-%%NAGIOSWWWDIR%%/contexthelp/M1.html
-%%NAGIOSWWWDIR%%/contexthelp/M2.html
-%%NAGIOSWWWDIR%%/contexthelp/M3.html
-%%NAGIOSWWWDIR%%/contexthelp/M4.html
-%%NAGIOSWWWDIR%%/contexthelp/M5.html
-%%NAGIOSWWWDIR%%/contexthelp/M6.html
-%%NAGIOSWWWDIR%%/contexthelp/N1.html
-%%NAGIOSWWWDIR%%/contexthelp/N2.html
-%%NAGIOSWWWDIR%%/contexthelp/N3.html
-%%NAGIOSWWWDIR%%/contexthelp/N4.html
-%%NAGIOSWWWDIR%%/contexthelp/N5.html
-%%NAGIOSWWWDIR%%/contexthelp/N6.html
-%%NAGIOSWWWDIR%%/contexthelp/N7.html
-%%NAGIOSWWWDIR%%/docs/about.html
-%%NAGIOSWWWDIR%%/docs/activechecks.html
-%%NAGIOSWWWDIR%%/docs/adaptive.html
-%%NAGIOSWWWDIR%%/docs/addons.html
-%%NAGIOSWWWDIR%%/docs/beginners.html
-%%NAGIOSWWWDIR%%/docs/cachedchecks.html
-%%NAGIOSWWWDIR%%/docs/cgiauth.html
-%%NAGIOSWWWDIR%%/docs/cgiincludes.html
-%%NAGIOSWWWDIR%%/docs/cgis.html
-%%NAGIOSWWWDIR%%/docs/cgisecurity.html
-%%NAGIOSWWWDIR%%/docs/checkscheduling.html
-%%NAGIOSWWWDIR%%/docs/clusters.html
-%%NAGIOSWWWDIR%%/docs/config.html
-%%NAGIOSWWWDIR%%/docs/configcgi.html
-%%NAGIOSWWWDIR%%/docs/configmain.html
-%%NAGIOSWWWDIR%%/docs/configobject.html
-%%NAGIOSWWWDIR%%/docs/customobjectvars.html
-%%NAGIOSWWWDIR%%/docs/dependencies.html
-%%NAGIOSWWWDIR%%/docs/dependencychecks.html
-%%NAGIOSWWWDIR%%/docs/distributed.html
-%%NAGIOSWWWDIR%%/docs/downtime.html
-%%NAGIOSWWWDIR%%/docs/embeddedperl.html
-%%NAGIOSWWWDIR%%/docs/epnplugins.html
-%%NAGIOSWWWDIR%%/docs/escalations.html
-%%NAGIOSWWWDIR%%/docs/eventhandlers.html
-%%NAGIOSWWWDIR%%/docs/extcommands.html
-%%NAGIOSWWWDIR%%/docs/faststartup.html
-%%NAGIOSWWWDIR%%/docs/flapping.html
-%%NAGIOSWWWDIR%%/docs/freshness.html
-%%NAGIOSWWWDIR%%/docs/funstuff.html
-%%NAGIOSWWWDIR%%/docs/hostchecks.html
-%%NAGIOSWWWDIR%%/docs/images/activechecks.png
-%%NAGIOSWWWDIR%%/docs/images/cachedcheckgraphs.png
-%%NAGIOSWWWDIR%%/docs/images/cachedchecks.png
-%%NAGIOSWWWDIR%%/docs/images/cachedchecks1.png
-%%NAGIOSWWWDIR%%/docs/images/cgi-avail-a.png
-%%NAGIOSWWWDIR%%/docs/images/cgi-avail-b.png
-%%NAGIOSWWWDIR%%/docs/images/cgi-cmd.png
-%%NAGIOSWWWDIR%%/docs/images/cgi-config.png
-%%NAGIOSWWWDIR%%/docs/images/cgi-extinfo-a.png
-%%NAGIOSWWWDIR%%/docs/images/cgi-extinfo-b.png
-%%NAGIOSWWWDIR%%/docs/images/cgi-extinfo-c.png
-%%NAGIOSWWWDIR%%/docs/images/cgi-extinfo-d.png
-%%NAGIOSWWWDIR%%/docs/images/cgi-histogram.png
-%%NAGIOSWWWDIR%%/docs/images/cgi-history.png
-%%NAGIOSWWWDIR%%/docs/images/cgi-notifications.png
-%%NAGIOSWWWDIR%%/docs/images/cgi-outages.png
-%%NAGIOSWWWDIR%%/docs/images/cgi-showlog.png
-%%NAGIOSWWWDIR%%/docs/images/cgi-status-a.png
-%%NAGIOSWWWDIR%%/docs/images/cgi-status-b.png
-%%NAGIOSWWWDIR%%/docs/images/cgi-status-c.png
-%%NAGIOSWWWDIR%%/docs/images/cgi-status-d.png
-%%NAGIOSWWWDIR%%/docs/images/cgi-statusmap.png
-%%NAGIOSWWWDIR%%/docs/images/cgi-statuswml.png
-%%NAGIOSWWWDIR%%/docs/images/cgi-statuswrl.png
-%%NAGIOSWWWDIR%%/docs/images/cgi-summary.png
-%%NAGIOSWWWDIR%%/docs/images/cgi-tac.png
-%%NAGIOSWWWDIR%%/docs/images/cgi-trends.png
-%%NAGIOSWWWDIR%%/docs/images/checkmark.png
-%%NAGIOSWWWDIR%%/docs/images/checktiming.png
-%%NAGIOSWWWDIR%%/docs/images/configoverview.png
-%%NAGIOSWWWDIR%%/docs/images/distributed.png
-%%NAGIOSWWWDIR%%/docs/images/downtime.png
-%%NAGIOSWWWDIR%%/docs/images/epn.png
-%%NAGIOSWWWDIR%%/docs/images/eventhandlers.png
-%%NAGIOSWWWDIR%%/docs/images/externalcommands.png
-%%NAGIOSWWWDIR%%/docs/images/fast-startup.png
-%%NAGIOSWWWDIR%%/docs/images/fast-startup1.png
-%%NAGIOSWWWDIR%%/docs/images/fast-startup2.png
-%%NAGIOSWWWDIR%%/docs/images/freshness.png
-%%NAGIOSWWWDIR%%/docs/images/host-dependencies.png
-%%NAGIOSWWWDIR%%/docs/images/important.gif
-%%NAGIOSWWWDIR%%/docs/images/integrationoverview.png
-%%NAGIOSWWWDIR%%/docs/images/interleaved1.png
-%%NAGIOSWWWDIR%%/docs/images/interleaved2.png
-%%NAGIOSWWWDIR%%/docs/images/interleaved3.png
-%%NAGIOSWWWDIR%%/docs/images/logofullsize.png
-%%NAGIOSWWWDIR%%/docs/images/monitoring-printers.png
-%%NAGIOSWWWDIR%%/docs/images/monitoring-routers.png
-%%NAGIOSWWWDIR%%/docs/images/monitoring-windows.png
-%%NAGIOSWWWDIR%%/docs/images/mrtg-activehostchecks.png
-%%NAGIOSWWWDIR%%/docs/images/mrtg-activelychecked.png
-%%NAGIOSWWWDIR%%/docs/images/mrtg-activeservicechecks.png
-%%NAGIOSWWWDIR%%/docs/images/mrtg-cachedchecks.png
-%%NAGIOSWWWDIR%%/docs/images/mrtg-commandbuffers.png
-%%NAGIOSWWWDIR%%/docs/images/mrtg-externalcommands.png
-%%NAGIOSWWWDIR%%/docs/images/mrtg-hostperfstats.png
-%%NAGIOSWWWDIR%%/docs/images/mrtg-hoststatechange.png
-%%NAGIOSWWWDIR%%/docs/images/mrtg-passivechecks.png
-%%NAGIOSWWWDIR%%/docs/images/mrtg-passivelychecked.png
-%%NAGIOSWWWDIR%%/docs/images/mrtg-serviceperfstats.png
-%%NAGIOSWWWDIR%%/docs/images/mrtg-servicestatechange.png
-%%NAGIOSWWWDIR%%/docs/images/multiple-templates1.png
-%%NAGIOSWWWDIR%%/docs/images/multiple-templates2.png
-%%NAGIOSWWWDIR%%/docs/images/nagios.jpg
-%%NAGIOSWWWDIR%%/docs/images/nagiosexchange.png
-%%NAGIOSWWWDIR%%/docs/images/nagiossupport.png
-%%NAGIOSWWWDIR%%/docs/images/ndoutils.png
-%%NAGIOSWWWDIR%%/docs/images/network-outage1.png
-%%NAGIOSWWWDIR%%/docs/images/network-outage2.png
-%%NAGIOSWWWDIR%%/docs/images/noninterleaved1.png
-%%NAGIOSWWWDIR%%/docs/images/noninterleaved2.png
-%%NAGIOSWWWDIR%%/docs/images/note.gif
-%%NAGIOSWWWDIR%%/docs/images/nrpe.png
-%%NAGIOSWWWDIR%%/docs/images/nsca.png
-%%NAGIOSWWWDIR%%/docs/images/nscpp.png
-%%NAGIOSWWWDIR%%/docs/images/objects-commands.png
-%%NAGIOSWWWDIR%%/docs/images/objects-contacts.png
-%%NAGIOSWWWDIR%%/docs/images/objects-hosts.png
-%%NAGIOSWWWDIR%%/docs/images/objects-services.png
-%%NAGIOSWWWDIR%%/docs/images/objects-timeperiods.png
-%%NAGIOSWWWDIR%%/docs/images/passivechecks.png
-%%NAGIOSWWWDIR%%/docs/images/passivehosttranslation.png
-%%NAGIOSWWWDIR%%/docs/images/plugins.png
-%%NAGIOSWWWDIR%%/docs/images/predictive-dependency-checks.png
-%%NAGIOSWWWDIR%%/docs/images/printer.png
-%%NAGIOSWWWDIR%%/docs/images/reachability1.png
-%%NAGIOSWWWDIR%%/docs/images/reachability2.png
-%%NAGIOSWWWDIR%%/docs/images/reachability3.png
-%%NAGIOSWWWDIR%%/docs/images/reachability4.png
-%%NAGIOSWWWDIR%%/docs/images/redudancy.png
-%%NAGIOSWWWDIR%%/docs/images/redundancy.png
-%%NAGIOSWWWDIR%%/docs/images/security.png
-%%NAGIOSWWWDIR%%/docs/images/security1.png
-%%NAGIOSWWWDIR%%/docs/images/security2.png
-%%NAGIOSWWWDIR%%/docs/images/security3.png
-%%NAGIOSWWWDIR%%/docs/images/seealso.gif
-%%NAGIOSWWWDIR%%/docs/images/service-dependencies.png
-%%NAGIOSWWWDIR%%/docs/images/statetransitions.png
-%%NAGIOSWWWDIR%%/docs/images/statetransitions2.png
-%%NAGIOSWWWDIR%%/docs/images/stoprestart.png
-%%NAGIOSWWWDIR%%/docs/images/switch.png
-%%NAGIOSWWWDIR%%/docs/images/tcpwrappers.png
-%%NAGIOSWWWDIR%%/docs/images/tip.gif
-%%NAGIOSWWWDIR%%/docs/images/tuning.png
-%%NAGIOSWWWDIR%%/docs/images/upto.gif
-%%NAGIOSWWWDIR%%/docs/index.html
-%%NAGIOSWWWDIR%%/docs/int-snmptrap.html
-%%NAGIOSWWWDIR%%/docs/int-tcpwrappers.html
-%%NAGIOSWWWDIR%%/docs/integration.html
-%%NAGIOSWWWDIR%%/docs/largeinstalltweaks.html
-%%NAGIOSWWWDIR%%/docs/macrolist.html
-%%NAGIOSWWWDIR%%/docs/macros.html
-%%NAGIOSWWWDIR%%/docs/monitoring-linux.html
-%%NAGIOSWWWDIR%%/docs/monitoring-netware.html
-%%NAGIOSWWWDIR%%/docs/monitoring-printers.html
-%%NAGIOSWWWDIR%%/docs/monitoring-publicservices.html
-%%NAGIOSWWWDIR%%/docs/monitoring-routers.html
-%%NAGIOSWWWDIR%%/docs/monitoring-windows.html
-%%NAGIOSWWWDIR%%/docs/mrtggraphs.html
-%%NAGIOSWWWDIR%%/docs/nagiostats.html
-%%NAGIOSWWWDIR%%/docs/networkreachability.html
-%%NAGIOSWWWDIR%%/docs/notifications.html
-%%NAGIOSWWWDIR%%/docs/objectdefinitions.html
-%%NAGIOSWWWDIR%%/docs/objectinheritance.html
-%%NAGIOSWWWDIR%%/docs/objecttricks.html
-%%NAGIOSWWWDIR%%/docs/oncallrotation.html
-%%NAGIOSWWWDIR%%/docs/passivechecks.html
-%%NAGIOSWWWDIR%%/docs/passivestatetranslation.html
-%%NAGIOSWWWDIR%%/docs/perfdata.html
-%%NAGIOSWWWDIR%%/docs/pluginapi.html
-%%NAGIOSWWWDIR%%/docs/plugins.html
-%%NAGIOSWWWDIR%%/docs/quickstart-fedora.html
-%%NAGIOSWWWDIR%%/docs/quickstart-opensuse.html
-%%NAGIOSWWWDIR%%/docs/quickstart-ubuntu.html
-%%NAGIOSWWWDIR%%/docs/quickstart.html
-%%NAGIOSWWWDIR%%/docs/redundancy.html
-%%NAGIOSWWWDIR%%/docs/robots.txt
-%%NAGIOSWWWDIR%%/docs/security.html
-%%NAGIOSWWWDIR%%/docs/servicechecks.html
-%%NAGIOSWWWDIR%%/docs/stalking.html
-%%NAGIOSWWWDIR%%/docs/startstop.html
-%%NAGIOSWWWDIR%%/docs/statetypes.html
-%%NAGIOSWWWDIR%%/docs/timeperiods.html
-%%NAGIOSWWWDIR%%/docs/toc.html
-%%NAGIOSWWWDIR%%/docs/tuning.html
-%%NAGIOSWWWDIR%%/docs/upgrading.html
-%%NAGIOSWWWDIR%%/docs/verifyconfig.html
-%%NAGIOSWWWDIR%%/docs/volatileservices.html
-%%NAGIOSWWWDIR%%/docs/whatsnew.html
-%%NAGIOSWWWDIR%%/images/NagiosEnterprises-whitebg-112x46.png
-%%NAGIOSWWWDIR%%/images/ack.gif
-%%NAGIOSWWWDIR%%/images/action.gif
-%%NAGIOSWWWDIR%%/images/command.png
-%%NAGIOSWWWDIR%%/images/comment.gif
-%%NAGIOSWWWDIR%%/images/contexthelp1.gif
-%%NAGIOSWWWDIR%%/images/contexthelp2.gif
-%%NAGIOSWWWDIR%%/images/critical.png
-%%NAGIOSWWWDIR%%/images/delay.gif
-%%NAGIOSWWWDIR%%/images/delete.gif
-%%NAGIOSWWWDIR%%/images/detail.gif
-%%NAGIOSWWWDIR%%/images/disabled.gif
-%%NAGIOSWWWDIR%%/images/down.gif
-%%NAGIOSWWWDIR%%/images/downtime.gif
-%%NAGIOSWWWDIR%%/images/empty.gif
-%%NAGIOSWWWDIR%%/images/enabled.gif
-%%NAGIOSWWWDIR%%/images/extinfo.gif
-%%NAGIOSWWWDIR%%/images/favicon.ico
-%%NAGIOSWWWDIR%%/images/flapping.gif
-%%NAGIOSWWWDIR%%/images/globe-support-150x150.png
-%%NAGIOSWWWDIR%%/images/greendot.gif
-%%NAGIOSWWWDIR%%/images/histogram.png
-%%NAGIOSWWWDIR%%/images/history.gif
-%%NAGIOSWWWDIR%%/images/hostevent.gif
-%%NAGIOSWWWDIR%%/images/info.png
-%%NAGIOSWWWDIR%%/images/left.gif
-%%NAGIOSWWWDIR%%/images/logofullsize.png
-%%NAGIOSWWWDIR%%/images/logos/nagios.gd2
-%%NAGIOSWWWDIR%%/images/logos/nagios.gif
-%%NAGIOSWWWDIR%%/images/logos/nagiosvrml.png
-%%NAGIOSWWWDIR%%/images/logos/unknown.gd2
-%%NAGIOSWWWDIR%%/images/logos/unknown.gif
-%%NAGIOSWWWDIR%%/images/logrotate.png
-%%NAGIOSWWWDIR%%/images/ndisabled.gif
-%%NAGIOSWWWDIR%%/images/noack.gif
-%%NAGIOSWWWDIR%%/images/notes.gif
-%%NAGIOSWWWDIR%%/images/notify.gif
-%%NAGIOSWWWDIR%%/images/orangedot.gif
-%%NAGIOSWWWDIR%%/images/passiveonly.gif
-%%NAGIOSWWWDIR%%/images/recovery.png
-%%NAGIOSWWWDIR%%/images/redudancy.png
-%%NAGIOSWWWDIR%%/images/redundancy.png
-%%NAGIOSWWWDIR%%/images/restart.gif
-%%NAGIOSWWWDIR%%/images/right.gif
-%%NAGIOSWWWDIR%%/images/sblogo.png
-%%NAGIOSWWWDIR%%/images/serviceevent.gif
-%%NAGIOSWWWDIR%%/images/splunk1.gif
-%%NAGIOSWWWDIR%%/images/splunk2.gif
-%%NAGIOSWWWDIR%%/images/start.gif
-%%NAGIOSWWWDIR%%/images/status.gif
-%%NAGIOSWWWDIR%%/images/status2.gif
-%%NAGIOSWWWDIR%%/images/status3.gif
-%%NAGIOSWWWDIR%%/images/status4.gif
-%%NAGIOSWWWDIR%%/images/stop.gif
-%%NAGIOSWWWDIR%%/images/tacdisabled.jpg
-%%NAGIOSWWWDIR%%/images/tacdisabled.png
-%%NAGIOSWWWDIR%%/images/tacenabled.jpg
-%%NAGIOSWWWDIR%%/images/tacenabled.png
-%%NAGIOSWWWDIR%%/images/thermcrit.png
-%%NAGIOSWWWDIR%%/images/thermok.png
-%%NAGIOSWWWDIR%%/images/thermwarn.png
-%%NAGIOSWWWDIR%%/images/trends.gif
-%%NAGIOSWWWDIR%%/images/trendshost.png
-%%NAGIOSWWWDIR%%/images/trendssvc.png
-%%NAGIOSWWWDIR%%/images/unknown.png
-%%NAGIOSWWWDIR%%/images/up.gif
-%%NAGIOSWWWDIR%%/images/warning.png
-%%NAGIOSWWWDIR%%/images/weblogo1.png
-%%NAGIOSWWWDIR%%/images/zoom1.gif
-%%NAGIOSWWWDIR%%/images/zoom2.gif
-%%NAGIOSWWWDIR%%/includes/utils.inc.php
-%%NAGIOSWWWDIR%%/index.php
-%%NAGIOSWWWDIR%%/main.php
-%%NAGIOSWWWDIR%%/robots.txt
-%%NAGIOSWWWDIR%%/side.php
-%%NAGIOSWWWDIR%%/stylesheets/avail.css
-%%NAGIOSWWWDIR%%/stylesheets/checksanity.css
-%%NAGIOSWWWDIR%%/stylesheets/cmd.css
-%%NAGIOSWWWDIR%%/stylesheets/common.css
-%%NAGIOSWWWDIR%%/stylesheets/config.css
-%%NAGIOSWWWDIR%%/stylesheets/extinfo.css
-%%NAGIOSWWWDIR%%/stylesheets/histogram.css
-%%NAGIOSWWWDIR%%/stylesheets/history.css
-%%NAGIOSWWWDIR%%/stylesheets/ministatus.css
-%%NAGIOSWWWDIR%%/stylesheets/notifications.css
-%%NAGIOSWWWDIR%%/stylesheets/outages.css
-%%NAGIOSWWWDIR%%/stylesheets/showlog.css
-%%NAGIOSWWWDIR%%/stylesheets/status.css
-%%NAGIOSWWWDIR%%/stylesheets/statusmap.css
-%%NAGIOSWWWDIR%%/stylesheets/summary.css
-%%NAGIOSWWWDIR%%/stylesheets/tac.css
-%%NAGIOSWWWDIR%%/stylesheets/trends.css
-@dirrmtry etc/nagios/objects
-@dirrmtry etc/nagios
-@dirrm %%NAGIOSWWWDIR%%/cgi-bin
-@dirrm %%NAGIOSWWWDIR%%/contexthelp
-@dirrm %%NAGIOSWWWDIR%%/docs/images
-@dirrm %%NAGIOSWWWDIR%%/docs
-@dirrm %%NAGIOSWWWDIR%%/images/logos
-@dirrm %%NAGIOSWWWDIR%%/images
-@dirrm %%NAGIOSWWWDIR%%/includes
-@dirrm %%NAGIOSWWWDIR%%/media
-@dirrm %%NAGIOSWWWDIR%%/ssi
-@dirrm %%NAGIOSWWWDIR%%/stylesheets
-@dirrmtry %%NAGIOSWWWDIR%%
@unexec rmdir %%NAGIOSDIR%%/archives 2>/dev/null || true
@unexec rmdir %%NAGIOSDIR%%/checkresults 2>/dev/null || true
@unexec rmdir %%NAGIOSDIR%%/rw 2>/dev/null || true