Hi,
I am currently using Nagios xi. WE have around 500+ server reporting as passive agents. I am trying to generate report for below listed item.
But we are unable to generate the pdf document. We are getting "Failed to create PDF, Verify that your Nagios xi server can connect to the URL"
We dont have internet in the nagios server environment. Is there a way generate PDF document.
SLA Report
Alert Histogram
Notifications
Host Availability
Nagios xi Report - Unable to generate report in PDF
-
- Posts: 8
- Joined: Thu Feb 10, 2022 11:27 am
-
- Dreams In Code
- Posts: 7682
- Joined: Wed Feb 11, 2015 12:54 pm
Re: Nagios xi Report - Unable to generate report in PDF
If you're accessing the xi web interface through HTTPS in the web browser address bar, make sure that Admin > System Settings > Program URL has https:// set as well.
If your Admin > System Settings > Program URL is using a DNS name, make sure it resolves to the local address from an SSH session to the xi server:
If the DNS name doesn't resolve to a local address (you can validate with the ip a command) you can either add a DNS entry that the xi server has access to that does OR add it to your /etc/hosts file on the xi system on the 127.0.0.1 line so that it doesn't try going out to the router and coming back in:
Then try it again.
If that still doesn't resolve it, replicate the issue in the web interface again and then right after please PM me a copy of your profile.zip, you can download it from Admin > System Profile by clicking the Download Profile button.
If your Admin > System Settings > Program URL is using a DNS name, make sure it resolves to the local address from an SSH session to the xi server:
Code: Select all
nslookup yourserver
Code: Select all
[root@ls1 ~]# cat /etc/hosts
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 yourserver yourserver.yourdomain.com
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
If that still doesn't resolve it, replicate the issue in the web interface again and then right after please PM me a copy of your profile.zip, you can download it from Admin > System Profile by clicking the Download Profile button.
-
- Posts: 8
- Joined: Thu Feb 10, 2022 11:27 am
Re: Nagios xi Report - Unable to generate report in PDF
I am able to pull the reports. Currently i have issue with capacity reports. I need the report in pdf and that never ends, even for small number of hosts. I think this is specific issue with capacity report. Other reports are fine.
-
- Posts: 1253
- Joined: Tue Mar 02, 2021 11:15 am
Re: Nagios xi Report - Unable to generate report in PDF
HI
Please send us a copy of your /etc/php.ini
Thanks
Please send us a copy of your /etc/php.ini
Thanks
-
- Posts: 8
- Joined: Thu Feb 10, 2022 11:27 am
Re: Nagios xi Report - Unable to generate report in PDF
Please find the php.ini file.
You do not have the required permissions to view the files attached to this post.
-
- Posts: 1253
- Joined: Tue Mar 02, 2021 11:15 am
Re: Nagios xi Report - Unable to generate report in PDF
Hi
Those settings look good.
Please run this tail command (and leave it running):
tail -F /var/log/httpd/error_log /var/log/httpd/ssl_error_log
Then open up the capacity planning report (to replicate the issue) and send us the full output from the tail command above.
Thank you
Those settings look good.
Please run this tail command (and leave it running):
tail -F /var/log/httpd/error_log /var/log/httpd/ssl_error_log
Then open up the capacity planning report (to replicate the issue) and send us the full output from the tail command above.
Thank you
-
- Posts: 8
- Joined: Thu Feb 10, 2022 11:27 am
Re: Nagios xi Report - Unable to generate report in PDF
Please find the error_log
You do not have the required permissions to view the files attached to this post.
-
- Posts: 8
- Joined: Thu Feb 10, 2022 11:27 am
Re: Nagios xi Report - Unable to generate report in PDF
You have to see this error on /usr/local/nariosxi/var/components/capacityplanning.log.
This could be a limit set.
wkftmltopdf process hangs forever.
This could be a limit set.
wkftmltopdf process hangs forever.
You do not have the required permissions to view the files attached to this post.
-
- Posts: 1253
- Joined: Tue Mar 02, 2021 11:15 am
Re: Nagios xi Report - Unable to generate report in PDF
Hi
That "Capacity planning error.txt" file was a great find.
What version of python is installed?
python -V
Thanks
That "Capacity planning error.txt" file was a great find.
What version of python is installed?
python -V
Thanks
-
- Posts: 8
- Joined: Thu Feb 10, 2022 11:27 am
Re: Nagios xi Report - Unable to generate report in PDF
Python 2.7.5.
Here is the version.
Here is the version.