Email / Download Report having issues
Email / Download Report having issues
I'm having a number of issues with emailing / downloading a report.
1) Regardless of format (JPG, PDF, etc) all of the graphs in the report are blank
2) If I email the report the PDF is corrupted and will not open
3) If I email the report the link to directly access the report in NagiosXI takes me to a login screen and then to my own Home screen
1) Regardless of format (JPG, PDF, etc) all of the graphs in the report are blank
2) If I email the report the PDF is corrupted and will not open
3) If I email the report the link to directly access the report in NagiosXI takes me to a login screen and then to my own Home screen
You do not have the required permissions to view the files attached to this post.
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: Email / Download Report having issues
Hi,
We recently upgraded jQuery, and have a a known issue regarding PDF reports (i.e. data not being populated in the PDF).
Let's try reverting back to the previous version of jQuery.
Open the /usr/local/nagiosxi/html/config.inc.php file in a text editor, find the section below:
and change this line:
to this (simply uncomment the line):
If you don't find the line, just add it to the config, save, and exit. Let us know if this resolves the issue.
We recently upgraded jQuery, and have a a known issue regarding PDF reports (i.e. data not being populated in the PDF).
Let's try reverting back to the previous version of jQuery.
Open the /usr/local/nagiosxi/html/config.inc.php file in a text editor, find the section below:
Code: Select all
// Old browser compatability with jQuery
// - Turn this on to set jQuery to use 1.x instead of 3.x
// - Security fixes are available in 3.x and is the default version but is not compatible with IE 8Code: Select all
// $cfg['old_browser_compat'] = 1;Code: Select all
$cfg['old_browser_compat'] = 1;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: Email / Download Report having issues
Did not find the line so I added it, emailing the report resulted in the attached error...did I get the syntax wrong somehow?
You do not have the required permissions to view the files attached to this post.
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: Email / Download Report having issues
Ok. We took a look at the error message and this is mostly likely an issue related to your Program URL settings.
1. Go ahead and remove the
2. Now since you are using SSL, change the // Force http/https to:
Save your changes and restart Nagios.
3. Login to Nagos XI and go to Admin > System Config > System Settings > General Program Settings
... and Verify that the "Program URL" matches the "External URL".
Let us know if that resolves the issue.
1. Go ahead and remove the
from /usr/local/nagiosxi/html/config.inc.php.$cfg['old_browser_compat'] = 1;
2. Now since you are using SSL, change the // Force http/https to:
Code: Select all
$cfg['use_https'] = true;
3. Login to Nagos XI and go to Admin > System Config > System Settings > General Program Settings
... and Verify that the "Program URL" matches the "External URL".
Let us know if that resolves the issue.
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: Email / Download Report having issues
1. Done
2. Was already there and "true"
3. I currently have no external url defined. Either way (with one that matches the internal, or no external at all) the error emailing the report remains. Meaning - I can no longer send a bad PDF to myself
2. Was already there and "true"
3. I currently have no external url defined. Either way (with one that matches the internal, or no external at all) the error emailing the report remains. Meaning - I can no longer send a bad PDF to myself
benjaminsmith wrote:Ok. We took a look at the error message and this is mostly likely an issue related to your Program URL settings.
1. Go ahead and remove thefrom /usr/local/nagiosxi/html/config.inc.php.$cfg['old_browser_compat'] = 1;
2. Now since you are using SSL, change the // Force http/https to:Save your changes and restart Nagios.Code: Select all
$cfg['use_https'] = true;
3. Login to Nagos XI and go to Admin > System Config > System Settings > General Program Settings
... and Verify that the "Program URL" matches the "External URL".
Let us know if that resolves the issue.
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: Email / Download Report having issues
Thank you for the update. I would like to verify a couple of things.
1. Can you provide a screen shot of System Settings > General and System Settings > Security from the Admin menu.
2. Please send over a System Profile to help us review your settings.
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.
1. Can you provide a screen shot of System Settings > General and System Settings > Security from the Admin menu.
2. Please send over a System Profile to help us review your settings.
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.
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: Email / Download Report having issues
Please see attached
benjaminsmith wrote:Thank you for the update. I would like to verify a couple of things.
1. Can you provide a screen shot of System Settings > General and System Settings > Security from the Admin menu.
2. Please send over a System Profile to help us review your settings.
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.
You do not have the required permissions to view the files attached to this post.
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: Email / Download Report having issues
Good Morning,
Thanks for sending over the profile and screen shots. Please set the Program URL in the System Settings > General Program Settings to:
https://nagios.utsystem.edu/nagiosxi/
Let me know if that resolves the problem for you.
Thanks for sending over the profile and screen shots. Please set the Program URL in the System Settings > General Program Settings to:
https://nagios.utsystem.edu/nagiosxi/
Let me know if that resolves the problem for 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: Email / Download Report having issues
Same error unfortunately
benjaminsmith wrote:Good Morning,
Thanks for sending over the profile and screen shots. Please set the Program URL in the System Settings > General Program Settings to:
https://nagios.utsystem.edu/nagiosxi/
Let me know if that resolves the problem for you.
You do not have the required permissions to view the files attached to this post.
Re: Email / Download Report having issues
Is the PDF file from the email larger than zero bytes?
If so, can you attach it to the post so we can view the contents of it?
If so, can you attach it to the post so we can view the contents of it?
Be sure to check out our Knowledgebase for helpful articles and solutions!