We ran the following as a test.
Code: Select all
/usr/bin/wkhtmltopdf --footer-spacing 3 --margin-bottom 15mm --footer-font-size 9 --footer-right "Page [page] of [toPage]" --footer-left "2017-08-11 15:17:56" --header-left "test" 'https://ourserver/nagiosxi//reports/availability.php?&username=ourid&ticket=pSm4YsRcvGWbMG9qXvQcsdI5JT2BCA42JKlXcd90SlrU2Dkf8qrTGpeGigdUPAcO&locale=en_US' '/usr/local/nagiosxi/tmp/scheduledreport-ourid-PMqqsP-test.pdf'
The above should be configurable so that we can include port number 8443 in the https line.
We ran the above manually like follows:
Code: Select all
/usr/bin/wkhtmltopdf --footer-spacing 3 --margin-bottom 15mm --footer-font-size 9 --footer-right "Page [page] of [toPage]" --footer-left "2017-08-11 15:17:56" --header-left "test" '">https://blph952.bhdc.>;
/usr/bin/wkhtmltopdf --footer-spacing 3 --margin-bottom 15mm --footer-font-size 9 --footer-right "Page [page] of [toPage]" --footer-left "2017-08-11 15:17:56" --header-left "test" 'https://ourserver:8443/nagiosxi//reports/availability.php?&username=ourid&ticket=pSm4YsRcvGWbMG9qXvQcsdI5JT2BCA42JKlXcd90SlrU2Dkf8qrTGpeGigdUPAcO&locale=en_US' '/usr/local/nagiosxi/tmp/scheduledreport-ourid-PMqqsP-test.pdf'
Note in the above how we included the port, when running the above we got the following output which would create the pdf. Without the port, the pdf ended up empty.
Loading pages (1/6)
Warning: SSL error ignored
Warning: SSL error ignored
Warning: SSL error ignored
Warning: SSL error ignored
Warning: SSL error ignored
Warning: SSL error ignored
Counting pages (2/6)
Resolving links (4/6)
Loading headers and footers (5/6)
Printing pages (6/6)
Done
So I will be looking forward to the bug fix on this. Any ETA as to when we can expect a fix ? Our executives like the reporting function, but also want us to be using https/SSL and following company guidelines of course by using the 8443 port.
Thx.