HTTP CGI authentication?



I just setup Nagios in CentOS 5. I was using instruction from here … -centos-5/. Everything seems to be working fine except when I login to Nagios web interface and go to Hosts menu, I got an error that said “It appears as though you do not have permission to view information for any of the hosts you requested… If you believe this is an error, check the HTTP server authentication requirements for accessing this CGI and check the authorization options in your CGI configuration file.”

Any suggestions what I should check? Thanks in advance!


Look in cgi.cfg for lines which start with “authorized_for_ …”.
The web user (nagiosadmin) you use to log into Nagios must be there.
If it is there make sure that your htpasswd.users also has an entry for this user
and that this file is used inside the apache configuration.