Installed latest version of nagios (net-analyzer/nagios-3.0.3 and of pnp4 (net-analyzer/pnp4nagios-0.4.1). Could not get the pnp4 initial page (.../nagios/pnp/index.php) to show as per the documentation instructions (http://www.pnp4nagios.org/pnp/verify). The problem is that the Nagios package installs its "web frontend" in /usr/share/nagios/htdocs/ and the pnp4nagios package installs its "web frontend" in /usr/share/pnp/. As a workaround I created a symlink such as: ln -s /usr/share/nagios/htdocs/pnp /usr/share/pnp/ But for the initial page (.../nagios/pnp/index.php) to work "out of the box" the pnp4nagios package should install the "web frontend" in /usr/share/nagios/htdocs/pnp/. Reproducible: Always
Just configure an alias for pnp, for example in /etc/apache2/modules.d/99_nagios3.conf: Alias /nagios/pnp /usr/share/pnp/ <Directory "/usr/share/pnp"> AllowOverride AuthConfig Order allow,deny Allow from all </Directory> Note that this has to be configured *before* the "Alias /nagios". Maybe this hint could be added to postinst, but it would make sense to keep this installed in different directories, as for example one might want to setup a dedicated pnp box.
It is fine like you suggested. Tried it and it works. You should definitely add the hint to postinst.
Fixed in 0.4.12.