Remove net-mgmt/nagios-devel, it's been outdated for a long time now.

Sponsored by:	Absolight
This commit is contained in:
Mathieu Arnold 2014-01-24 23:37:10 +00:00
parent 3171cba400
commit 8922ffcf50
22 changed files with 1 additions and 1107 deletions

1
MOVED
View File

@ -5397,3 +5397,4 @@ cad/salome-randomizer||2014-01-24|Has expired: depends on expired cad/salome-ker
cad/salome-sierpinsky||2014-01-24|Has expired: depends on expired cad/salome-kernel
cad/salome-geom||2014-01-24|Has expired: depends on expired cad/salome-kernel
devel/combat||2014-01-24|Has expired: depends on expired devel/mico
net-mgmt/nagios-devel|net-mgmt/nagios|2014-01-25|Master site gone, outdated

View File

@ -129,7 +129,6 @@
SUBDIR += nagios-check_puppet
SUBDIR += nagios-check_smartmon
SUBDIR += nagios-check_tftp
SUBDIR += nagios-devel
SUBDIR += nagios-geom
SUBDIR += nagios-openldap-plugins
SUBDIR += nagios-pf-plugin

View File

@ -1,131 +0,0 @@
# Created by: Jarrod Sayers <jarrod@netleader.com.au>
# $FreeBSD$
PORTNAME= nagios
DISTVERSIONPREFIX=HEAD-
DISTVERSION= 20101122
PORTREVISION= 1
CATEGORIES= net-mgmt
MASTER_SITES= http://www.downtools.com.au/~jarrod/nagios/
PKGNAMESUFFIX= -devel
MAINTAINER= ports@FreeBSD.org
COMMENT= Powerful network monitoring system
LIB_DEPENDS= gd:${PORTSDIR}/graphics/gd
RUN_DEPENDS= ${LOCALBASE}/libexec/nagios/check_nagios:${PORTSDIR}/net-mgmt/nagios-plugins
MASTER_SITE_FREEBSD= yes
LATEST_LINK= nagios-devel
USES= iconv perl5
USE_PERL5= build
USE_AUTOTOOLS= autoconf libltdl
USE_RC_SUBR= nagios
CONFLICTS= nagios-[123].*
WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSIONPREFIX:C/-$//}
OPTIONS_DEFINE= EMBEDDED_PERL NANOSLEEP EVENT_BROKER UNHANDLED_HACK
EMBEDDED_PERL_DESC= Embedded Perl
NANOSLEEP_DESC= Use nanosleep in event timing
EVENT_BROKER_DESC= Event broker functionality
UNHANDLED_HACK_DESC= Display passive checks in unhandled queries
GNU_CONFIGURE= yes
WANT_PHP_MOD= yes
NAGIOSUSER?= nagios
NAGIOSGROUP?= nagios
NAGIOSDIR?= /var/spool/nagios
NAGIOSUID= 181
NAGIOSGID= ${NAGIOSUID}
NAGIOSHTMURL?= /nagios
NAGIOSCGIURL?= ${NAGIOSHTMURL}/cgi-bin
NO_STAGE= yes
.include <bsd.port.pre.mk>
CPPFLAGS+= -I${LOCALBASE}/include -fPIC
CFLAGS+= ${CPPFLAGS}
CONFIGURE_ARGS= --with-command-user=${NAGIOSUSER} \
--with-command-group=${WWWGRP} \
--with-nagios-user=${NAGIOSUSER} \
--with-nagios-group=${NAGIOSGROUP} \
--with-htmurl=${NAGIOSHTMURL} \
--with-cgiurl=${NAGIOSCGIURL} \
--sbindir=${WWWDIR}/cgi-bin \
--libexecdir=${PREFIX}/libexec/nagios \
--datarootdir=${WWWDIR} \
--datadir=${WWWDIR} \
--sysconfdir=${ETCDIR} \
--localstatedir=${NAGIOSDIR} \
--with-httpd-conf=${PREFIX}/etc \
--with-checkresult-dir=${NAGIOSDIR}/checkresults \
--disable-statuswrl
CONFIGURE_ENV= LIBS="-L${LOCALBASE}/lib" \
PERL=${PERL}
MAKE_JOBS_UNSAFE= yes
INSTALL_TARGET= install install-commandmode install-config
PLIST_SUB= NAGIOSDIR=${NAGIOSDIR} \
NAGIOSUSER=${NAGIOSUSER} \
NAGIOSGROUP=${NAGIOSGROUP} \
NAGIOSUID=${NAGIOSUID} \
NAGIOSGID=${NAGIOSGID} \
NAGIOSHTMURL=${NAGIOSHTMURL} \
NAGIOSCGIURL=${NAGIOSCGIURL} \
WWWGRP=${WWWGRP}
SUB_FILES= pkg-install \
pkg-deinstall \
pkg-message
# XXX: Don't remove PREFIX from SUB_LIST here.
SUB_LIST= PREFIX=${PREFIX} \
${PLIST_SUB}
USE_PHP= yes
.if ${PORT_OPTIONS:MEMBEDDED_PERL}
USE_PERL5+= run
CONFIGURE_ARGS+= --enable-embedded-perl \
--with-perlcache
PLIST_SUB+= EMBEDDED_PERL=""
.else
PLIST_SUB+= EMBEDDED_PERL="@comment "
.endif
.if ${PORT_OPTIONS:MNANOSLEEP}
CONFIGURE_ARGS+= --enable-nanosleep
.endif
.if ${PORT_OPTIONS:MEVENT_BROKER}
CONFIGURE_ARGS+= --enable-event-broker
.else
CONFIGURE_ARGS+= --disable-event-broker
.endif
post-patch:
.if ${PORT_OPTIONS:MUNHANDLED_HACK}
@${REINPLACE_CMD} -e 's#;serviceprops=42\&#;serviceprops=10\&#g' \
-e 's#;hostprops=42\"#;hostprops=10\"#g' ${WRKSRC}/html/side.php
.endif
pre-su-install:
@${SH} ${PKGINSTALL} ${DISTNAME} PRE-INSTALL
post-install:
@${CHMOD} 775 ${NAGIOSDIR} ${NAGIOSDIR}/archives ${NAGIOSDIR}/checkresults ${NAGIOSDIR}/rw
@${CHOWN} ${NAGIOSUSER}:${NAGIOSGROUP} ${NAGIOSDIR} ${NAGIOSDIR}/archives ${NAGIOSDIR}/checkresults
@${CHOWN} ${NAGIOSUSER}:${WWWGRP} ${NAGIOSDIR}/rw
@${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>

View File

@ -1,2 +0,0 @@
SHA256 (nagios-HEAD-20101122.tar.gz) = 49dc5911c1cf1bcf8d527744b31c9ef04d38cc025788fcaae6dd4bb6f7dbda53
SIZE (nagios-HEAD-20101122.tar.gz) = 3300415

View File

@ -1,103 +0,0 @@
#!/bin/sh
#
# $FreeBSD$
#
# PROVIDE: nagios
# REQUIRE: DAEMON
# BEFORE: LOGIN
# KEYWORD: shutdown
#
# 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%%/%%ETCDIR%%/nagios.cfg" by default.
#
. /etc/rc.subr
name="nagios"
rcvar=nagios_enable
command="%%PREFIX%%/bin/nagios"
command_args="-d"
extra_commands="reload"
pidfile="%%NAGIOSDIR%%/nagios.lock"
nagios_user="%%NAGIOSUSER%%"
start_precmd="start_precmd"
stop_postcmd="stop_postcmd"
restart_precmd="nagios_checkconfig"
reload_precmd="reload_precmd"
sig_reload=HUP
[ -z "${nagios_enable}" ] && nagios_enable="NO"
[ -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
if [ $? != 0 ]; then
echo "FAILED"
${command} -v ${nagios_configfile}
return 1
else
echo "OK"
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"
}
stop_postcmd() {
rm -f "%%NAGIOSDIR%%/nagios.tmp" "%%NAGIOSDIR%%/rw/nagios.cmd"
}
run_rc_command "$1"

View File

@ -1,57 +0,0 @@
--- Makefile.in.orig Sun Aug 5 08:43:17 2007
+++ Makefile.in Thu Aug 30 18:12:04 2007
@@ -185,12 +185,12 @@
$(MAKE) install-basic
install-basic:
- $(INSTALL) -m 775 $(INSTALL_OPTS) -d $(DESTDIR)$(LIBEXECDIR)
+ $(INSTALL) -m 755 $(INSTALL_OPTS) -d $(DESTDIR)$(LIBEXECDIR)
$(INSTALL) -m 775 $(INSTALL_OPTS) -d $(DESTDIR)$(LOGDIR)
$(INSTALL) -m 775 $(INSTALL_OPTS) -d $(DESTDIR)$(LOGDIR)/archives
$(INSTALL) -m 775 $(INSTALL_OPTS) -d $(DESTDIR)$(CHECKRESULTDIR)
if [ $(INSTALLPERLSTUFF) = yes ]; then \
- $(INSTALL) -m 664 $(INSTALL_OPTS) p1.pl $(DESTDIR)$(BINDIR); \
+ $(INSTALL) -m 644 $(INSTALL_OPTS) p1.pl $(DESTDIR)$(BINDIR); \
fi;
@echo ""
@@ -212,19 +212,18 @@
install-config:
- $(INSTALL) -m 775 $(INSTALL_OPTS) -d $(DESTDIR)$(CFGDIR)
- $(INSTALL) -m 775 $(INSTALL_OPTS) -d $(DESTDIR)$(CFGDIR)/objects
- $(INSTALL) -b -m 664 $(INSTALL_OPTS) sample-config/nagios.cfg $(DESTDIR)$(CFGDIR)/nagios.cfg
- $(INSTALL) -b -m 664 $(INSTALL_OPTS) sample-config/cgi.cfg $(DESTDIR)$(CFGDIR)/cgi.cfg
- $(INSTALL) -b -m 660 $(INSTALL_OPTS) sample-config/resource.cfg $(DESTDIR)$(CFGDIR)/resource.cfg
- $(INSTALL) -b -m 664 $(INSTALL_OPTS) sample-config/template-object/templates.cfg $(DESTDIR)$(CFGDIR)/objects/templates.cfg
- $(INSTALL) -b -m 664 $(INSTALL_OPTS) sample-config/template-object/commands.cfg $(DESTDIR)$(CFGDIR)/objects/commands.cfg
- $(INSTALL) -b -m 664 $(INSTALL_OPTS) sample-config/template-object/contacts.cfg $(DESTDIR)$(CFGDIR)/objects/contacts.cfg
- $(INSTALL) -b -m 664 $(INSTALL_OPTS) sample-config/template-object/timeperiods.cfg $(DESTDIR)$(CFGDIR)/objects/timeperiods.cfg
- $(INSTALL) -b -m 664 $(INSTALL_OPTS) sample-config/template-object/localhost.cfg $(DESTDIR)$(CFGDIR)/objects/localhost.cfg
- $(INSTALL) -b -m 664 $(INSTALL_OPTS) sample-config/template-object/windows.cfg $(DESTDIR)$(CFGDIR)/objects/windows.cfg
- $(INSTALL) -b -m 664 $(INSTALL_OPTS) sample-config/template-object/printer.cfg $(DESTDIR)$(CFGDIR)/objects/printer.cfg
- $(INSTALL) -b -m 664 $(INSTALL_OPTS) sample-config/template-object/switch.cfg $(DESTDIR)$(CFGDIR)/objects/switch.cfg
+ $(INSTALL) -m 755 $(INSTALL_OPTS) -d $(DESTDIR)$(CFGDIR)
+ $(INSTALL) -m 755 $(INSTALL_OPTS) -d $(DESTDIR)$(CFGDIR)/objects
+ $(INSTALL) -m 644 $(INSTALL_OPTS) sample-config/nagios.cfg $(DESTDIR)$(CFGDIR)/nagios.cfg-sample
+ $(INSTALL) -m 644 $(INSTALL_OPTS) sample-config/cgi.cfg $(DESTDIR)$(CFGDIR)/cgi.cfg-sample
+ $(INSTALL) -m 644 $(INSTALL_OPTS) sample-config/resource.cfg $(DESTDIR)$(CFGDIR)/resource.cfg-sample
+ $(INSTALL) -m 644 $(INSTALL_OPTS) sample-config/template-object/templates.cfg $(DESTDIR)$(CFGDIR)/objects/templates.cfg-sample
+ $(INSTALL) -m 644 $(INSTALL_OPTS) sample-config/template-object/commands.cfg $(DESTDIR)$(CFGDIR)/objects/commands.cfg-sample
+ $(INSTALL) -m 644 $(INSTALL_OPTS) sample-config/template-object/contacts.cfg $(DESTDIR)$(CFGDIR)/objects/contacts.cfg-sample
+ $(INSTALL) -m 644 $(INSTALL_OPTS) sample-config/template-object/timeperiods.cfg $(DESTDIR)$(CFGDIR)/objects/timeperiods.cfg-sample
+ $(INSTALL) -m 644 $(INSTALL_OPTS) sample-config/template-object/localhost.cfg $(DESTDIR)$(CFGDIR)/objects/localhost.cfg-sample
+ $(INSTALL) -m 644 $(INSTALL_OPTS) sample-config/template-object/printer.cfg $(DESTDIR)$(CFGDIR)/objects/printer.cfg-sample
+ $(INSTALL) -m 644 $(INSTALL_OPTS) sample-config/template-object/switch.cfg $(DESTDIR)$(CFGDIR)/objects/switch.cfg-sample
@echo ""
@echo "*** Sample config files installed ***"
@@ -254,7 +253,6 @@
install-commandmode:
$(INSTALL) -m 775 $(COMMAND_OPTS) -d $(DESTDIR)$(LOGDIR)/rw
- chmod g+s $(DESTDIR)$(LOGDIR)/rw
@echo ""
@echo "*** External command directory configured ***"

View File

@ -1,15 +0,0 @@
--- base/Makefile.in.orig Wed Jan 24 04:58:34 2007
+++ base/Makefile.in Fri Jul 20 13:34:45 2007
@@ -193,9 +193,9 @@
$(MAKE) install-basic
install-basic:
- $(INSTALL) -m 775 $(INSTALL_OPTS) -d $(DESTDIR)$(BINDIR)
- $(INSTALL) -m 774 $(INSTALL_OPTS) @nagios_name@ $(DESTDIR)$(BINDIR)
- $(INSTALL) -m 774 $(INSTALL_OPTS) @nagiostats_name@ $(DESTDIR)$(BINDIR)
+ $(INSTALL) -m 755 $(INSTALL_OPTS) -d $(DESTDIR)$(BINDIR)
+ $(INSTALL) -m 755 $(INSTALL_OPTS) @nagios_name@ $(DESTDIR)$(BINDIR)
+ $(INSTALL) -m 755 $(INSTALL_OPTS) @nagiostats_name@ $(DESTDIR)$(BINDIR)
strip-post-install:
$(STRIP) $(DESTDIR)$(BINDIR)/@nagios_name@

View File

@ -1,14 +0,0 @@
--- cgi/Makefile.in.orig Wed Dec 13 02:57:57 2006
+++ cgi/Makefile.in Fri Jul 20 13:35:18 2007
@@ -190,9 +190,9 @@
$(MAKE) install-basic
install-basic:
- $(INSTALL) -m 775 $(INSTALL_OPTS) -d $(DESTDIR)$(CGIDIR)
+ $(INSTALL) -m 755 $(INSTALL_OPTS) -d $(DESTDIR)$(CGIDIR)
for file in *.cgi; do \
- $(INSTALL) -m 775 $(INSTALL_OPTS) $$file $(DESTDIR)$(CGIDIR); \
+ $(INSTALL) -m 755 $(INSTALL_OPTS) $$file $(DESTDIR)$(CGIDIR); \
done
strip-post-install:

View File

@ -1,53 +0,0 @@
--- 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)
-AC_PREFIX_DEFAULT(/usr/local/nagios)
PKG_NAME=nagios
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"
+have_thr="no"
+dnl Prefer libthr(3) over libpthread(3) due to serious process hanging issues
+AC_CHECK_LIB(thr,pthread_create)
+if test $ac_cv_lib_thr_pthread_create = yes; then
+ THREADLIBS="-lthr"
+ have_pthreads="yes"
+ have_thr="yes"
+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],[
@@ -186,6 +193,7 @@
if test $have_pthreads = "no"; then
AC_PTHREAD_FREEBSD
fi
+fi
AC_SUBST(THREADLIBS)
@@ -201,7 +209,7 @@
AC_SUBST(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,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,,[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 #'`"
+ fi
PERLDIR="`perl -MConfig -e 'print $Config{installsitearch}'`"
CFLAGS="${CFLAGS} `perl -MExtUtils::Embed -e ccopts`"
USEPERL=yes

View File

@ -1,17 +0,0 @@
--- contrib/Makefile.in.orig Tue Nov 15 12:19:36 2005
+++ contrib/Makefile.in Fri Jul 20 13:35:47 2007
@@ -46,10 +46,10 @@
devclean: distclean
install:
- $(INSTALL) -m 775 $(INSTALL_OPTS) -d $(DESTDIR)$(CGIDIR)
- $(INSTALL) -m 775 $(INSTALL_OPTS) -d $(DESTDIR)$(BINDIR)
- for f in $(CGIS); do $(INSTALL) -m 775 $(INSTALL_OPTS) $$f $(DESTDIR)$(CGIDIR); done
- for f in $(UTILS); do $(INSTALL) -m 775 $(INSTALL_OPTS) $$f $(DESTDIR)$(BINDIR); done
+ $(INSTALL) -m 755 $(INSTALL_OPTS) -d $(DESTDIR)$(CGIDIR)
+ $(INSTALL) -m 755 $(INSTALL_OPTS) -d $(DESTDIR)$(BINDIR)
+ for f in $(CGIS); do $(INSTALL) -m 755 $(INSTALL_OPTS) $$f $(DESTDIR)$(CGIDIR); done
+ for f in $(UTILS); do $(INSTALL) -m 755 $(INSTALL_OPTS) $$f $(DESTDIR)$(BINDIR); done
##############################################################################
# rules and dependencies for actual target programs

View File

@ -1,73 +0,0 @@
--- html/Makefile.in.orig 2009-06-17 13:27:21.000000000 +0930
+++ html/Makefile.in 2009-07-06 19:27:38.000000000 +0930
@@ -33,46 +33,46 @@
devclean: distclean
install:
- $(INSTALL) -m 775 $(INSTALL_OPTS) -d $(DESTDIR)$(HTMLDIR)
- $(INSTALL) -m 775 $(INSTALL_OPTS) -d $(DESTDIR)$(HTMLDIR)/media
- $(INSTALL) -m 775 $(INSTALL_OPTS) -d $(DESTDIR)$(HTMLDIR)/stylesheets
- $(INSTALL) -m 775 $(INSTALL_OPTS) -d $(DESTDIR)$(HTMLDIR)/contexthelp
- $(INSTALL) -m 775 $(INSTALL_OPTS) -d $(DESTDIR)$(HTMLDIR)/docs
- $(INSTALL) -m 775 $(INSTALL_OPTS) -d $(DESTDIR)$(HTMLDIR)/docs/images
- $(INSTALL) -m 775 $(INSTALL_OPTS) -d $(DESTDIR)$(HTMLDIR)/images
- $(INSTALL) -m 775 $(INSTALL_OPTS) -d $(DESTDIR)$(HTMLDIR)/images/logos
- $(INSTALL) -m 775 $(INSTALL_OPTS) -d $(DESTDIR)$(HTMLDIR)/includes
- $(INSTALL) -m 775 $(INSTALL_OPTS) -d $(DESTDIR)$(HTMLDIR)/ssi
- $(INSTALL) -m 664 $(INSTALL_OPTS) robots.txt $(DESTDIR)$(HTMLDIR)
- $(INSTALL) -m 664 $(INSTALL_OPTS) docs/robots.txt $(DESTDIR)$(HTMLDIR)/docs
+ $(INSTALL) -m 755 $(INSTALL_OPTS) -d $(DESTDIR)$(HTMLDIR)
+ $(INSTALL) -m 755 $(INSTALL_OPTS) -d $(DESTDIR)$(HTMLDIR)/media
+ $(INSTALL) -m 755 $(INSTALL_OPTS) -d $(DESTDIR)$(HTMLDIR)/stylesheets
+ $(INSTALL) -m 755 $(INSTALL_OPTS) -d $(DESTDIR)$(HTMLDIR)/contexthelp
+ $(INSTALL) -m 755 $(INSTALL_OPTS) -d $(DESTDIR)$(HTMLDIR)/docs
+ $(INSTALL) -m 755 $(INSTALL_OPTS) -d $(DESTDIR)$(HTMLDIR)/docs/images
+ $(INSTALL) -m 755 $(INSTALL_OPTS) -d $(DESTDIR)$(HTMLDIR)/images
+ $(INSTALL) -m 755 $(INSTALL_OPTS) -d $(DESTDIR)$(HTMLDIR)/images/logos
+ $(INSTALL) -m 755 $(INSTALL_OPTS) -d $(DESTDIR)$(HTMLDIR)/includes
+ $(INSTALL) -m 755 $(INSTALL_OPTS) -d $(DESTDIR)$(HTMLDIR)/ssi
+ $(INSTALL) -m 644 $(INSTALL_OPTS) robots.txt $(DESTDIR)$(HTMLDIR)
+ $(INSTALL) -m 644 $(INSTALL_OPTS) docs/robots.txt $(DESTDIR)$(HTMLDIR)/docs
# Remove old HTML files (PHP files are used now)
rm -f $(DESTDIR)$(HTMLDIR)/index.html
rm -f $(DESTDIR)$(HTMLDIR)/main.html
rm -f $(DESTDIR)$(HTMLDIR)/side.html
for file in *.php; \
- do $(INSTALL) -m 664 $(INSTALL_OPTS) $$file $(DESTDIR)$(HTMLDIR); done
+ do $(INSTALL) -m 644 $(INSTALL_OPTS) $$file $(DESTDIR)$(HTMLDIR); done
# for file in media/*.wav; \
-# do $(INSTALL) -m 664 $(INSTALL_OPTS) $$file $(DESTDIR)$(HTMLDIR)/media; done
+# do $(INSTALL) -m 644 $(INSTALL_OPTS) $$file $(DESTDIR)$(HTMLDIR)/media; done
for file in stylesheets/*.css; \
- do $(INSTALL) -m 664 $(INSTALL_OPTS) $$file $(DESTDIR)$(HTMLDIR)/stylesheets; done
+ do $(INSTALL) -m 644 $(INSTALL_OPTS) $$file $(DESTDIR)$(HTMLDIR)/stylesheets; done
for file in contexthelp/*.html; \
- do $(INSTALL) -m 664 $(INSTALL_OPTS) $$file $(DESTDIR)$(HTMLDIR)/contexthelp; done
+ do $(INSTALL) -m 644 $(INSTALL_OPTS) $$file $(DESTDIR)$(HTMLDIR)/contexthelp; done
for file in docs/*.html; \
- do $(INSTALL) -m 664 $(INSTALL_OPTS) $$file $(DESTDIR)$(HTMLDIR)/docs; done
+ do $(INSTALL) -m 644 $(INSTALL_OPTS) $$file $(DESTDIR)$(HTMLDIR)/docs; done
for file in docs/images/*.*; \
- do $(INSTALL) -m 664 $(INSTALL_OPTS) $$file $(DESTDIR)$(HTMLDIR)/docs/images; done
+ do $(INSTALL) -m 644 $(INSTALL_OPTS) $$file $(DESTDIR)$(HTMLDIR)/docs/images; done
for file in images/*.gif; \
- do $(INSTALL) -m 664 $(INSTALL_OPTS) $$file $(DESTDIR)$(HTMLDIR)/images; done
+ do $(INSTALL) -m 644 $(INSTALL_OPTS) $$file $(DESTDIR)$(HTMLDIR)/images; done
for file in images/*.jpg; \
- do $(INSTALL) -m 664 $(INSTALL_OPTS) $$file $(DESTDIR)$(HTMLDIR)/images; done
+ do $(INSTALL) -m 644 $(INSTALL_OPTS) $$file $(DESTDIR)$(HTMLDIR)/images; done
for file in images/*.png; \
- do $(INSTALL) -m 664 $(INSTALL_OPTS) $$file $(DESTDIR)$(HTMLDIR)/images; done
+ do $(INSTALL) -m 644 $(INSTALL_OPTS) $$file $(DESTDIR)$(HTMLDIR)/images; done
for file in images/*.ico; \
- do $(INSTALL) -m 664 $(INSTALL_OPTS) $$file $(DESTDIR)$(HTMLDIR)/images; done
+ do $(INSTALL) -m 644 $(INSTALL_OPTS) $$file $(DESTDIR)$(HTMLDIR)/images; done
for file in images/logos/*.*; \
- do $(INSTALL) -m 664 $(INSTALL_OPTS) $$file $(DESTDIR)$(HTMLDIR)/images/logos; done
+ do $(INSTALL) -m 644 $(INSTALL_OPTS) $$file $(DESTDIR)$(HTMLDIR)/images/logos; done
for file in includes/*.*; \
- do $(INSTALL) -m 664 $(INSTALL_OPTS) $$file $(DESTDIR)$(HTMLDIR)/includes; done
+ do $(INSTALL) -m 644 $(INSTALL_OPTS) $$file $(DESTDIR)$(HTMLDIR)/includes; done
install-unstripped:
$(MAKE) install

View File

@ -1,11 +0,0 @@
--- html/docs/configcgi.html.orig 2009-06-18 00:43:52.000000000 +0930
+++ html/docs/configcgi.html 2009-07-06 19:33:10.000000000 +0930
@@ -1250,7 +1250,7 @@
<td valign=top>Example:</td>
-<td><font color="red"><strong>ping_syntax=/bin/ping -n -U -c 5 $HOSTADDRESS$</strong></font></td>
+<td><font color="red"><strong>ping_syntax=/sbin/ping -n -c 5 $HOSTADDRESS$</strong></font></td>
</tr>

View File

@ -1,11 +0,0 @@
--- include/locations.h.in.orig Tue May 1 08:15:57 2007
+++ include/locations.h.in Fri Jul 20 15:52:49 2007
@@ -20,7 +20,7 @@
#define DEFAULT_TEMP_FILE "@localstatedir@/tempfile"
#define DEFAULT_TEMP_PATH "/tmp"
-#define DEFAULT_CHECK_RESULT_PATH "@localstatedir@/spool/checkresults"
+#define DEFAULT_CHECK_RESULT_PATH "@localstatedir@/checkresults"
#define DEFAULT_STATUS_FILE "@localstatedir@/status.dat"
#define DEFAULT_LOG_FILE "@localstatedir@/nagios.log"
#define DEFAULT_LOG_ARCHIVE_PATH "@localstatedir@/archives/"

View File

@ -1,11 +0,0 @@
--- sample-config/cgi.cfg.in.orig 2007-10-08 05:12:52.000000000 +0930
+++ sample-config/cgi.cfg.in 2008-10-23 10:31:31.000000000 +1030
@@ -229,7 +229,7 @@
# OS and distribution, so you may have to tweak this to
# work on your system.
-ping_syntax=/bin/ping -n -U -c 5 $HOSTADDRESS$
+ping_syntax=/sbin/ping -n -c 5 $HOSTADDRESS$

View File

@ -1,11 +0,0 @@
--- sample-config/nagios.cfg.in.orig Tue Jun 19 02:26:33 2007
+++ sample-config/nagios.cfg.in Fri Jul 20 13:45:09 2007
@@ -32,7 +32,7 @@
cfg_file=@sysconfdir@/objects/timeperiods.cfg
cfg_file=@sysconfdir@/objects/templates.cfg
-# Definitions for monitoring the local (Linux) host
+# Definitions for monitoring the local (FreeBSD) host
cfg_file=@sysconfdir@/objects/localhost.cfg
# Definitions for monitoring a Windows machine

View File

@ -1,40 +0,0 @@
--- sample-config/template-object/localhost.cfg.in.orig Sun Jun 10 02:13:05 2007
+++ sample-config/template-object/localhost.cfg.in Fri Jul 20 13:46:46 2007
@@ -5,7 +5,7 @@
#
# NOTE: This config file is intended to serve as an *extremely* simple
# example of how you can create configuration entries to monitor
-# the local (Linux) machine.
+# the local (FreeBSD) machine.
#
###############################################################################
@@ -23,9 +23,9 @@
# Define a host for the local machine
define host{
- use linux-server ; Name of host template to use
+ use freebsd-server ; Name of host template to use
; This host definition will inherit all variables that are defined
- ; in (or inherited by) the linux-server host template definition.
+ ; in (or inherited by) the freebsd-server host template definition.
host_name localhost
alias localhost
address 127.0.0.1
@@ -41,12 +41,12 @@
###############################################################################
###############################################################################
-# Define an optional hostgroup for Linux machines
+# Define an optional hostgroup for FreeBSD machines
define hostgroup{
- hostgroup_name linux-servers ; The name of the hostgroup
- alias Linux Servers ; Long name of the group
- members localhost ; Comma separated list of hosts that belong to this group
+ hostgroup_name freebsd-servers ; The name of the hostgroup
+ alias FreeBSD Servers ; Long name of the group
+ members localhost ; Comma separated list of hosts that belong to this group
}

View File

@ -1,26 +0,0 @@
--- sample-config/template-object/templates.cfg.in.orig Fri Jul 20 13:46:57 2007
+++ sample-config/template-object/templates.cfg.in Fri Jul 20 13:47:52 2007
@@ -63,17 +63,17 @@
}
-# Linux host definition template - This is NOT a real host, just a template!
+# FreeBSD host definition template - This is NOT a real host, just a template!
define host{
- name linux-server ; The name of this host template
+ name freebsd-server ; The name of this host template
use generic-host ; This template inherits other values from the generic-host template
- check_period 24x7 ; By default, Linux hosts are checked round the clock
+ check_period 24x7 ; By default, FreeBSD hosts are checked round the clock
check_interval 5 ; Actively check the host every 5 minutes
retry_interval 1 ; Schedule host check retries at 1 minute intervals
- max_check_attempts 10 ; Check each Linux host 10 times (max)
- check_command check-host-alive ; Default command to check Linux hosts
- notification_period workhours ; Linux admins hate to be woken up, so we only notify during the day
+ max_check_attempts 10 ; Check each FreeBSD host 10 times (max)
+ check_command check-host-alive ; Default command to check FreeBSD hosts
+ notification_period workhours ; FreeBSD admins hate to be woken up, so we only notify during the day
; Note that the notification_period variable is being overridden from
; the value that is inherited from the generic-host template!
notification_interval 120 ; Resend notifications every 2 hours

View File

@ -1,22 +0,0 @@
#!/bin/sh
#
# $FreeBSD$
#
NAGIOSDIR=%%NAGIOSDIR%%
NAGIOSUSER=%%NAGIOSUSER%%
NAGIOSGROUP=%%NAGIOSGROUP%%
if [ "$2" = "POST-DEINSTALL" ]; then
if /usr/sbin/pw group show "${NAGIOSGROUP}" 2>&1 >/dev/null; then
echo "You should manually remove the \"${NAGIOSGROUP}\" group."
fi
if /usr/sbin/pw user show "${NAGIOSUSER}" 2>&1 >/dev/null; then
echo "You should manually remove the \"${NAGIOSUSER}\" user."
fi
if [ -e "${NAGIOSDIR}" ]; then
echo "You should manually remove the \"${NAGIOSDIR}\" directory."
fi
fi

View File

@ -1,74 +0,0 @@
#!/bin/sh
#
# $FreeBSD$
#
NAGIOSDIR=%%NAGIOSDIR%%
NAGIOSUSER=%%NAGIOSUSER%%
NAGIOSGROUP=%%NAGIOSGROUP%%
NAGIOSUID=%%NAGIOSUID%%
NAGIOSGID=%%NAGIOSGID%%
ask() {
local question default answer
question=$1
default=$2
if [ -z "${PACKAGE_BUILDING}" ]; then
read -p "${question} [${default}]? " answer
fi
if [ "x${answer}" = "x" ]; then
answer=${default}
fi
echo ${answer}
}
yesno() {
local default question answer
question=$1
default=$2
while :; do
answer=$(ask "${question}" "${default}")
case "${answer}" in
[Yy][Ee][Ss]|[Yy])
return 0
;;
[Nn][Oo]|[Nn])
return 1
;;
esac
echo "Please answer yes or no."
done
}
if [ "$2" = "PRE-INSTALL" ]; then
if /usr/sbin/pw group show "${NAGIOSGROUP}" 2>&1 >/dev/null; then
echo "You already have a \"${NAGIOSGROUP}\" group, so I will use it."
else
echo "You need a \"${NAGIOSGROUP}\" group."
if yesno "Would you like me to create it" "YES"; then
/usr/sbin/pw groupadd "${NAGIOSGROUP}" -g "${NAGIOSGID}" -h - || \
/usr/sbin/pw groupadd "${NAGIOSGROUP}" -h - || exit
echo "Done."
else
echo "Please create the \"${NAGIOSGROUP}\" group manually and try again."
exit 1
fi
fi
if /usr/sbin/pw user show "${NAGIOSUSER}" 2>&1 >/dev/null; then
echo "You already have a \"${NAGIOSUSER}\" user, so I will use it."
else
echo "You need a \"${NAGIOSUSER}\" user."
if yesno "Would you like me to create it" "YES"; then
/usr/sbin/pw useradd "${NAGIOSUSER}" -u "${NAGIOSUID}" -g "${NAGIOSGROUP}" -h - -d "${NAGIOSDIR}" \
-s /sbin/nologin -c "Nagios pseudo-user" || \
/usr/sbin/pw useradd "${NAGIOSUSER}" -g "${NAGIOSGROUP}" -h - -d "${NAGIOSDIR}" \
-s /sbin/nologin -c "Nagios pseudo-user" || exit
else
echo "Please create the \"${NAGIOSUSER}\" user manually and try again."
exit 1
fi
fi
fi

View File

@ -1,32 +0,0 @@
**********************************************************************
Enable Nagios in /etc/rc.conf with the following line:
nagios_enable="YES"
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%%/%%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%%/%%WWWDIR%%>
Order deny,allow
Deny from all
Allow from 127.0.0.1
php_flag engine on
php_admin_value open_basedir %%PREFIX%%/%%WWWDIR%%/:%%NAGIOSDIR%%/
</Directory>
<Directory %%PREFIX%%/%%WWWDIR%%/cgi-bin>
Options ExecCGI
</Directory>
ScriptAlias %%NAGIOSCGIURL%%/ %%PREFIX%%/%%WWWDIR%%/cgi-bin/
Alias %%NAGIOSHTMURL%%/ %%PREFIX%%/%%WWWDIR%%/
**********************************************************************

View File

@ -1,10 +0,0 @@
Nagios is a host and service monitor designed to inform you of network
problems before your clients, end-users or managers do. The monitoring
daemon runs intermittent checks on hosts and services you specify
using external "plugins" which return status information to Nagios.
When problems are encountered, the daemon can send notifications out
to administrative contacts in a variety of different ways (email,
instant message, SMS, etc.). Current status information, historical
logs, and reports can all be accessed via a web browser.
WWW: http://www.nagios.org/

View File

@ -1,393 +0,0 @@
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
@unexec rmdir %%NAGIOSDIR%%/archives 2>/dev/null || true
@unexec rmdir %%NAGIOSDIR%%/checkresults 2>/dev/null || true
@unexec rmdir %%NAGIOSDIR%%/rw 2>/dev/null || true
@unexec rmdir %%NAGIOSDIR%% 2>/dev/null || true