Page 1 of 1

Error in Nagios log

Posted: Tue Apr 09, 2013 8:44 am
by devilsguest
What happens if I see an error in Nagios.log. This is what the error is saying
No such file or directory: Could not open password file: /usr/local/etc/nagios/htpasswd.users
.Do you think it's just the same error in apache that is sending to nagios.log after a little config changes?

Re: Error in Nagios log

Posted: Tue Apr 09, 2013 10:01 am
by abrist
Have you created the file yet?

Code: Select all

htpasswd -c /usr/local/nagios/etc/htpasswd.users nagiosadmin
ls -l /usr/local/nagios/etc/htpasswd.users
Make it available for the user who runs httpd.

Code: Select all

chmod o+r /usr/local/nagios/etc/htpasswd.users
Restart the httpd service.

Code: Select all

service httpd restart