I run an automated weekly report, which sends via mail the results in a PDF.
The report runs this page:
/nagiosxi/?xiwindow=includes%2Fcomponents%2Fxicore%2Fstatus.php%3Fshow%3Dservices%26servicestatustypes%3D28
Opening it via the webpage gives me perfectly fine results, I attached how the PDF looks like.
Any thoughts?
Nagios XI 5.5.1 - Reports issue
Nagios XI 5.5.1 - Reports issue
You do not have the required permissions to view the files attached to this post.
Re: Nagios XI 5.5.1 - Reports issue
There should be a log in /usr/local/nagiosxi/var that is called scheduledreporting.log that should show us the full link that it is using to generate these reports. Can you post the log or a snippet from the log which includes the URL. You can remove any portions that are sensitive.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Nagios XI 5.5.1 - Reports issue
I would like to post that file, but it doesn't exist in the location you provided...
But if I go to the scheduled report setting I can see the link:
https://xxx.yyy.com/nagiosxi/includes/c ... ustypes=28
But if I go to the scheduled report setting I can see the link:
https://xxx.yyy.com/nagiosxi/includes/c ... ustypes=28
Re: Nagios XI 5.5.1 - Reports issue
Well that is odd, can you create it? Schedule a report and see if it updates.
Code: Select all
touch /usr/local/nagiosxi/var/scheduledreporting.log
chown apache:apache /usr/local/nagiosxi/var/scheduledreporting.log
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Nagios XI 5.5.1 - Reports issue
After creating the file, it updated (bug?), attached it (removed sensitive data).
You do not have the required permissions to view the files attached to this post.
Re: Nagios XI 5.5.1 - Reports issue
It looks like it is properly using the auth token. Can you verify that your timezones are properly set in php / mysql / server? This is the only other thing that I would think would cause the token not to work. You can do this by setting the timezone off by a hour in Admin > System Settings and then waiting 5 minutes and switching it back or if you don't want to mess up any incoming data, verify your PHP timezone in /etc/php.ini and find timezone in there. Also then restart your MySQL and your apache servers.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Nagios XI 5.5.1 - Reports issue
Timezone in php.ini, Nagios XI, and Centos is saying UTC.
Re: Nagios XI 5.5.1 - Reports issue
What version is your wkhtmltopdf? Can you run:
Can you also copy into here the wkhtmltox.log that should be in /usr/local/nagiosxi/var you can remove anything that is sensitive.
Code: Select all
wkhtmltopdf --version
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Nagios XI 5.5.1 - Reports issue
wkhtmltopdf 0.12.1.3 (with patched qt)
The log file doesn't exist...
The log file doesn't exist...
Re: Nagios XI 5.5.1 - Reports issue
Alright I can replicate this. I will have to add a bug report and it will get fixed in the next version. If it's a super simple fix I can probably give you a workaround but I won't know. If you check back in later in the week I can let you know.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.