Anybody use wkhtmltopdf to generate pdfs from command line? We are attempting to automate some dashboard pdfs using this command. It generates the PDF but its of the logon page rather than the actual dashboard url. I attempted using wkhtmltopdf --username --password but still no luck. Anybody try this before and got it working?
Thanks,
Khaled
wkhtmltopdf
Re: wkhtmltopdf
The dashboards can be automatically scheduled to send from the GUI already by hovering over the 3 lines next to Logout, and clicking the first icon down (Schedule Page).
My guess is when you reference the dashboard page, you'll need to either have automatic login enabled, or append your username=&ticket= to the URL.
My guess is when you reference the dashboard page, you'll need to either have automatic login enabled, or append your username=&ticket= to the URL.
Former Nagios Employee
Re: wkhtmltopdf
Just checking in since we have not heard from you in a while. Did @rkennedy's post clear things up?
Former Nagios employee
Re: wkhtmltopdf
Yes. Thank you. you can close this thread.