f470163348
Icinga is a program that will monitor hosts and services on your network. It has the ability to email or page you when a problem arises and when it gets resolved. Icinga is written in C and is designed to run under Linux, although it should work under most other *NIX variants. It can run either as a normal process or as a daemon, intermittently running checks on various services that you specify. The actual service checks are performed by external "plugins" which return service information to Icinga. Several CGI programs are included with Icinga in order to allow you to view the current service status, history, etc. via a web browser. This package provides the core Icinga infrastructure and web pages. Icinga is a fork of Nagios (net/nagios-base) and Icinga uses Nagios's plugins (net/nagios-plugins).
33 lines
877 B
Makefile
33 lines
877 B
Makefile
# $NetBSD: Makefile.common,v 1.1 2013/03/02 04:08:27 ryoon Exp $
|
|
#
|
|
# used by net/icinga-base/Makefile
|
|
|
|
# The following variables can be override in mk.conf.
|
|
ICINGA_GROUP?= icinga
|
|
ICINGA_USER?= icinga
|
|
ICINGACMD_GROUP?= ${APACHE_GROUP}
|
|
ICINGADIR?= ${VARBASE}/spool/icinga
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
PKG_GROUPS_VARS+= ICINGA_GROUP ICINGACMD_GROUP
|
|
PKG_USERS_VARS+= ICINGA_USER
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_TOOLS+= autoconf gmake
|
|
|
|
PKG_SYSCONFSUBDIR= icinga
|
|
|
|
CONFIGURE_ARGS+= --libexecdir=${PREFIX}/libexec/nagios
|
|
CONFIGURE_ARGS+= --datadir=${PREFIX}/share/icinga
|
|
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
|
|
CONFIGURE_ARGS+= --localstatedir=${ICINGADIR}
|
|
CONFIGURE_ARGS+= --with-cgi-log-dir=${PREFIX}/share/icinga/log
|
|
|
|
CONFIGURE_ARGS+= --with-cgiurl=/icinga/cgi-bin
|
|
CONFIGURE_ARGS+= --with-htmurl=/icinga
|
|
|
|
BUILD_DEFS+= ICINGADIR
|
|
|
|
pre-configure:
|
|
cd ${WRKSRC} && autoconf
|