inactive session timeout

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
SteveBeauchemin
Posts: 524
Joined: Mon Oct 14, 2013 7:19 pm

inactive session timeout

Post by SteveBeauchemin »

There is a new requirement that has been handed to me, and to all folks here that support applications and tools.
In the Nagios XI tool, after a period of user inactivity, I need to have sessions time out. I need the GUI to stop updating,
and have it return to an authentication screen. If the user wants to continue using Nagios XI they have to put in their credentials again.

At some point I also need 2 factor authentication. These can be 2 different things, unless the same solution does both.

This is a business requirement that all our application support people are being asked to provide for their tools.

Is there any way to do this today in Nagios XI? If not, is there anyone that has any idea how to make Apache / PHP / Nagios do something like this?

Any assistance is appreciated. I am willing to get creative. :shock:

Thanks

Steve B
XI 5.7.3 / Core 4.4.6 / NagVis 1.9.8 / LiveStatus 1.5.0p11 / RRDCached 1.7.0 / Redis 3.2.8 /
SNMPTT / Gearman 0.33-7 / Mod_Gearman 3.0.7 / NLS 2.0.8 / NNA 2.3.1 /
NSClient 0.5.0 / NRPE Solaris 3.2.1 Linux 3.2.1 HPUX 3.2.1
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: inactive session timeout

Post by dwhitfield »

Currently, the issue with php session timeouts is that the AJAX calls reset the session.

The following is in the XI 5.5 roadmap: https://www.nagios.com/roadmaps/
Security improvements and updates
I can get some clarity on that if you like.
SteveBeauchemin
Posts: 524
Joined: Mon Oct 14, 2013 7:19 pm

Re: inactive session timeout

Post by SteveBeauchemin »

Yes Doctor... Please provide a little more information as this is going to be a concern for us in the future.

If the user stops interacting with the Nagios XI GUI for [some configurable setting] such as 25 minutes, can the system log them out and put them back on the login page.
That is basically what we are hoping for. Something like that.

Thanks
Steve B
XI 5.7.3 / Core 4.4.6 / NagVis 1.9.8 / LiveStatus 1.5.0p11 / RRDCached 1.7.0 / Redis 3.2.8 /
SNMPTT / Gearman 0.33-7 / Mod_Gearman 3.0.7 / NLS 2.0.8 / NNA 2.3.1 /
NSClient 0.5.0 / NRPE Solaris 3.2.1 Linux 3.2.1 HPUX 3.2.1
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: inactive session timeout

Post by dwhitfield »

Unfortunately, the devs are not ready to make any public comment on what new security features will be in XI 5.5.

You could probably bake up some sort of two-factor auth into /usr/local/nagiosxi/html/loginsplash.inc.php with the caveat that it will be overwritten on upgrades.

I've been telling people to check back in December about XI 5.5, but of course we all hope it is out before then.
Locked