broken SLA reports by Upgrade 5.5.4

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
dlukinski
Posts: 1130
Joined: Tue Oct 06, 2015 9:42 am

broken SLA reports by Upgrade 5.5.4

Post 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
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: broken SLA reports by Upgrade 5.5.4

Post 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.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: broken SLA reports by Upgrade 5.5.4

Post 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?
Be sure to check out our Knowledgebase for helpful articles and solutions!
dlukinski
Posts: 1130
Joined: Tue Oct 06, 2015 9:42 am

Re: broken SLA reports by Upgrade 5.5.4

Post 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
dlukinski
Posts: 1130
Joined: Tue Oct 06, 2015 9:42 am

Re: broken SLA reports by Upgrade 5.5.4

Post 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
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: broken SLA reports by Upgrade 5.5.4

Post 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?
You do not have the required permissions to view the files attached to this post.
Be sure to check out our Knowledgebase for helpful articles and solutions!
dlukinski
Posts: 1130
Joined: Tue Oct 06, 2015 9:42 am

Re: broken SLA reports by Upgrade 5.5.4

Post 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
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: broken SLA reports by Upgrade 5.5.4

Post by benjaminsmith »

This worked.

Thank you,
Please close the case
Great. I will close this post.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked