This support forum board is for support questions relating to
Nagios XI , our flagship commercial network monitoring solution.
vAJ
Posts: 456 Joined: Thu Nov 08, 2012 5:09 pm
Location: Austin, TX
Post
by vAJ » Mon Mar 03, 2014 2:31 pm
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
Post
by vAJ » Mon Mar 03, 2014 2:33 pm
CSV attachement looks good.
Andrew J. - Do you even grok?
lmiltchev
Bugs find me
Posts: 13589 Joined: Mon May 23, 2011 12:15 pm
Post
by lmiltchev » Mon Mar 03, 2014 2:55 pm
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
Post
by vAJ » Mon Mar 03, 2014 3:03 pm
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?
lmiltchev
Bugs find me
Posts: 13589 Joined: Mon May 23, 2011 12:15 pm
Post
by lmiltchev » Mon Mar 03, 2014 3:13 pm
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:
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
Post
by vAJ » Mon Mar 03, 2014 3:36 pm
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...
Post
by slansing » Mon Mar 03, 2014 3:55 pm
Awesome, we'll keep an eye out and see if this happens for other users, thank you!