Hello Nagios Support,
Not a breaking problem, but wanted to mention this in case it requires a potential bugfix.
I am getting an error that I usually run into each morning when I go to log into my XI instances. If I had an open login session to an XI instance, and that session times out, I click the "Logout" button in the upper right corner of the screen. This generates the full-white-screen "NSP: Sorry Dave..." message. I usually have to trim the URL back in the browser to the ~nagiosxi/login.php level, and reload the page. (This is from something like login.php?logout?nsp=<long string of hex / session id>)
I only seem to experience the session timeouts when do the following: I access XI instances in my browser - put my laptop to sleep - wake it up ~14 hours later - then go to access my XI instances again.
I find hitting the Home button works best for XI instances without guest access enabled, as it quickly brings you to the Login page. (This is what I would expect to happen when hitting the Logout button...)
However, one XI instance has guest access and hitting the Home button logs me in as guest... where I then have to logout, then log back in again as myself so I can have my admin privileges. I had a complaint about this process from other XI admins.
If there is something I can do to work around this easier, please let me know...
Thanks!
-marc
Error when clicking "logout" after login session times out.
-
npolovenko
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: Error when clicking "logout" after login session times o
Hello, @yo_marc. I was told by the Devs that this will be fixed in XI 5.5 version which is going to be released soon. In a meantime, you could increase the session expiration time in /etc/php.ini file. Change this line:
The value is in seconds. The biggest value I've seen so far was 1 year. That should be more than enough.
Code: Select all
session.gc_maxlifetime = 1440Code: Select all
session.gc_maxlifetime = 31536000As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Error when clicking "logout" after login session times o
NIce -- Glad to hear its in the works, and thanks for the workaround too!
-
npolovenko
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: Error when clicking "logout" after login session times o
@yo_marc, Not a problem! I'll lock this thread but you could keep an eye on the changelog here:
https://assets.nagios.com/downloads/nag ... NGES-5.TXT
https://assets.nagios.com/downloads/nag ... NGES-5.TXT
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.