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
broken SLA reports by Upgrade 5.5.4
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: broken SLA reports by Upgrade 5.5.4
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.
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!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: broken SLA reports by Upgrade 5.5.4
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.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"
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?- localhost is an obvious problem, when replaced with monitoring.konecranes.com or the fikc-nagxiprod...(correct hostname)
we get "Your session has timed out"
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: broken SLA reports by Upgrade 5.5.4
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
Yes, please provide the patched version once availablelmiltchev wrote: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.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"
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?- localhost is an obvious problem, when replaced with monitoring.konecranes.com or the fikc-nagxiprod...(correct hostname)
we get "Your session has timed out"
Re: broken SLA reports by Upgrade 5.5.4
Try the following:Yes, please provide the patched version once available
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. 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.phpYou 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!
Re: broken SLA reports by Upgrade 5.5.4
This worked.lmiltchev wrote:Try the following:Yes, please provide the patched version once available
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. 3. Set the permissions: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?Code: Select all
chown nagios.nagios /usr/local/nagiosxi/html/reports/sla.php chmod 640 /usr/local/nagiosxi/html/reports/sla.php
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
Great. I will close this post.This worked.
Thank you,
Please close the case
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!
Be sure to check out our Knowledgebase for helpful articles and solutions!