In Nagios Fusion 2012R1.5, I'm using session based authentication on all Nagios XI fused servers.
I've noticed if Fusion is left open in a browser for more than an hour and then you try clicking on a monitored element, you'll get the login screen for that Nagios XI server.
I assume this is attributed to a time-out, as normal behavior would be to have the session just pass-through. Anyone else experience this or know how to keep alive?
Time-out issue.
Time-out issue.
Nagios XI 2024R2.2.1 (8 Servers)
Nagios Fusion 2024R1.0.2
Nagios Fusion 2024R1.0.2
Re: Time-out issue.
There is a setting you can modify in /etc/php.ini
This is an amount of time in seconds (10800 seconds = 3 hours), set as you wish.
Then restart httpd:
Code: Select all
session.gc_maxlifetime = 10800Then restart httpd:
Code: Select all
service httpd restartFormer Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: Time-out issue.
Thank you. Any recommendations for a 24/7 NOC environment where it would be best to stay logged in?
Nagios XI 2024R2.2.1 (8 Servers)
Nagios Fusion 2024R1.0.2
Nagios Fusion 2024R1.0.2
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: Time-out issue.
Altering the same session.gc_maxlifetime value to 0 should keep until the browser is closed.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
Re: Time-out issue.
This is to be done on the Fusion server, XI servers or all?sreinhardt wrote:Altering the same session.gc_maxlifetime value to 0 should keep until the browser is closed.
Nagios XI 2024R2.2.1 (8 Servers)
Nagios Fusion 2024R1.0.2
Nagios Fusion 2024R1.0.2
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: Time-out issue.
You could certainly do both, however if I recall correctly fusion uses the session from XI to passthrough without authentication when you click a link. So just XI systems should be enough. However the same principal of locking you out of fusion may happen at some point.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
Re: Time-out issue.
The solution suggested did not work. Applied to Fusion and all XI servers.
After leaving Fusion open for 12+ hours in tactical overview, clicking on any XI server still brings up the corresponding login page. Any other ideas?
After leaving Fusion open for 12+ hours in tactical overview, clicking on any XI server still brings up the corresponding login page. Any other ideas?
Nagios XI 2024R2.2.1 (8 Servers)
Nagios Fusion 2024R1.0.2
Nagios Fusion 2024R1.0.2
Re: Time-out issue.
As long as the server passwords in "server credentials" are correct, you should never have to log in to an XI box when clicking through from fusion. What versions of XI servers are you running?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: Time-out issue.
You're right, but after an hour the experience is as described above.
Nagios Fusion 2012R1.5
Nagios XI 2012R1.8
Nagios Fusion 2012R1.5
Nagios XI 2012R1.8
abrist wrote:As long as the server passwords in "server credentials" are correct, you should never have to log in to an XI box when clicking through from fusion. What versions of XI servers are you running?
Nagios XI 2024R2.2.1 (8 Servers)
Nagios Fusion 2024R1.0.2
Nagios Fusion 2024R1.0.2
Re: Time-out issue.
You are right as well. After an hour, the XI links will take me to a login page. Though curiously, if I click once on some other link somewhere in the fusion interface like configure etc. and then click one of the XI links, it works. Seems like a fusion session-related bug. Are you able to reproduce/experience this behavior on your fusion box as well?TBT wrote:You're right, but after an hour the experience is as described above.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.