Session time out

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
oz123
Posts: 42
Joined: Thu Jun 09, 2011 10:21 am

Session time out

Post by oz123 »

Hi,

Is there a way to configure the session timeout/idle timeout for my http://myserver connection ?

Thanks
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Session time out

Post by scottwilkerson »

What version of XI are you using?
Is it a VM or source install?
Is the date correct on the XI server?

http://support.nagios.com/wiki/index.ph ... _To_Itself
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
oz123
Posts: 42
Joined: Thu Jun 09, 2011 10:21 am

Re: Session time out

Post by oz123 »

Hi,

It's Nagios XI 2011R1.6 virtual machine.
the XI server time is sync and GMT. I'm using UTC+2 time zone station to connect to it.
Almost every morning when I arrive to work I see "your session has timed out".

Thanks
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Session time out

Post by scottwilkerson »

No way that I know of to change that, it basically only expires if it doesn't (or cannot) make an update for 30 minutes.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
oz123
Posts: 42
Joined: Thu Jun 09, 2011 10:21 am

Re: Session time out

Post by oz123 »

Where can I see that 30 min interval ?
Because my session is idle during the day for more then 30 min and it's not disconnected.
It's disconnect only during the night when idle for more time.

Thanks
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Session time out

Post by scottwilkerson »

There is a setting you can modify in /etc/php.ini

Code: Select all

session.gc_maxlifetime = 1440
this is an amount of time in seconds.

then

Code: Select all

service httpd restart
During the day you may have a screen open that is running ajax calls on the website which would reset the time.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
oz123
Posts: 42
Joined: Thu Jun 09, 2011 10:21 am

Re: Session time out

Post by oz123 »

Thank you, I'll check it out
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Session time out

Post by scottwilkerson »

No problem, that should do it.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked