Scheduled report PDF errors

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
vAJ
Posts: 456
Joined: Thu Nov 08, 2012 5:09 pm
Location: Austin, TX

Scheduled report PDF errors

Post by vAJ »

Running 2012r2.9
wkhtmltopdf 0.9.9

When a scheduled report fires with PDF output, the attachment is only a few hundred bytes and Acrobat throw the attached error.

httpd error log shows:

Code: Select all

HTTP request sent, awaiting response... Unknown long argument --no-outline 
is there a editable config where I can set HTMLtoPDF options for NagiosXI? Or is this in your compiled code?
You do not have the required permissions to view the files attached to this post.
Andrew J. - Do you even grok?
vAJ
Posts: 456
Joined: Thu Nov 08, 2012 5:09 pm
Location: Austin, TX

Re: Scheduled report PDF errors

Post by vAJ »

CSV attachement looks good.
Andrew J. - Do you even grok?
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Scheduled report PDF errors

Post by lmiltchev »

What type of report are you trying to schedule? Are you having issues with ALL scheduled reports? Can you download reports in the GUI as PDFs?
Be sure to check out our Knowledgebase for helpful articles and solutions!
vAJ
Posts: 456
Joined: Thu Nov 08, 2012 5:09 pm
Location: Austin, TX

Re: Scheduled report PDF errors

Post by vAJ »

trying to DL a PDF report just gives me a white page.

Looks like the --no-outline option you are calling is not valid in 0.9.9, and current release is 0.12

OK to upgrade to latest?
Andrew J. - Do you even grok?
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Scheduled report PDF errors

Post by lmiltchev »

I am not sure what went wrong but you should be using ver. 0.10.0 (that's what it is in our install script)...

Try reinstalling wkhtmltopdf:

Code: Select all

cd /tmp/nagiosxi/subcomponents/wkhtml
./install
and check the version:

Code: Select all

/usr/bin/wkhtmltopdf -V
Be sure to check out our Knowledgebase for helpful articles and solutions!
vAJ
Posts: 456
Joined: Thu Nov 08, 2012 5:09 pm
Location: Austin, TX

Re: Scheduled report PDF errors

Post by vAJ »

Yep, looks like it didn't install at some point in the last few upgrades... Checked another instance that I don' t have any reports sending PDF and wkhtmltopdf wasn't even installed.

Anyhow, they're working now. Thx!
Andrew J. - Do you even grok?
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Scheduled report PDF errors

Post by slansing »

Awesome, we'll keep an eye out and see if this happens for other users, thank you!
Locked