Scheduled report PDF

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
anish
Posts: 161
Joined: Tue Jul 19, 2016 5:29 am

Scheduled report PDF

Post 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
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Scheduled report PDF

Post 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?
Former Nagios employee
highness
Posts: 192
Joined: Thu May 01, 2014 4:25 pm

Re: Scheduled report PDF

Post by highness »

We've been having this issue for a while as well.
jomann
Development Lead
Posts: 611
Joined: Mon Apr 22, 2013 10:06 am
Location: Nagios Enterprises

Re: Scheduled report PDF

Post 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.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
anish
Posts: 161
Joined: Tue Jul 19, 2016 5:29 am

Re: Scheduled report PDF

Post 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?
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Scheduled report PDF

Post 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.
Former Nagios Employee
anish
Posts: 161
Joined: Tue Jul 19, 2016 5:29 am

Re: Scheduled report PDF

Post 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.
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Scheduled report PDF

Post 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?
Former Nagios Employee
anish
Posts: 161
Joined: Tue Jul 19, 2016 5:29 am

Re: Scheduled report PDF

Post by anish »

Screenshots attached
You do not have the required permissions to view the files attached to this post.
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Scheduled report PDF

Post 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.
Former Nagios Employee
Locked