freebsd-ports/net-mgmt/pnp/files/pkg-message.in
Martin Wilke d2d864e543 - Update to 0.4.12
PR:		129912
Submitted by:	Eygene Ryabinkin <rea-fbsd@codelabs.ru> (maintainer)
2008-12-25 00:32:12 +00:00

60 lines
1.5 KiB
Text

========================================================================
You just installed/upgraded PNP graphing tool for Nagios.
For tool configuration tasks read
http://www.pnp4nagios.org/pnp/config
For Web-frontend configuration tasks read
http://www.pnp4nagios.org/pnp/webfe
We recommend to start with the following restrictive Apache
configuration for the PNP area:
<Directory "%%WWWDIR%%/">
Order deny,allow
Allow from all
Deny from all
DirectoryIndex index.php
AddHandler application/x-httpd-php .php
</Directory>
<Directory "%%WWWDIR%%/include/">
Options None
Order allow,deny
Deny from all
<FilesMatch ".css$">
Order deny,allow
Allow from all
Deny from all
</FilesMatch>
</Directory>
<Directory "%%WWWDIR%%/include/js/">
Order deny,allow
Allow from all
Deny from all
</Directory>
<Directory "%%WWWDIR%%/lang/">
Order allow,deny
Deny from all
</Directory>
<Directory "%%WWWDIR%%/templates/">
Order allow,deny
Deny from all
</Directory>
<Directory "%%WWWDIR%%/templates.dist/">
Order allow,deny
Deny from all
</Directory>
Please, note that user who runs Apache processes should be able to
read PNP RRD spool files from
%%PNP_RRDS%%
so you should tune path permissions accordingly. Probably one could
start from adding Apache user to the group '%%NAGIOSGROUP%%'.
Remember to restart NPCD service after upgrade if you're using
'bulk' mode with NPCD.
========================================================================