Digest not working?
-
- Posts: 2
- Joined: Wed Jun 16, 2010 12:16 pm
Digest not working?
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?
-
- Posts: 2
- Joined: Wed Jun 16, 2010 12:16 pm
Re: Digest not working?
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.
$ 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.
-
- Posts: 1128
- Joined: Wed Mar 03, 2010 12:38 pm
- Location: St. Paul, MN, USA
- Contact:
Re: Digest not working?
To clarify, that error is in your Apache logs, not the Nagios logs, correct?
-
- Posts: 1128
- Joined: Wed Mar 03, 2010 12:38 pm
- Location: St. Paul, MN, USA
- Contact:
Re: Digest not working?
I assume you're following it already, but in case not, http://httpd.apache.org/docs/2.2/mod/mo ... igest.html