Verisign stuff
This commit is contained in:
34
net-mgmt/nagios/files/pkg-message.in
Normal file
34
net-mgmt/nagios/files/pkg-message.in
Normal file
@ -0,0 +1,34 @@
|
||||
[
|
||||
{
|
||||
message: <<EOT
|
||||
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.
|
||||
|
||||
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
|
||||
php_flag engine on
|
||||
php_admin_value open_basedir %%PREFIX%%/%%NAGIOSWWWDIR%%/:%%NAGIOSDIR%%/
|
||||
</Directory>
|
||||
|
||||
<Directory %%PREFIX%%/%%NAGIOSWWWDIR%%/cgi-bin>
|
||||
Options ExecCGI
|
||||
</Directory>
|
||||
|
||||
ScriptAlias %%NAGIOSCGIURL%%/ %%PREFIX%%/%%NAGIOSWWWDIR%%/cgi-bin/
|
||||
Alias %%NAGIOSHTMURL%%/ %%PREFIX%%/%%NAGIOSWWWDIR%%/
|
||||
EOT
|
||||
type: install
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user