Page 1 of 2

Unable to view scheduled report

Posted: Tue Aug 17, 2021 2:38 am
by preethu.d
Hi Team,

I have configured scheduled report in Nagios for some 10-11 interface for bandwidth usage (pdf format), but some times for I am not able to view 1 or 2 reports, attached the error screenshot. What could be the reason for this and how this can be fixed.

Regards,
Preethu

Re: Unable to view scheduled report

Posted: Tue Aug 17, 2021 1:46 pm
by gsmith
Hi

Please edit /etc/php.ini:

Code: Select all

max_input_vars = 50000
	memory_limit = 1024M
	max_execution_time = 120
	max_input_time = 300
Then restart the httpd and nagios services.

Let me know the results.

Thanks

Re: Unable to view scheduled report

Posted: Wed Aug 18, 2021 2:13 am
by preethu.d
Hi,

I checked php.ini file and below are the current values already set. It is higher than what you have shared. Do I still need to make any changes.

max_input_vars = 50000
memory_limit = 2048M
max_execution_time = 180
max_input_time = 300

Regards,
Preethu

Re: Unable to view scheduled report

Posted: Wed Aug 18, 2021 9:37 am
by gsmith
Hi

No need to make changes, the values you have are fine.

Please send me a System Profile

To send us your system profile.
1. Login to the Nagios XI GUI using a web browser.
2. Click the "Admin" > "System Profile" Menu
3. Click the "Download Profile" button
4. Save the profile.zip file and share this in a private message and then reply to this post to bring it up in the queue.

Thanks

Re: Unable to view scheduled report

Posted: Tue Aug 24, 2021 8:55 am
by preethu.d
Hi,

I have sent you the system profile, please check.

Regards,
Preethu

Re: Unable to view scheduled report

Posted: Wed Aug 25, 2021 10:23 am
by gsmith
Hi

Please answer the questions and send the required info:
Is it always the same report(s) that fail?
Please send me /usr/local/nagiosxi/var/scheduledreporting.log
Please send me a screenshot of My Scheduled Reports- My Scheduled Reports tab
Please send me a screenshot of My Scheduled Reports- My Scheduled Reports History tab



The next time a bad report is generated please send me a System Profile.
To send us your system profile.
1. Login to the Nagios XI GUI using a web browser.
2. Click the "Admin" > "System Profile" Menu
3. Click the "Download Profile" button
4. Save the profile.zip file and share this in a private message and then reply to this post to bring it up in the queue.

Thanks

Re: Unable to view scheduled report

Posted: Thu Aug 26, 2021 6:25 am
by preethu.d
Hi,


Is it always the same report(s) that fail?
>>>> no, I am seeing the issue for different reports. and I am seeing this issue everyday for one or other report.
Please send me /usr/local/nagiosxi/var/scheduledreporting.log
>> >>sent you in a PM
Please send me a screenshot of My Scheduled Reports- My Scheduled Reports tab
>>>> sent you in a PM
Please send me a screenshot of My Scheduled Reports- My Scheduled Reports History tab
>>>> sent you in a PM

Regards,
Preethu

Re: Unable to view scheduled report

Posted: Thu Aug 26, 2021 2:20 pm
by ssax
It looks like you're having apache issues:

Code: Select all

AH01075: Error dispatching request to : (reading input brigade)
AH01276: Cannot serve directory /usr/local/nagiosxi/html/includes/js/highcharts/: No matching DirectoryIndex (index.html,index.php) found, and server-generated directory index forbidden by Options directive
AH01276: Cannot serve directory /usr/local/nagiosxi/html/includes/js/jquery/: No matching DirectoryIndex (index.html,index.php) found, and server-generated directory index forbidden by Options directive
Please run this command as root and PM me the resulting /tmp/SUPPORTFILES.zip file:

Code: Select all

zip -r /tmp/SUPPORTFILES.zip /etc/httpd/conf/httpd.conf /etc/httpd/conf.d /etc/php.ini /etc/php-fpm.d /etc/my.cnf /etc/my.cnf.d

Re: Unable to view scheduled report

Posted: Mon Sep 06, 2021 2:29 am
by preethu.d
Hi,

Sent you in a PM.

Regards,
Preethu

Re: Unable to view scheduled report

Posted: Tue Sep 07, 2021 3:11 pm
by ssax
Edit your /etc/php.ini and change this:

Code: Select all

max_execution_time = 180
To this:

Code: Select all

max_execution_time = 300
Then follow the instructions in the attached file.

See if that resolves it.

If it doesn't, run this command as root and leave it running:

Code: Select all

tail -Fn0 /var/log/httpd/*error_log /usr/local/nagiosxi/var/wkhtmltox.log
Then run the report again and once it's sent, send us the full output from the still running tail command above.