I've the follow config to apache 2:
<Directory "/usr/local/nagios/sbin">
Options ExecCGI
AllowOverride None
Order allow,deny
Allow from all
AuthName "Nagios Access"
AuthType Basic
AuthUserFile /usr/local/nagios/etc/htpasswd
Require valid-user
</Directory>
Alias /nagios /usr/local/nagios/share
<Directory "/usr/local/nagios/share">
Options None
AllowOverride None
Order allow,deny
Allow from all
AuthName "Nagios Access"
AuthType Basic
AuthUserFile /usr/local/nagios/etc/htpasswd
Require valid-user
</Directory>
but in my web browser I get a error if I open a nagios function:
by example:
Service Detail <http://192.168.2.2/nagios/cgi-bin/status.cgi?host=all>
The requested URL /nagios/cgi-bin/status.cgi was not found on this server.
Trends <http://192.168.2.2/nagios/cgi-bin/trends.cgi>
The requested URL /nagios/cgi-bin/trends.cgi was not found on this server.
What's correct file configuration to nagios 3?
r...@darkstar:~# ls /usr/local/nagios/
bin/ nagios-3.0.6/ nagios-plugins-1.4.13.tar.gz* var/
etc/ nagios-3.0.6.tar.gz* sbin/
libexec/ nagios-plugins-1.4.13/ share/
--
-t-
------------------------------------------------------------------------------
_______________________________________________
Nagios-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting
any issue.
::: Messages without supporting info will risk being sent to /dev/null