diff options
19 files changed, 993 insertions, 0 deletions
diff --git a/net-mgmt/Makefile b/net-mgmt/Makefile index 4ad02c02b1c3..f83025ef853c 100644 --- a/net-mgmt/Makefile +++ b/net-mgmt/Makefile @@ -95,6 +95,7 @@ SUBDIR += nagcon SUBDIR += nagios SUBDIR += nagios-certexp-plugin + SUBDIR += nagios-devel SUBDIR += nagios-pf-plugin SUBDIR += nagios-plugins SUBDIR += nagios-radauth-plugin diff --git a/net-mgmt/nagios-devel/Makefile b/net-mgmt/nagios-devel/Makefile new file mode 100644 index 000000000000..1d32ff684871 --- /dev/null +++ b/net-mgmt/nagios-devel/Makefile @@ -0,0 +1,117 @@ +# New ports collection makefile for: nagios-devel +# Date created: 14 July 2007 +# Whom: Jarrod Sayers <jarrod@netleader.com.au> +# +# $FreeBSD$ +# + +PORTNAME= nagios +PORTVERSION= 3.0.b2 +CATEGORIES= net-mgmt +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= nagios +DISTNAME= nagios-3.0b2 + +MAINTAINER= jarrod@netleader.com.au +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 + +LATEST_LINK= nagios-devel + +USE_GETOPT_LONG= yes +USE_ICONV= yes +USE_PERL5_BUILD= yes +USE_AUTOTOOLS= autoconf:259 +USE_RC_SUBR= nagios.sh + +CONFLICTS= nagios-[12].* + +OPTIONS= EMBEDDED_PERL "Enable embedded Perl [requires Perl 5.8+]" off \ + NANOSLEEP "Use nanosleep in event timing" off + +GNU_CONFIGURE= yes + +NAGIOSUSER?= nagios +NAGIOSGROUP?= nagios +NAGIOSDIR?= /var/spool/nagios + +NAGIOSUID= 181 +NAGIOSGID= ${NAGIOSUID} + +NAGIOSWWWDIR?= www/nagios +NAGIOSHTMURL?= /nagios +NAGIOSCGIURL?= ${NAGIOSHTMURL}/cgi-bin + +.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=${PREFIX}/${NAGIOSWWWDIR}/cgi-bin \ + --libexecdir=${PREFIX}/libexec/nagios \ + --datadir=${PREFIX}/${NAGIOSWWWDIR} \ + --sysconfdir=${PREFIX}/etc/nagios \ + --localstatedir=${NAGIOSDIR} \ + --with-httpd-conf=${PREFIX}/etc \ + --with-checkresult-dir=${NAGIOSDIR}/checkresults + +CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" \ + CFLAGS="${CFLAGS}" \ + LDFLAGS="${LDFLAGS}" \ + LIBS="-L${LOCALBASE}/lib" \ + PERL=${PERL} + +INSTALL_TARGET= install install-commandmode install-config + +PLIST_SUB= NAGIOSDIR=${NAGIOSDIR} \ + NAGIOSWWWDIR=${NAGIOSWWWDIR} \ + NAGIOSUSER=${NAGIOSUSER} \ + NAGIOSGROUP=${NAGIOSGROUP} \ + NAGIOSUID=${NAGIOSUID} \ + NAGIOSGID=${NAGIOSGID} \ + NAGIOSHTMURL=${NAGIOSHTMURL} \ + NAGIOSCGIURL=${NAGIOSCGIURL} \ + WWWGRP=${WWWGRP} + +SUB_FILES= pkg-install \ + pkg-deinstall \ + pkg-message + +SUB_LIST= PREFIX=${PREFIX} \ + ${PLIST_SUB} + +.if defined(WITH_EMBEDDED_PERL) +.if ${PERL_LEVEL} >= 500800 +USE_PERL5= yes +CONFIGURE_ARGS+= --enable-embedded-perl \ + --with-perlcache +.else +IGNORE= embedded Perl requires Perl 5.8 or higher (see lang/perl5.8) +.endif +PLIST_SUB+= EMBEDDED_PERL="" +.else +PLIST_SUB+= EMBEDDED_PERL="@comment " +.endif + +.if defined(WITH_NANOSLEEP) +CONFIGURE_ARGS+= --enable-nanosleep +.endif + +pre-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> diff --git a/net-mgmt/nagios-devel/distinfo b/net-mgmt/nagios-devel/distinfo new file mode 100644 index 000000000000..888977e9adcf --- /dev/null +++ b/net-mgmt/nagios-devel/distinfo @@ -0,0 +1,3 @@ +MD5 (nagios-3.0b2.tar.gz) = f14036f6464303f51c4cdbaad9ad7301 +SHA256 (nagios-3.0b2.tar.gz) = 123b062df00b7ade4a59e3938e42aecc2f70dda44becaf9cc6f46f28f145cba6 +SIZE (nagios-3.0b2.tar.gz) = 2717645 diff --git a/net-mgmt/nagios-devel/files/nagios.sh.in b/net-mgmt/nagios-devel/files/nagios.sh.in new file mode 100644 index 000000000000..52232e296618 --- /dev/null +++ b/net-mgmt/nagios-devel/files/nagios.sh.in @@ -0,0 +1,70 @@ +#!/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_flags (str): Set to "" by default. +# nagios_configfile (str): Set to "%%PREFIX%%/etc/nagios/nagios.cfg" by default. +# + +. %%RC_SUBR%% + +name="nagios" +rcvar=`set_rcvar` + +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="nagios_checkconfig" +sig_reload=HUP + +[ -z "${nagios_enable}" ] && nagios_enable="NO" +[ -z "${nagios_flags}" ] && nagios_flags="" +[ -z "${nagios_configfile}" ] && nagios_configfile="%%PREFIX%%/etc/nagios/nagios.cfg" + +load_rc_config "${name}" + +required_files="${nagios_configfile}" +command_args="${command_args} ${nagios_configfile}" + +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 +} + +start_precmd() { + if ! nagios_checkconfig; 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" diff --git a/net-mgmt/nagios-devel/files/patch-Makefile.in b/net-mgmt/nagios-devel/files/patch-Makefile.in new file mode 100644 index 000000000000..2cff77df03d0 --- /dev/null +++ b/net-mgmt/nagios-devel/files/patch-Makefile.in @@ -0,0 +1,57 @@ +--- 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 ***" diff --git a/net-mgmt/nagios-devel/files/patch-base__Makefile.in b/net-mgmt/nagios-devel/files/patch-base__Makefile.in new file mode 100644 index 000000000000..ad02dffebc60 --- /dev/null +++ b/net-mgmt/nagios-devel/files/patch-base__Makefile.in @@ -0,0 +1,15 @@ +--- 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@ diff --git a/net-mgmt/nagios-devel/files/patch-cgi__Makefile.in b/net-mgmt/nagios-devel/files/patch-cgi__Makefile.in new file mode 100644 index 000000000000..13a4564e6917 --- /dev/null +++ b/net-mgmt/nagios-devel/files/patch-cgi__Makefile.in @@ -0,0 +1,14 @@ +--- 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: diff --git a/net-mgmt/nagios-devel/files/patch-configure.in b/net-mgmt/nagios-devel/files/patch-configure.in new file mode 100644 index 000000000000..9e9e1fb64393 --- /dev/null +++ b/net-mgmt/nagios-devel/files/patch-configure.in @@ -0,0 +1,31 @@ +--- configure.in.orig Wed Jun 20 08:41:34 2007 ++++ configure.in Fri Jul 20 14:20:13 2007 +@@ -6,7 +6,6 @@ + + AC_INIT(base/nagios.c) + AC_CONFIG_HEADER(include/config.h include/snprintf.h include/nagios.h include/cgiutils.h) +-AC_PREFIX_DEFAULT(/usr/local/nagios) + + PKG_NAME=nagios + PKG_VERSION="3.0a5" +@@ -196,7 +195,7 @@ + AC_SUBST(nagios_grp) + AC_DEFINE_UNQUOTED(DEFAULT_NAGIOS_USER,"$nagios_user") + AC_DEFINE_UNQUOTED(DEFAULT_NAGIOS_GROUP,"$nagios_grp") +-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) +@@ -520,9 +519,9 @@ + fi + + dnl Try and locate glib +-GLIB_INCLUDE=`pkg-config --cflags glib-2.0` ++GLIB_INCLUDE="" + AC_SUBST(GLIB_INCLUDE) +-GLIB_LIBS=`pkg-config --libs glib-2.0` ++GLIB_LIBS="" + AC_SUBST(GLIB_LIBS) + if test x$GLIB_LIBS != x; then + AC_DEFINE_UNQUOTED(HAVE_GLIB) diff --git a/net-mgmt/nagios-devel/files/patch-contrib__Makefile.in b/net-mgmt/nagios-devel/files/patch-contrib__Makefile.in new file mode 100644 index 000000000000..c2554a89294f --- /dev/null +++ b/net-mgmt/nagios-devel/files/patch-contrib__Makefile.in @@ -0,0 +1,17 @@ +--- 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 diff --git a/net-mgmt/nagios-devel/files/patch-html__Makefile.in b/net-mgmt/nagios-devel/files/patch-html__Makefile.in new file mode 100644 index 000000000000..828c25cf0aea --- /dev/null +++ b/net-mgmt/nagios-devel/files/patch-html__Makefile.in @@ -0,0 +1,61 @@ +--- html/Makefile.in.orig Thu Jun 1 05:56:42 2006 ++++ html/Makefile.in Fri Jul 20 13:36:35 2007 +@@ -33,37 +33,37 @@ + 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)/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)/ssi ++ $(INSTALL) -m 644 $(INSTALL_OPTS) robots.txt $(DESTDIR)$(HTMLDIR) ++ $(INSTALL) -m 644 $(INSTALL_OPTS) docs/robots.txt $(DESTDIR)$(HTMLDIR)/docs + for file in *.html; \ +- 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/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 + + install-unstripped: + $(MAKE) install diff --git a/net-mgmt/nagios-devel/files/patch-include__locations.h.in b/net-mgmt/nagios-devel/files/patch-include__locations.h.in new file mode 100644 index 000000000000..a8bffb11bcc0 --- /dev/null +++ b/net-mgmt/nagios-devel/files/patch-include__locations.h.in @@ -0,0 +1,11 @@ +--- 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/" diff --git a/net-mgmt/nagios-devel/files/patch-sample-config__nagios.cfg.in b/net-mgmt/nagios-devel/files/patch-sample-config__nagios.cfg.in new file mode 100644 index 000000000000..0637cf6a8bba --- /dev/null +++ b/net-mgmt/nagios-devel/files/patch-sample-config__nagios.cfg.in @@ -0,0 +1,11 @@ +--- 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 diff --git a/net-mgmt/nagios-devel/files/patch-sample-config__template-object__localhost.cfg.in b/net-mgmt/nagios-devel/files/patch-sample-config__template-object__localhost.cfg.in new file mode 100644 index 000000000000..3a9a5b6cab7c --- /dev/null +++ b/net-mgmt/nagios-devel/files/patch-sample-config__template-object__localhost.cfg.in @@ -0,0 +1,40 @@ +--- 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 + } + + diff --git a/net-mgmt/nagios-devel/files/patch-sample-config__template-object__templates.cfg.in b/net-mgmt/nagios-devel/files/patch-sample-config__template-object__templates.cfg.in new file mode 100644 index 000000000000..280be54aed9b --- /dev/null +++ b/net-mgmt/nagios-devel/files/patch-sample-config__template-object__templates.cfg.in @@ -0,0 +1,26 @@ +--- 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 diff --git a/net-mgmt/nagios-devel/files/pkg-deinstall.in b/net-mgmt/nagios-devel/files/pkg-deinstall.in new file mode 100644 index 000000000000..6b20aa9bc962 --- /dev/null +++ b/net-mgmt/nagios-devel/files/pkg-deinstall.in @@ -0,0 +1,22 @@ +#!/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 diff --git a/net-mgmt/nagios-devel/files/pkg-install.in b/net-mgmt/nagios-devel/files/pkg-install.in new file mode 100644 index 000000000000..f670f79b45ff --- /dev/null +++ b/net-mgmt/nagios-devel/files/pkg-install.in @@ -0,0 +1,74 @@ +#!/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 diff --git a/net-mgmt/nagios-devel/files/pkg-message.in b/net-mgmt/nagios-devel/files/pkg-message.in new file mode 100644 index 000000000000..a6cd7784dae3 --- /dev/null +++ b/net-mgmt/nagios-devel/files/pkg-message.in @@ -0,0 +1,30 @@ +********************************************************************** + + Enable Nagios in /etc/rc.conf with the following line: + + nagios_enable="YES" + + Configuration templates are available in %%PREFIX%%/etc/nagios 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. + + 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%%> + Order deny,allow + Deny from all + Allow from 127.0.0.1 + </Directory> + + <Directory %%PREFIX%%/%%NAGIOSWWWDIR%%/cgi-bin> + Options ExecCGI + </Directory> + + ScriptAlias %%NAGIOSCGIURL%%/ %%PREFIX%%/%%NAGIOSWWWDIR%%/cgi-bin/ + Alias %%NAGIOSHTMURL%%/ %%PREFIX%%/%%NAGIOSWWWDIR%%/ + +********************************************************************** diff --git a/net-mgmt/nagios-devel/pkg-descr b/net-mgmt/nagios-devel/pkg-descr new file mode 100644 index 000000000000..656a529f8828 --- /dev/null +++ b/net-mgmt/nagios-devel/pkg-descr @@ -0,0 +1,10 @@ +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/ diff --git a/net-mgmt/nagios-devel/pkg-plist b/net-mgmt/nagios-devel/pkg-plist new file mode 100644 index 000000000000..3e25cefce741 --- /dev/null +++ b/net-mgmt/nagios-devel/pkg-plist @@ -0,0 +1,383 @@ +@exec mkdir -p %D/%%NAGIOSWWWDIR%%/ssi +@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/statuswrl.cgi +%%NAGIOSWWWDIR%%/cgi-bin/summary.cgi +%%NAGIOSWWWDIR%%/cgi-bin/tac.cgi +%%NAGIOSWWWDIR%%/cgi-bin/trends.cgi +%%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/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/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/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/flapping.gif +%%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.jpg +%%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%%/index.html +%%NAGIOSWWWDIR%%/main.html +%%NAGIOSWWWDIR%%/media/critical.wav +%%NAGIOSWWWDIR%%/media/hostdown.wav +%%NAGIOSWWWDIR%%/media/warning.wav +%%NAGIOSWWWDIR%%/robots.txt +%%NAGIOSWWWDIR%%/side.html +%%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%%/media +@dirrm %%NAGIOSWWWDIR%%/ssi +@dirrm %%NAGIOSWWWDIR%%/stylesheets +@dirrmtry %%NAGIOSWWWDIR%% +@dirrmtry %%NAGIOSDIR%%/archives +@dirrmtry %%NAGIOSDIR%%/checkresults +@dirrmtry %%NAGIOSDIR%%/rw +@dirrmtry %%NAGIOSDIR%% |