Calling all Nagios expets!
New install - on SLES 9, Nagios version 2.0rc2
I have followed all the instructions from the documentation. When I go to web browser, I get:
-----------------
Forbidden
You don't have permission to access /nagios/ on this server
-----------------
from /var/log/httpd/error_log:
[Wed Jan 25 15:42:15 2006] [notice] Apache/1.3.29 (Linux/SUSE) configured -- resuming normal operations
[Wed Jan 25 15:42:15 2006] [notice] Accept mutex: sysvsem (Default: sysvsem)
[Wed Jan 25 15:43:05 2006] [error] [client 10.0.100.92] Directory index forbidden by rule: /usr/local/nagios/share/
[Wed Jan 25 15:52:06 2006] [error] [client 10.0.100.92] Directory index forbidden by rule: /usr/local/nagios/share/
[Wed Jan 25 16:41:09 2006] [error] [client 10.0.100.92] Directory index forbidden by rule: /usr/local/nagios/share
--------------------------------
A few things stick out at me. Why do I not have the .cfg files in the /usr/local/nagios/etc directory? i.e cgi.cfg, nagios.cfg. I only have all the samples i.e. cfg.cgi-sample, etc.
Here's the aliases from /etc/httpd/httpd.conf
ScriptAlias /nagios/cgi-bin "/usr/local/nagios/sbin"
<Directory "/usr/local/nagios/sbin">
# SSLRequireSSL
Options ExecCGI
AllowOverride AuthConfig
Order allow,deny
Allow from all
# Order deny,allow
# Deny from all
# Allow from 127.0.0.1
AuthName "Nagios Access"
AuthType Basic
AuthUserFile /usr/local/nagios/etc/htpasswd.users
Require valid-user
</Directory>
Alias /nagios/ "/usr/local/nagios/share"
<Directory "/usr/local/nagios/share">
# SSLRequireSSL
Options None
AllowOverride AuthConfig
Order allow,deny
Allow from all
# Order deny,allow
# Deny from all
# Allow from 127.0.0.1
AuthName "Nagios Access"
AuthType Basic
AuthUserFile /usr/local/nagios/etc/htpasswd.users
Require valid-user
</Directory>
--------------------------
I don't know what else to look at! thanks
|