Page 1 of 1

Nagiosxi PDF not generating

Posted: Sat Oct 17, 2015 3:48 am
by Praveendoifode
************ ERROR: Failed to render URL 'http://my.domainname.com/nagiosxi//repo ... cale=en_US' as '/usr/local/nagiosxi/tmp/scheduledreport-nagiosadmin-1445069930-page.pdf' *********

Re: Nagiosxi PDF not generating

Posted: Mon Oct 19, 2015 9:32 am
by hsmith
Can we see a screenshot of your Admin ---> System Config ---> System Settings page?

Additionally, are you behind a proxy?

What are the permissions on your ls -l /usr/local/nagiosxi/tmp directory?

Re: Nagiosxi PDF not generating

Posted: Mon Oct 19, 2015 10:48 pm
by Praveendoifode
Hello,
Result of ls -l /usr/local/nagiosxi/tmp is:

-rwxrwx--- 1 apache nagios 17768 Oct 19 10:50 component-googlemap.zip
-rwxrwx--- 1 apache nagios 135549 Oct 17 14:52 component-scheduledreporting.zip
-rw-r--r-- 1 apache nagios 2204 Oct 19 08:54 http:__api.nagios.com_feeds_xipromo_.xml
-rw-r--r-- 1 apache nagios 60290 Oct 19 08:54 http:__labs.nagios.com_feed.xml
-rw-r--r-- 1 apache nagios 10877 Oct 19 08:54 http:__library.nagios.com_library_products_nagiosxi_documentation?format=feed&type=rss.xml
-rw-r--r-- 1 apache nagios 8616 Oct 17 12:50 mrtgscan-111.93.75.170
-rw-r--r-- 1 apache nagios 0 Oct 17 12:50 mrtgscan-111.93.75.170.done
-rw-r--r-- 1 apache nagios 0 Oct 17 12:50 mrtgscan-111.93.75.170_l
-rw-r--r-- 1 apache nagios 10006 Oct 17 13:00 mrtgscan-115.112.143.222
-rw-r--r-- 1 apache nagios 0 Oct 17 13:00 mrtgscan-115.112.143.222.done
-rw-r--r-- 1 apache nagios 0 Oct 17 13:01 mrtgscan-115.112.143.222_l
-rw-r--r-- 1 apache nagios 9130 Oct 17 12:51 mrtgscan-117.240.219.186
-rw-r--r-- 1 apache nagios 0 Oct 17 12:51 mrtgscan-117.240.219.186.done
-rw-r--r-- 1 apache nagios 0 Oct 17 12:51 mrtgscan-117.240.219.186_l
-rw-r--r-- 1 apache nagios 5573 Oct 17 12:45 mrtgscan-121.243.228.149
-rw-r--r-- 1 apache nagios 0 Oct 17 12:45 mrtgscan-121.243.228.149.done
-rw-r--r-- 1 apache nagios 0 Oct 17 12:45 mrtgscan-121.243.228.149_l
-rw-r--r-- 1 apache nagios 9054 Oct 17 12:53 mrtgscan-14.140.117.58
-rw-r--r-- 1 apache nagios 0 Oct 17 12:53 mrtgscan-14.140.117.58.done
-rw-r--r-- 1 apache nagios 0 Oct 17 12:54 mrtgscan-14.140.117.58_l
-rw-r--r-- 1 apache nagios 10194 Oct 17 12:59 mrtgscan-14.141.121.250
-rw-r--r-- 1 apache nagios 0 Oct 17 12:59 mrtgscan-14.141.121.250.done
-rw-r--r-- 1 apache nagios 0 Oct 17 13:00 mrtgscan-14.141.121.250_l
-rw-r--r-- 1 apache nagios 9734 Oct 17 12:47 mrtgscan-14.141.177.178
-rw-r--r-- 1 apache nagios 0 Oct 17 12:47 mrtgscan-14.141.177.178.done
-rw-r--r-- 1 apache nagios 0 Oct 17 12:47 mrtgscan-14.141.177.178_l
-rw-r--r-- 1 apache nagios 10490 Oct 17 12:49 mrtgscan-14.141.205.10
-rw-r--r-- 1 apache nagios 0 Oct 17 12:49 mrtgscan-14.141.205.10.done
-rw-r--r-- 1 apache nagios 0 Oct 17 12:49 mrtgscan-14.141.205.10_l
-rw-r--r-- 1 apache nagios 9856 Oct 17 12:57 mrtgscan-14.141.28.218
-rw-r--r-- 1 apache nagios 0 Oct 17 12:57 mrtgscan-14.141.28.218.done
-rw-r--r-- 1 apache nagios 0 Oct 17 12:58 mrtgscan-14.141.28.218_l
-rw-r--r-- 1 apache nagios 8977 Oct 17 12:52 mrtgscan-14.142.41.18
-rw-r--r-- 1 apache nagios 0 Oct 17 12:52 mrtgscan-14.142.41.18.done
-rw-r--r-- 1 apache nagios 0 Oct 17 12:52 mrtgscan-14.142.41.18_l
-rw-r--r-- 1 apache nagios 9054 Oct 17 12:52 mrtgscan-182.71.145.10
-rw-r--r-- 1 apache nagios 0 Oct 17 12:52 mrtgscan-182.71.145.10.done
-rw-r--r-- 1 apache nagios 0 Oct 17 12:53 mrtgscan-182.71.145.10_l
-rw-r--r-- 1 apache nagios 9614 Oct 17 12:48 mrtgscan-182.72.46.18
-rw-r--r-- 1 apache nagios 0 Oct 17 12:48 mrtgscan-182.72.46.18.done
-rw-r--r-- 1 apache nagios 0 Oct 17 12:48 mrtgscan-182.72.46.18_l
-rw-r--r-- 1 apache nagios 5627 Oct 17 13:01 mrtgscan-219.91.255.145
-rw-r--r-- 1 apache nagios 0 Oct 17 13:01 mrtgscan-219.91.255.145.done
-rw-r--r-- 1 apache nagios 0 Oct 17 13:02 mrtgscan-219.91.255.145_l
-rw-r--r-- 1 apache nagios 9028 Oct 17 12:42 mrtgscan-59.165.238.74
-rw-r--r-- 1 apache nagios 0 Oct 17 12:42 mrtgscan-59.165.238.74.done
-rw-r--r-- 1 apache nagios 0 Oct 17 12:43 mrtgscan-59.165.238.74_l

Re: Nagiosxi PDF not generating

Posted: Tue Oct 20, 2015 9:29 am
by hsmith
hsmith wrote:Can we see a screenshot of your Admin ---> System Config ---> System Settings page?
hsmith wrote:Additionally, are you behind a proxy

Can you please provide this information as well?

Re: Nagiosxi PDF not generating

Posted: Tue Oct 20, 2015 10:27 pm
by Praveendoifode
Hi,

I have attached the screenshot. and no proxy server is there.

Then i have tried this command

wkhtmltopdf -V

Resuly is :- wkhtmltopdf 0.12.1-c22928d (with patched qt)

Then also set hostname in:- /etc/hosts

Re: Nagiosxi PDF not generating

Posted: Wed Oct 21, 2015 10:21 am
by hsmith
Can you try to access the Nagios server using an internal IP and generate the PDF that way?