summaryrefslogtreecommitdiff
blob: 1a2a474710d2102913d5d54caa607cb3237e71d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagios/nagios-1.0_beta6.ebuild,v 1.3 2002/11/19 08:53:07 alron Exp $

DESCRIPTION="Nagios $PV - merge this to pull install all of the nagios packages"
HOMEPAGE="http://www.nagios.org/"
RDEPEND=`echo ~net-analyzer/nagios-{core-1.0_beta6,plugins-1.3_beta1,nrpe-1.5,nsca-2.1,imagepack-1.0}`

SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~x86"
pkg_postinst() {
	einfo
	einfo "Remember to edit the config files in /etc/nagios"
	einfo "Also, if you want nagios to start at boot time"
	einfo "remember to execute rc-update add nagios default"
	einfo
	einfo "To have nagios visable on the web, please do the following:"
	einfo "1. Execute the command:"
	einfo " \"ebuild /var/db/pkg/net-misc/nagios-core-${PV}/nagios-core-${PF}.ebuild config\""
	einfo " 2. Edit /etc/conf.d/apache and add \"-D NAGIOS\""
	einfo
	einfo "That will make nagios's web front end visable via"
	einfo "http://localhost/nagios/"
	einfo
	einfo "The Apache config file for nagios will be in"
	einfo "/etc/apache/conf/addon-modules/ with the name of"
	einfo "nagios.conf."
	einfo "Also, if your kernel has /proc protection, nagios"
	einfo "will not be happy as it relies on accessing the proc"
	einfo "filesystem."
	einfo
}