Apache config to Nagios 3
Hugo Canalli
hugocanalli at gmail.com
Wed Dec 31 15:12:41 CET 2008
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?
root at 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-
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20081231/93e87350/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
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
More information about the Users
mailing list