PDF Report Generation broken

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
User avatar
GldRush98
Posts: 259
Joined: Wed May 25, 2011 10:51 am
Location: Springfield, IL
Contact:

Re: PDF Report Generation broken

Post by GldRush98 »

Yes, sorry. The full output is:

Code: Select all

************ ERROR: Failed to render URL 'https://[redacted]/nagiosxi/reports/availability.php?1&hideoptions=1&username=noverstreet&ticket=[valid api key]&locale=en_US' as '/usr/local/nagiosxi/tmp/scheduledreport-noverstreet-1407791975-page.pdf' ************
I verified wkhtmltopdf is working properly by doing a "wkhtmltopdf http://www.google.com /tmp/google.pdf" and that did correctly generate a pdf file.

Here's that report.txt file from the curl command from above... dunno if that'll be helpful or not.
Last edited by GldRush98 on Wed Aug 13, 2014 2:18 pm, edited 2 times in total.
Prod XI: Debian 12 - Nagios XI 2026R1.2
Dev XI: Debian 12 - Nagios XI 2026R1.2
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: PDF Report Generation broken

Post by abrist »

Can we move this to a ticket? I think we will need to set up a remote to continue troubleshooting directly on the server. Please send an email from a registered address to: [email protected]
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
User avatar
GldRush98
Posts: 259
Joined: Wed May 25, 2011 10:51 am
Location: Springfield, IL
Contact:

Re: PDF Report Generation broken

Post by GldRush98 »

I just wanted to update that I got this figured out today.
After doing the remote session yesterday, we determined that I was missing the openssl 32bit libs, and this was breaking wkhtmltopdf 32 bit from retrieving the https url.
I tried installing but ran in to a transaction error. Basically it was because my x64 openssl wasn't up to date.
So to fix it I had to:
yum update openssl
yum install openssl.i686

Now everything is working! 32 bit wkhtmltopdf is happy.
Prod XI: Debian 12 - Nagios XI 2026R1.2
Dev XI: Debian 12 - Nagios XI 2026R1.2
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: PDF Report Generation broken

Post by slansing »

Excellent, thank you for letting us know.
Locked