Nagios XI Report - Unable to generate report in PDF

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
gsmith
Posts: 1253
Joined: Tue Mar 02, 2021 11:15 am

Re: Nagios XI Report - Unable to generate report in PDF

Post by gsmith »

HI

Can you send me this file (if it exists):
/usr/local/nagiosxi/tmp/exportreport-nagiosreportservice-6241f1eeb2b97

If it doesn't exist can you run the same Capacity Planning report and get a copy of the file that is created
in /usr/local/nagiosxi/tmp/ as part of this process?

Thanks
ejagannathanp1
Posts: 8
Joined: Thu Feb 10, 2022 11:27 am

Re: Nagios XI Report - Unable to generate report in PDF

Post by ejagannathanp1 »

I have increased the Capacity Planning Delay in Performance Setting in Admin.
I dont see the jquery error, I think I fixed it my increasing the memory size in /etc/php.ini


PDF reports are now getting generated but the reports are empty. Can you help me with this?
gsmith
Posts: 1253
Joined: Tue Mar 02, 2021 11:15 am

Re: Nagios XI Report - Unable to generate report in PDF

Post by gsmith »

Hi

That's good. Can you please:
Can you send me this file (if it exists):
/usr/local/nagiosxi/tmp/exportreport-nagiosreportservice-6241f1eeb2b97

If it doesn't exist can you run the same Capacity Planning report and get a copy of the file that is created
in /usr/local/nagiosxi/tmp/ as part of this process?
The reason I ask is that from the stack trace of the error from the other day it looks like
there is a bad value that encoder.py can't handle:
ValueError: Out of range float values are not JSON compliant

And that causes the pdf to not be generated.

Thanks
ejagannathanp1
Posts: 8
Joined: Thu Feb 10, 2022 11:27 am

Re: Nagios XI Report - Unable to generate report in PDF

Post by ejagannathanp1 »

/usr/local/nagiosxi/tmp/exportreport-nagiosreportservice-6241f1eeb2b97 is not there.
Other file's sizes are 0.

Again the issue is we are able to see the PDF is getting generated but real data is not in place.
gsmith
Posts: 1253
Joined: Tue Mar 02, 2021 11:15 am

Re: Nagios XI Report - Unable to generate report in PDF

Post by gsmith »

HI

1. Can you please send me the data table (not the summary) for the Capacity Planning graph that is giving you a blank pdf.

2. Do the PNG, JPEG and SVG images work correctly?

2. Can you try to output a pdf for a single host's Capacity Planning for one week?

Thanks
Locked