Page 1 of 1

Scheduled Report not working

Posted: Wed Jul 21, 2021 5:21 am
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!

Re: Scheduled Report not working

Posted: Wed Jul 21, 2021 2:12 pm
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

Re: Scheduled Report not working

Posted: Thu Jul 22, 2021 11:36 am
by manimurugesan
Thank you for the response.
But the issue resolved now there was timing issue in the nagios server.

Re: Scheduled Report not working

Posted: Thu Jul 22, 2021 12:40 pm
by gsmith
HI,

So you have a new issue now?

Thanks