Page 1 of 1

Monitoring URLS - Your session has timed out - only 18 hours

Posted: Thu Aug 16, 2018 3:14 am
by Tune
Hey Nagios

I am running one Nagios XI 5.5.2 on Centos 6.8
And I have the following problem, a newly created user get "Your session has timed out" after only 18 hours of running.

The URL I am using is
http://(IP and URL)/nagiosxi/includes/components/nocscreen/noc.php?hostgroup=Routers+A-D&state=4&username=auser&ticket=YesIhaveCheckedtheIDmanytimes

This also happens with exsisting users, and I have tried 8 diffrent computers and some where freshly installed.
This error persist after a server reboot.

I have tried in
Admin - System Config - System settings - "Backward Compatibilty" I have set it to yes, allow insecure logins
Admin - System Config - System settings - "Security"/Page Security Settings (Disable)
Renewed the ID.

None of these seems to fix the error.
How do I fix this?

Re: Monitoring URLS - Your session has timed out - only 18 h

Posted: Thu Aug 16, 2018 9:17 am
by scottwilkerson
What is the session timeout set to ?

Admin - System Config -> System settings - "Security" -> Session Cookie Settings

Re: Monitoring URLS - Your session has timed out - only 18 h

Posted: Fri Aug 17, 2018 2:26 am
by Tune
The keep alive has been set to true, changed it to false, changed it to true again

Session timeout 30 min

I have changed the 30 min to 31 min and back to 30 min

Re: Monitoring URLS - Your session has timed out - only 18 h

Posted: Fri Aug 17, 2018 2:46 am
by Tune
On the two Windows 10 machines 1803, I created a new local user, gave admin rigths and it is still the same.

It does not matter that I use a new nagios 5.5.2 user, with a new windows profile or the old.
Somehow Nagios/Centos 6.8 is remebering the PC and will not release whatever that is holding.

I have even kept the machines shutdown for more than 31 min, still the same result

Your session has timed out.

Re: Monitoring URLS - Your session has timed out - only 18 h

Posted: Fri Aug 17, 2018 2:48 am
by Tune
If I try a new PC, then it displays the Nagios XI Operations Center page it as it should.

So something have changed after I did the above.

Re: Monitoring URLS - Your session has timed out - only 18 h

Posted: Fri Aug 17, 2018 7:05 am
by Tune
It does not work.

When I close the browser, the PHP Session file does not get deleted.
If I delete it manual, it recreates them, but the result is the same.

I uploaded a picture.

Re: Monitoring URLS - Your session has timed out - only 18 h

Posted: Fri Aug 17, 2018 7:08 am
by Tune
The content of the file shown is
language|s:5:"en_US";

Re: Monitoring URLS - Your session has timed out - only 18 h

Posted: Fri Aug 17, 2018 7:57 am
by scottwilkerson
Locking thread, moving to new opened ticket

Re: Monitoring URLS - Your session has timed out - only 18 h

Posted: Fri Aug 17, 2018 1:07 pm
by jomann
Some URLs do not redirect to the login page. The username/ticket does not authenticate anymore. You need to use the auth tokens (you can read about them in the help section) or turn on insecure login from the Admin > System Settings > Backward Compatability tab and check the box. Then go to your profile page, check the box to use the insecure login ticket given on that page.