openbsd-ports/net/icinga/core/pkg/icinga.rc
sthen 3dff6b41f2 Import ports/net/icinga (with -I !, so the 'core' directory doesn't
become cvs-food). See the README file for information about migrating
from Nagios with minimal config changes.

The icinga-web API-backed user interface is a work in progress
and not yet linked to the build; the core program and classic web
interface are perfectly usable.

Comments/ok from pea@, thanks for testing!

-- -- --
Icinga monitors network resources such as servers, routers, switches,
applications and services and notifies administrators or responsible
persons. It's a fork of Nagios and supports its extensive pool of
monitoring plug-ins. Current status information, historical logs
and reports can all be accessed via a web browser.
-- -- --
2011-03-28 14:06:06 +00:00

15 lines
246 B
Bash

#!/bin/sh
#
# $OpenBSD: icinga.rc,v 1.1.1.1 2011/03/28 14:06:08 sthen Exp $
daemon="${TRUEPREFIX}/bin/icinga"
daemon_flags="-d ${SYSCONFDIR}/icinga/icinga.cfg"
. /etc/rc.d/rc.subr
rc_pre() {
install -d -o _icinga /var/run/icinga
}
rc_cmd $1