Page 1 of 1

ERROR: Failed to render URL [Unable to export report to PDF]

Posted: Mon Feb 09, 2015 11:06 am
by swapnil.kadam
************ ERROR: Failed to render URL 'http://HOSTNAME/nagiosxi//reports/sla.p ... cale=en_US' as '/usr/local/nagiosxi/tmp/scheduledreport-swapnil.kadam-1423497788-page.pdf' ************

[root@ip-10-1-252-182 ec2-user]# ls -ld /usr/local/nagiosxi
drwxr-xr-x. 10 nagios nagios 4096 Jan 22 13:50 /usr/local/nagiosxi

[root@ip-10-1-252-182 ec2-user]# ls -ld /usr/local/nagiosxi/tmp
drwsrwsr-x. 2 apache nagios 4096 Feb 9 09:00 /usr/local/nagiosxi/tmp

[root@ip-10-1-252-182 ec2-user]# cat /etc/hosts
127.0.0.1 localhost.localdomain localhost
::1 localhost6.localdomain6 localhost6

CAN YOU HELP ME TO FIX THIS ISSUE???

Re: ERROR: Failed to render URL [Unable to export report to

Posted: Mon Feb 09, 2015 3:27 pm
by lmiltchev
What is the output of the following commands?

Code: Select all

ifconfig
grep use_https /usr/local/nagiosxi/html/config.inc.php
wkhtmltopdf -V
wkhtmltoimage -V
Go to Admin->Manage System Config and show us a screenshot of "System Settings" page.

Re: ERROR: Failed to render URL [Unable to export report to

Posted: Tue Feb 10, 2015 9:21 am
by swapnil.kadam
Managed to fix the issue by updating the configuration on "System Settings" page, the URL