When i generate a pdf report it say
Code: Select all
Failed to create pdf
Verify that your Nagios XI server can connect to the URL:
https://localhost/nagiosxi/reports/availability.php?reportperiod=last24hours&startdate=&enddate=&host=vab0123_ssapbpcpr1&service=&hostgroup=&servicegroup=&advanced=1&assumeinitialstates=yes&assumestateretention=yes&assumestatesduringdowntime=yes&includesoftstates=no&assumedhoststate=3&assumedservicestate=6&timeperiod=&servicegraphs=1&token=690e6a196d3706525d6b5b4bae6f1a435e0f8df8&locale=en_US&records=100000&mode=getreport&hideoptions=1&export=1&old_browser_compat=1
Code: Select all
/usr/bin/wkhtmltopdf --no-stop-slow-scripts --lowquality --no-outline --footer-spacing 3 --margin-bottom 15mm --footer-font-size 9 --footer-right "Page [page] of [toPage]" --footer-left "2021-12-06 15:30:59" 'https://localhost/nagiosxi/reports/availability.php?reportperiod=last24hours&startdate=&enddate=&host=vab0123_ssapbpcpr1&service=&hostgroup=&servicegroup=&advanced=1&assumeinitialstates=yes&assumestateretention=yes&assumestatesduringdowntime=yes&includesoftstates=no&assumedhoststate=3&assumedservicestate=6&timeperiod=&servicegraphs=1&token=9701f025eb6f55dc03c1c910f37ae3731136a3a9&locale=en_US&records=100000&mode=getreport&hideoptions=1&export=1&old_browser_compat=1' '/usr/local/nagiosxi/tmp/exportreport-ec7773a-61ae730383bee'
The switch --no-outline, is not support using unpatched qt, and will be ignored.The switch --footer-spacing, is not support using unpatched qt, and will be ignored.The switch --footer-font-size, is not support using unpatched qt, and will be ignored.The
switch --footer-right, is not support using unpatched qt, and will be ignored.The switch --footer-left, is not support using unpatched qt, and will be ignored.wkhtmltopdf: cannot connect to X server
thx for your help