Page 1 of 1
Digest not working?
Posted: Wed Jun 16, 2010 12:24 pm
by stwilson74
I set up Nagios on a machine running Ubuntu 10.04 LTS with Apache 2.2.14. I was able to get things up and running and can successfully monitor a server with it running basic auth, but when I switch to digest I am getting "[crit] [client 127.0.0.1] configuration error: couldn't check user. No user file?: /nagios/" I have tried switching from AuthUserFile to AuthDigestFile but that is not correct for this version of Apache and errors on restart of Apache. When I try to load the web page for Nagios with digest on I get a 500 error. Any way to resolve this?
Re: Digest not working?
Posted: Wed Jun 16, 2010 2:28 pm
by stwilson74
Solved my own issue, I am not a Linux guy so maybe this should have been obvious but I didn't see it in the Nagios setup guides. I had to do the following to enable the digest module:
$ sudo ln -s /etc/apache2/mods-available/auth_digest.load /etc/apache2/mods-enabled
$ sudo /etc/init.d/apache2 reload
Now the 500 error is gone and I can use digest authentication.
Re: Digest not working?
Posted: Wed Jun 16, 2010 2:29 pm
by tonyyarusso
To clarify, that error is in your Apache logs, not the Nagios logs, correct?
Re: Digest not working?
Posted: Wed Jun 16, 2010 2:33 pm
by tonyyarusso
I assume you're following it already, but in case not,
http://httpd.apache.org/docs/2.2/mod/mo ... igest.html