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

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
Tune
Posts: 15
Joined: Wed Nov 02, 2016 9:53 am

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

Post 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?
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

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

Post by scottwilkerson »

What is the session timeout set to ?

Admin - System Config -> System settings - "Security" -> Session Cookie Settings
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Tune
Posts: 15
Joined: Wed Nov 02, 2016 9:53 am

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

Post 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
Tune
Posts: 15
Joined: Wed Nov 02, 2016 9:53 am

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

Post 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.
Tune
Posts: 15
Joined: Wed Nov 02, 2016 9:53 am

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

Post 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.
Tune
Posts: 15
Joined: Wed Nov 02, 2016 9:53 am

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

Post 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.
You do not have the required permissions to view the files attached to this post.
Tune
Posts: 15
Joined: Wed Nov 02, 2016 9:53 am

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

Post by Tune »

The content of the file shown is
language|s:5:"en_US";
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

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

Post by scottwilkerson »

Locking thread, moving to new opened ticket
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
jomann
Development Lead
Posts: 611
Joined: Mon Apr 22, 2013 10:06 am
Location: Nagios Enterprises

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

Post 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.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked