Page 1 of 1

broken SLA reports by Upgrade 5.5.4

Posted: Mon Oct 01, 2018 7:32 am
by dlukinski
Hello Nagios XI support

5.5.4 upgrade broke all of our SLA reports
- they now show no details and when attempting to follow the link, we get "HTTP Error 404. The requested resource is not found"

Nagios XI inserts

http://localhost/nagiosxi/reports/sla.p ... _unknown=0

- localhost is an obvious problem, when replaced with monitoring.konecranes.com or the fikc-nagxiprod...(correct hostname)
we get "Your session has timed out"

This is quite a disaster with dozens of Reports damaged by Nagios XI 5.5.4 upgrade

Re: broken SLA reports by Upgrade 5.5.4

Posted: Mon Oct 01, 2018 12:07 pm
by benjaminsmith
I think the quickest way to resolve this issue would be to take a look at your system profile.

To send us your system profile. Login to the Nagios XI GUI using a web browser.
Click the "Admin" > "System Profile" Menu
Click the "Download Profile" button
Save the profile.zip file and upload it to a cloud storage of your choice. You can share a link with me in a personal message.
After you upload the profile please post something in this thread to bring it up in the support queue

I'd like to verify a few things:

1. Besides the upgrade of XI, did you make any server changes or upgrades?

2. Are you having any issues with other sections of the web interface or just the SLA reports?

Thank you.

Re: broken SLA reports by Upgrade 5.5.4

Posted: Mon Oct 01, 2018 1:02 pm
by lmiltchev
5.5.4 upgrade broke all of our SLA reports
- they now show no details and when attempting to follow the link, we get "HTTP Error 404. The requested resource is not found"
Are you clicking on the URL in the PDF report or in the actual report (in the web UI)? Did it work for you prior to the upgrade? What was the version of XI that you upgraded from? The SLA report is probably the only one that has URL in it. The 'localhost" will be replaced with the external URL in the next release, so the issue will be fixed. I could give you a "patched" version of the "sla.php" to try when our developers have it fixed.
- localhost is an obvious problem, when replaced with monitoring.konecranes.com or the fikc-nagxiprod...(correct hostname)
we get "Your session has timed out"
This has always been the case (when you are not logged in). Try logging in Nagios XI, then open the URL in the same browser. Are you still getting the "Your session has timed out" message?

Re: broken SLA reports by Upgrade 5.5.4

Posted: Mon Oct 01, 2018 3:02 pm
by dlukinski
benjaminsmith wrote:I think the quickest way to resolve this issue would be to take a look at your system profile.

To send us your system profile. Login to the Nagios XI GUI using a web browser.
Click the "Admin" > "System Profile" Menu
Click the "Download Profile" button
Save the profile.zip file and upload it to a cloud storage of your choice. You can share a link with me in a personal message.
After you upload the profile please post something in this thread to bring it up in the support queue

I'd like to verify a few things:

1. Besides the upgrade of XI, did you make any server changes or upgrades?

2. Are you having any issues with other sections of the web interface or just the SLA reports?

Thank you.

Please have profile attached. No other changes to the server

Thank you

Re: broken SLA reports by Upgrade 5.5.4

Posted: Mon Oct 01, 2018 3:06 pm
by dlukinski
lmiltchev wrote:
5.5.4 upgrade broke all of our SLA reports
- they now show no details and when attempting to follow the link, we get "HTTP Error 404. The requested resource is not found"
Are you clicking on the URL in the PDF report or in the actual report (in the web UI)? Did it work for you prior to the upgrade? What was the version of XI that you upgraded from? The SLA report is probably the only one that has URL in it. The 'localhost" will be replaced with the external URL in the next release, so the issue will be fixed. I could give you a "patched" version of the "sla.php" to try when our developers have it fixed.
- localhost is an obvious problem, when replaced with monitoring.konecranes.com or the fikc-nagxiprod...(correct hostname)
we get "Your session has timed out"
This has always been the case (when you are not logged in). Try logging in Nagios XI, then open the URL in the same browser. Are you still getting the "Your session has timed out" message?
Yes, please provide the patched version once available

Re: broken SLA reports by Upgrade 5.5.4

Posted: Mon Oct 01, 2018 3:37 pm
by lmiltchev
Yes, please provide the patched version once available
Try the following:

1. Make a backup of your old sla.php file
mv /usr/local/nagiosxi/html/reports/sla.php /usr/local/nagiosxi/html/reports/sla.php.backup

2. Download the file below, unzip it, and copy the sla.php file to the "/usr/local/nagiosxi/html/reports" directory.
sla.zip
3. Set the permissions:

Code: Select all

chown nagios.nagios /usr/local/nagiosxi/html/reports/sla.php
chmod 640 /usr/local/nagiosxi/html/reports/sla.php
4. Go to Reports > My Scheduled Reports > Send Now, check your email to make sure the report has been received, open the PDF, and click on the URL to test it. Does it work for you now?

Re: broken SLA reports by Upgrade 5.5.4

Posted: Thu Oct 18, 2018 12:33 pm
by dlukinski
lmiltchev wrote:
Yes, please provide the patched version once available
Try the following:

1. Make a backup of your old sla.php file
mv /usr/local/nagiosxi/html/reports/sla.php /usr/local/nagiosxi/html/reports/sla.php.backup

2. Download the file below, unzip it, and copy the sla.php file to the "/usr/local/nagiosxi/html/reports" directory.
sla.zip
3. Set the permissions:

Code: Select all

chown nagios.nagios /usr/local/nagiosxi/html/reports/sla.php
chmod 640 /usr/local/nagiosxi/html/reports/sla.php
4. Go to Reports > My Scheduled Reports > Send Now, check your email to make sure the report has been received, open the PDF, and click on the URL to test it. Does it work for you now?
This worked.

Thank you,
Please close the case

Re: broken SLA reports by Upgrade 5.5.4

Posted: Thu Oct 18, 2018 1:06 pm
by benjaminsmith
This worked.

Thank you,
Please close the case
Great. I will close this post.