Page 1 of 1

How do I stop login timeouts ?

Posted: Tue Jun 03, 2014 11:26 am
by vijilants
System :Centos 6.4
Nagios XI 2012R2.9


Hi,

We have a view of our Nagios system on a control room screen, rotating views.

However the login keeps timing out.

Can you please advise on how e can keep this session permanently running as this tool forms part of our permanent network monitoring ?

Many Thanks

Vij

Re: How do I stop login timeouts ?

Posted: Tue Jun 03, 2014 3:58 pm
by lmiltchev
There is an entry in the "/etc/php.ini" that you can modify, in order to increase the session timeout. The default setting is 1440 seconds.

Code: Select all

session.gc_maxlifetime = 1440
After modifying, restart apache:

Code: Select all

service httpd restart
I don't believe this will entirely solve your issue as after a while, your browser will probably cause the session to time out.
You may try to include one of the Nagios XI pages as one of the views (if you haven't done this already). This may help extend the time before it times out.

Re: How do I stop login timeouts ?

Posted: Wed Jun 04, 2014 2:45 am
by vijilants
Thanks for the reply.

Sorry, but what do you mean by
You may try to include one of the Nagios XI pages as one of the views (if you haven't done this already).
The screen at present scrolls through various pages on the system. Do you mean one of your internet web pages ? If so how do I set that up in views ?

I presume that people use this application in a NOC environment on large screens so would it not be an idea to provide this facility as part of the functionality ?

Re: How do I stop login timeouts ?

Posted: Wed Jun 04, 2014 9:20 am
by slansing
I believe lmiltchev was talking about setting pages in XI as views, to do this, click the "Get permalink icon" in the top right of the main menu bar in XI, this will grab the URL of the page, then paste this into a new view. Views > Add New View.