Page 1 of 1

Not able to login

Posted: Wed Aug 16, 2017 6:59 am
by progressive.nagiosXI
Hii team,

I have installed nagios NA , it was working fine but after some time when i "m giving login credentials it showing a web page that "The action you have requested is not allowed".

I have restarted services (NagiosNA , mysqld, httpd)

I have cleared cache of my browser.

Please suggest what to do.
as web page is running bcz login page is opening but when i"m giving credentials its giving attached error.

Re: Not able to login

Posted: Wed Aug 16, 2017 11:24 am
by tmcdonald
Do you have any sort of web proxy or firewall in-place that might be modifying or blocking certain requests?

Re: Not able to login

Posted: Wed Aug 16, 2017 11:09 pm
by progressive.nagiosXI
No we don't have any thts why i"m asking help from you

Re: Not able to login

Posted: Thu Aug 17, 2017 12:24 pm
by tgriep
Try this to see if it fixes the error.
Edit this file on the NNA server

Code: Select all

/var/www/html/nagiosna/application/config/config.php
Change the following from (Line 296)

Code: Select all

$config['csrf_protection'] = TRUE;
to

Code: Select all

$config['csrf_protection'] = FALSE;
Save the file and restart Apache by running

Code: Select all

service httpd restart 
Clear your browsers cache and see if you can login to NNA's GUI.