Nagios seems to work flawlessly, but since some time, I always have "Logged in as ?" in the upper left corner.
I don't remember, what I changed, when this behavior started to show.
I googled all over the net and the common solution seems to be to add a .htaccess into the cgi-bin directory:
Code: Select all
/usr/lib/cgi-bin/nagios3# cat .htaccess
<Directory "/usr/lib/cgi-bin/nagios3">
AuthName "Nagios Access"
AuthType Basic
AuthUserFile /etc/nagios3/htpasswd.users
require valid-user
</Directory>
How could I debug the problem?
Btw, the most important CGI values:
Code: Select all
#default_user_name=guest
authorized_for_system_information=nagiosadmin
authorized_for_configuration_information=nagiosadmin
authorized_for_system_commands=nagiosadmin
authorized_for_all_services=nagiosadmin
authorized_for_all_hosts=nagiosadmin
authorized_for_all_service_commands=nagiosadmin
authorized_for_all_host_commands=nagiosadmin
authorized_for_read_only=test
use_authentication=0
use_ssl_authentication=1
Thanks for any help