Scheduled Report not working

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
manimurugesan
Posts: 145
Joined: Wed Oct 03, 2018 9:15 am

Scheduled Report not working

Post by manimurugesan »

Hi,

We have few scheduled reports for daily, weekly, monthly and was not triggering/sending as scheduled.
Also we have troubleshooted below steps : (getting outputs as per troubleshoot but reports are not sending)

{
The first step is to check the contents of the apachecrontab file with the following command:
cat /var/spool/cron/apache

Once you've done this, go and schedule a report as a test.

After that, execute the command above to view the crontab file again.

If there is no change in the output, execute the following command:

grep crontab /var/log/httpd/*

If you see this error message:

You (apache) are not allowed to use this program (crontab)

Thecron.allowfile needs updating to resolve this issue.

Execute the following command to add theapacheuser to the/etc/cron.allowfile:

echo apache >> /etc/cron.allow

Once you have made this change, go schedule the report again and the/var/spool/cron/apacheshould now be updated.
}

Please help me in resolving this issue.
Thanks in advance!
gsmith
Posts: 1253
Joined: Tue Mar 02, 2021 11:15 am

Re: Scheduled Report not working

Post by gsmith »

Hi

Please edit /etc/php.ini and update/verify the following values:


max_input_vars = 50000
memory_limit = 1024M
max_execution_time = 120
max_input_time = 300

Once you have made the changes please restart the Apache service and
test the scheduled reports.

Let me know the results please.

Thanks
manimurugesan
Posts: 145
Joined: Wed Oct 03, 2018 9:15 am

Re: Scheduled Report not working

Post by manimurugesan »

Thank you for the response.
But the issue resolved now there was timing issue in the nagios server.
gsmith
Posts: 1253
Joined: Tue Mar 02, 2021 11:15 am

Re: Scheduled Report not working

Post by gsmith »

HI,

So you have a new issue now?

Thanks
Locked