freebsd-ports/net-mgmt/nagios4/files/pkg-message.in
Mathieu Arnold 3e1a6320c3 Update to 4.0.6
Pet portlint and rclint, cleanup SUB_LIST/PLIST_SUB.

Changelog:	http://www.nagios.org/projects/nagioscore/history/nagios-4-version-history
Sponsored by:	Absolight
2014-05-07 12:56:30 +00:00

32 lines
1.1 KiB
Text

**********************************************************************
Enable Nagios in /etc/rc.conf with the following line:
nagios_enable="YES"
Configuration templates are available in %%ETCDIR%% as
*.cfg-sample files. Copy them to *.cfg files where required and
edit to suit your needs. Documentation is available in HTML form
in %%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 %%NAGIOSWWWDIR%%>
Order deny,allow
Deny from all
Allow from 127.0.0.1
php_flag engine on
php_admin_value open_basedir %%NAGIOSWWWDIR%%/:%%NAGIOSDIR%%/
</Directory>
<Directory %%NAGIOSWWWDIR%%/cgi-bin>
Options ExecCGI
</Directory>
ScriptAlias %%NAGIOSCGIURL%%/ %%NAGIOSWWWDIR%%/cgi-bin/
Alias %%NAGIOSHTMURL%%/ %%NAGIOSWWWDIR%%/
**********************************************************************