After upgrading NagiosXI 2014R1.5 to 2014R2.0 we ran into a problem where we can no longer render reports to pdf. Scheduled reports ahve no attachements or broken pdf's attached.
If I hit the pdf button in a report the follwing error is thrown:
************ ERROR: Failed to render URL 'http://[removed]/nagiosxi//reports/availability.php?1&hideoptions=1&username=[removed]&ticket=fle5r3fngabe6hsuv5aq5sau8j36qoq9d9d89psp3757o05l4fd69n5e85j2sc89&locale=en_US' as '/usr/local/nagiosxi/tmp/scheduledreport-[removed]-1417514895-page.pdf' ************
I allready found a few similar posts so I checked the following:
Code: Select all
> ls -ld /usr/local/nagiosxi/tmp
drwsrwsr-x 3 nagios nagios 8192 Dec 1 15:16 /usr/local/nagiosxi/tmp
> ls -ld /usr/local/nagiosxi
drwxr-xr-x 10 nagios nagios 1024 Feb 4 2014 /usr/local/nagiosxi
Code: Select all
> /usr/bin/wkhtmltopdf -V
Name:
wkhtmltopdf 0.10.0 rc2
Also there's still plenty of memory available for the render process:
Code: Select all
> free
total used free shared buffers cached
Mem: 5187844 4157472 1030372 0 229880 2311484
-/+ buffers/cache: 1616108 3571736
Swap: 2097144 232 2096912
Code: Select all
[Tue Dec 02 11:08:15 2014] [error] [client XXX.XXX.XXX.XXX] PHP Notice: Undefined index: use_https in /usr/local/nagiosxi/html/reports/availability.php on line 2575, referer: http://[removed]/nagiosxi/reports/availability.php?&=
Hans Blom