Unable to view scheduled report

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
preethu.d
Posts: 109
Joined: Wed Nov 25, 2020 11:32 pm

Unable to view scheduled report

Post 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
You do not have the required permissions to view the files attached to this post.
gsmith
Posts: 1253
Joined: Tue Mar 02, 2021 11:15 am

Re: Unable to view scheduled report

Post 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
preethu.d
Posts: 109
Joined: Wed Nov 25, 2020 11:32 pm

Re: Unable to view scheduled report

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

Re: Unable to view scheduled report

Post 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
preethu.d
Posts: 109
Joined: Wed Nov 25, 2020 11:32 pm

Re: Unable to view scheduled report

Post by preethu.d »

Hi,

I have sent you the system profile, please check.

Regards,
Preethu
gsmith
Posts: 1253
Joined: Tue Mar 02, 2021 11:15 am

Re: Unable to view scheduled report

Post 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
preethu.d
Posts: 109
Joined: Wed Nov 25, 2020 11:32 pm

Re: Unable to view scheduled report

Post 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
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Unable to view scheduled report

Post 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
preethu.d
Posts: 109
Joined: Wed Nov 25, 2020 11:32 pm

Re: Unable to view scheduled report

Post by preethu.d »

Hi,

Sent you in a PM.

Regards,
Preethu
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Unable to view scheduled report

Post 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.
You do not have the required permissions to view the files attached to this post.
Locked