Page 2 of 2

Re: Nagios XI 5.5.1 - Reports issue

Posted: Tue Jul 17, 2018 9:18 am
by BanditBBS
@jomann - Is this a global issue that anyone in the latest will suffer? We use a ton of scheduled reports, so I'll want to hold off upgrading until resolved if so.

Re: Nagios XI 5.5.1 - Reports issue

Posted: Tue Jul 17, 2018 9:36 am
by jacek
I have this topic subscribed, so I will wait for any updates...

Re: Nagios XI 5.5.1 - Reports issue

Posted: Tue Jul 17, 2018 10:13 am
by jomann
@BanditBBS From what I can tell it seems like only certain pages are affected.

Re: Nagios XI 5.5.1 - Reports issue

Posted: Tue Jul 17, 2018 10:59 am
by jomann
It does only affect certain pages, but I don't know how many. I have a fix if you want to apply it. It will also be in XI 5.5.2.

Edit /usr/local/nagiosxi/html/includes/utils.inc.php and on line 131 change:

Code: Select all

if ($lock && !isset($_REQUEST['ticket'])) {
        session_write_close();
}
to

Code: Select all

if ($lock && !isset($_REQUEST['ticket']) && !isset($_REQUEST['token'])) {
        session_write_close();
}

Re: Nagios XI 5.5.1 - Reports issue

Posted: Tue Jul 17, 2018 11:21 am
by jacek
Worked for me! Thanks!

Re: Nagios XI 5.5.1 - Reports issue

Posted: Tue Jul 17, 2018 11:30 am
by jomann
Great, closing this then.