Nagios
From Notes
Login Name Not Shown
If the 'Logged in as guest' message is displayed and you have authentication configured with a username visible in the logs, the most likely culprit is that the cgi configuration is not properly setup. Here is how I recommend setting it up:
This assumes CentOS 4.4 with Apache 2.0.59 and Nagios 2.9.
1. Update /etc/httpd/conf.d/nagios.conf, changing the following line:
ScriptAlias /cgi-bin "/usr/lib/nagios/cgi"
...to this:
ScriptAlias /nagios/cgi-bin "/usr/lib/nagios/cgi"
2. Update /usr/share/nagios/side.html, running the following sed command to change the cgi-bin location:
sed -i 's/\/cgi-bin/\/nagios\/cgi-bin/g' side.html
3. Restart apache:
/etc/init.d/httpd restart
check_http Returns 403 Forbidden
If you receive a 403 Forbidden when using check_http with Nagios, the most likely culprit is that you dont have an index.html or other default page in /var/www/html. Simply creating an empty index.html will fix the issue.
