summaryrefslogtreecommitdiffstats
path: root/net-mgmt/nagios2/files/pkg-message.in
blob: 41b08b6bcc6719f1033b610f203cb4e3aedb9047 (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
36
**********************************************************************

 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 then 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 (modification of allow list encouraged):

   <Directory %%PREFIX%%/%%NAGIOSWWWDIR%%>
     Order allow,deny
     Allow from all
   </Directory>

   <Directory %%PREFIX%%/%%NAGIOSWWWDIR%%/cgi-bin>
     Options ExecCGI
   </Directory>

  ScriptAlias %%NAGIOSCGIURL%%/ %%PREFIX%%/%%NAGIOSWWWDIR%%/cgi-bin/
  Alias %%NAGIOSHTMURL%%/  %%PREFIX%%/%%NAGIOSWWWDIR%%/

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

 Users experiencing troubles with logos used in the Status Map CGI
 should first check the value of the physical_html_path variable
 defined in %%PREFIX%%/etc/nagios/cgi.cfg.  Refer to the example in
 %%PREFIX%%/etc/nagios/cgi.cfg-sample for the correct value.

**********************************************************************
OpenPOWER on IntegriCloud