Public feed #723991

Stuff

public text v1 · immutable
Raw Edit
·published 2007-10-03 06:49 UTC
rendered paste body
*** Sample config file installed ***

Remember, these are *SAMPLE* config files.  You'll need to read
the documentation for more information on how to actually define
services, hosts, etc. to fit your particular needs.

If you have questions about configuring Nagios properly, please:
       - Look at the sample config files
       - Read the HTML documentation
       - Read the FAQs online at http://www.nagios.org/faqs
*BEFORE* you post a question to one of the mailing lists.

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

 Enable nagios in /etc/rc.conf with the following line:

   nagios_enable="YES"

 Configuration templates are available in /usr/local/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 /usr/local/www/nagios/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 /usr/local/www/nagios>
     Order allow,deny
     Allow from all
   </Directory>

   <Directory /usr/local/www/nagios/cgi-bin>
     Options ExecCGI
   </Directory>

  ScriptAlias /nagios/cgi-bin/ /usr/local/www/nagios/cgi-bin/
  Alias /nagios/  /usr/local/www/nagios/

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

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

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