cgi auth problems on Nagios
Anyone else having problems getting Nagios cgi scripts to run on Debian
Unstable? I installed it months ago and had it running fine. But I
just checked in on it for the first time in a week or two and now I
can't get any of my host monitoring stuff to display.
I get the message:
"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."
No matter what I've tried, I can't get around this, whether I enable or
disable authentication. Anyone know if the newest deb package for
Nagios is broken?
I currently have authentication turned on. It appears to be working
fine, as I am requested to log in with the nagiosadmin account when
first accessing the web site. But then, any link that accesses
status.cgi (and some others) come back with the above message.
I don't think its an apache issue. I created my own test.cgi and put it
in the same directory as the nagios scripts and that works fine. I've
checked and rechecked that I don't have any typos in the various cfg
files that require a username to access certain nagios cgi's.
Curiously, this debugger script works. It dumps to my console a
properly formatted html page with all my host info in place. If I leave
out the REMOTE_USER variable, then I get the auth error as before, so it
appears that all the htpasswd stuff is properly in place.
export REQUEST_METHOD REMOTE_USER
Any ideas? Nothing changed between when it was working and when it
broke, except possibly a debian package upgrade.
ii apache 1.3.31-3
ii nagios-mysql 1.2-3.5