Page 2 of 2

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

Posted: Wed Mar 30, 2022 2:44 pm
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

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

Posted: Thu Mar 31, 2022 7:05 am
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?

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

Posted: Thu Mar 31, 2022 9:15 am
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

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

Posted: Thu Mar 31, 2022 9:52 am
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.

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

Posted: Thu Mar 31, 2022 4:28 pm
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