Error in Nagios log

Engage with the community of users including those using the open source solutions.
Includes Nagios Core, Plugins, and NCPA

Error in Nagios log

Postby devilsguest » Tue Apr 09, 2013 8:44 am

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?
devilsguest
 
Posts: 76
Joined: Wed Mar 20, 2013 7:15 pm
Location: New York

Re: Error in Nagios log

Postby abrist » Tue Apr 09, 2013 10:01 am

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
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
abrist
Red Shirt
 
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm


Return to Community Support

Who is online

Users browsing this forum: Majestic-12 [Bot] and 26 guests