z

Commercial Support Clients: Clients with support contracts can get escalated support assistance by visiting Nagios Answer Hub. These forums are for community support services. Although we at Nagios try our best to help out on the forums here, we always give priority support to our support clients.

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.

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

Postby gsmith » Wed Mar 30, 2022 2:44 pm

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
gsmith
 
Posts: 1253
Joined: Tue Mar 02, 2021 11:15 am

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

Postby ejagannathanp1 » Thu Mar 31, 2022 7:05 am

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?
ejagannathanp1
 
Posts: 8
Joined: Thu Feb 10, 2022 11:27 am

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

Postby gsmith » Thu Mar 31, 2022 9:15 am

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
gsmith
 
Posts: 1253
Joined: Tue Mar 02, 2021 11:15 am

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

Postby ejagannathanp1 » Thu Mar 31, 2022 9:52 am

/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.
ejagannathanp1
 
Posts: 8
Joined: Thu Feb 10, 2022 11:27 am

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

Postby gsmith » Thu Mar 31, 2022 4:28 pm

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
gsmith
 
Posts: 1253
Joined: Tue Mar 02, 2021 11:15 am

Previous

Return to Nagios XI

Who is online

Users browsing this forum: No registered users and 8 guests