Page 1 of 1

disabling authenticatioin

Posted: Thu Jan 15, 2015 3:56 pm
by jssingh
I realize this makes me "stubborn and want to invite trouble" but I want to disable authentication for the nagios GUI. In cgi.cfg I set

Code: Select all

use_authentication=0
and

Code: Select all

default_user_name=nagiosadmin
and two days ago it was working fine. Today I'm getting the "Sorry, Dave" message again. It says I'm logged in as nagiosadmin. I can't think of anything I changed in the last 2 days that would have affected this. Any ideas?

Re: disabling authenticatioin

Posted: Thu Jan 15, 2015 4:02 pm
by rhassing
Did you think about changing the apache config file?
It normally requires a valid user as well.

Re: disabling authenticatioin

Posted: Thu Jan 15, 2015 4:07 pm
by jssingh
yes, I edited the apache file as well. And I double checked, the apache files did not change since the last time this was working.

Re: disabling authenticatioin

Posted: Fri Jan 16, 2015 1:22 pm
by lgroschen
Have a look at the second post in this topic: http://support.nagios.com/forum/viewtop ... =7&t=26686

If you have done each step in the list skip to the next, but verify that the setting is there to double check.

Re: disabling authenticatioin

Posted: Tue Jan 20, 2015 3:41 pm
by jssingh
I double checked everything in that post. It still doesn't work.

Re: disabling authenticatioin

Posted: Tue Jan 20, 2015 3:52 pm
by jssingh
It (finally) occurred to me to copy over the cfgs from the system it was working on and do a diff and figured out what was going on. It's working now.

Re: disabling authenticatioin

Posted: Tue Jan 20, 2015 5:35 pm
by lgroschen
Can you please post exactly what you changed? If it doesn't benefit us it will definitely benefit users looking at this topic.

Re: disabling authenticatioin

Posted: Tue Jan 20, 2015 5:42 pm
by jssingh
I changed

Code: Select all

use_authentication=0
to

Code: Select all

use_authentication=1

Re: disabling authenticatioin

Posted: Tue Jan 20, 2015 6:02 pm
by lgroschen
Thanks!! Re-Locking this.