Digest not working?

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
stwilson74
Posts: 2
Joined: Wed Jun 16, 2010 12:16 pm

Digest not working?

Post 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?
stwilson74
Posts: 2
Joined: Wed Jun 16, 2010 12:16 pm

Re: Digest not working?

Post 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.
tonyyarusso
Posts: 1128
Joined: Wed Mar 03, 2010 12:38 pm
Location: St. Paul, MN, USA
Contact:

Re: Digest not working?

Post by tonyyarusso »

To clarify, that error is in your Apache logs, not the Nagios logs, correct?
Tony Yarusso
Technical Services
___
TIES
Web: http://ties.k12.mn.us/
tonyyarusso
Posts: 1128
Joined: Wed Mar 03, 2010 12:38 pm
Location: St. Paul, MN, USA
Contact:

Re: Digest not working?

Post by tonyyarusso »

I assume you're following it already, but in case not, http://httpd.apache.org/docs/2.2/mod/mo ... igest.html
Tony Yarusso
Technical Services
___
TIES
Web: http://ties.k12.mn.us/
Locked