Page 1 of 2
Scheduled report PDF
Posted: Thu Oct 27, 2016 3:52 am
by anish
Hello,
I was testing a report to be sent from nagios server for a graph. I received the email attached with the PDF and PNG but when i open them they appear to be corrupt.
Thanks,
Anish
Re: Scheduled report PDF
Posted: Thu Oct 27, 2016 10:15 am
by tmcdonald
What XI version is this? And if you view the report PDF directly from the web interface instead of emailing it, does that work?
Re: Scheduled report PDF
Posted: Thu Oct 27, 2016 11:16 am
by highness
We've been having this issue for a while as well.
Re: Scheduled report PDF
Posted: Thu Oct 27, 2016 1:02 pm
by jomann
There was an issue with newly created reports at one point in 5.2.x but has since been resolved. If you're running 5.3.x and your reports are still being sent as corrupt - try re-making the scheduled report and see if it sends an actual PDF/PNG.
Re: Scheduled report PDF
Posted: Mon Oct 31, 2016 3:17 am
by anish
tmcdonald wrote:What XI version is this? And if you view the report PDF directly from the web interface instead of emailing it, does that work?
tmcdonald wrote:What XI version is this? And if you view the report PDF directly from the web interface instead of emailing it, does that work?
anish wrote:Version 5.2.9. How Do I check the PDF directly in web interface?
Re: Scheduled report PDF
Posted: Mon Oct 31, 2016 11:14 am
by rkennedy
On the reports page, there is an option to Download as PDF. Let us know if that comes through correct, or as a corrupt version as well.
Re: Scheduled report PDF
Posted: Mon Oct 31, 2016 11:54 am
by anish
Below is what we are doing.
We need CPU and memory usage metrics of all physical windows servers for the period of 30 days.
So we have a hostgroup for windows-physical and 2 service cpu and memory have this hostgroup added.
I go to metrics -> Select "windows-physical" from hostgroup -> Select metrics "CPU Usage" -> click run
select graphs -> select graphs timeframe for 30 days -> then schedule this to be sent as PDF to a DL.
Now the PDF arrives as corrupted. On this page i don't see an option to download.
Re: Scheduled report PDF
Posted: Mon Oct 31, 2016 1:44 pm
by rkennedy
Got it, I wasn't aware you were using the scheduled reports. There is a feature request in for a current download link to be added so hopefully in the future you'll have that option.
As for the problem, could you post a screenshot of your Admin -> System Settings page, and also a copy of your /etc/hosts file?
Re: Scheduled report PDF
Posted: Mon Oct 31, 2016 11:47 pm
by anish
Screenshots attached
Re: Scheduled report PDF
Posted: Tue Nov 01, 2016 1:30 pm
by rkennedy
This looks good, the issue may lie with SSL. Please attempt to schedule the report once again, and then post these files for us to look at -
Code: Select all
/var/log/httpd/error_log
/var/log/httpd/ssl_error_log
/var/log/httpd/access_log
/var/log/httpd/ssl_access_log
What we're looking for is an error on why it fails in your apache logs.