aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/nagios2/files/pkg-message.in
blob: a6cd7784dae3a2c7a428d2a496b1942516a2eac7 (plain) (blame)
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
**********************************************************************

 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%%/

**********************************************************************