i installed last version of Nagios following the official documentation (http://nagios.sourceforge.net/docs/nagi ... edora.html) but i have a problem with authentication, when connect with http://myhost/nagios i have this error:
It appears as though you do not have permission to view information for any of the services you requested...
And at the top of page: Logged in as ?
/etc/httpd/conf.d/nagios.conf:
Code: Select all
ScriptAlias /nagios/cgi-bin "/usr/local/nagios/sbin"
<Directory "/usr/local/nagios/sbin">
# SSLRequireSSL
Options ExecCGI
AllowOverride None
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 None
Order allow,deny
Allow from all
# Order deny,allow
# Deny from all
# Allow from 127.0.0.1
AuthName "Nagios Access"
AuthType BasicCode: Select all
AuthName "Nagios Access"
AuthType Basic
AuthUserFile /usr/local/nagios/etc/htpasswd.users
require valid-userCode: Select all
use_authentication=1Any ideas?