Page 1 of 1

double report

Posted: Fri Jan 25, 2019 9:05 am
by Francesco
Hi all,
we started receiving double schedule report.

In the web page we have only one entry for every report, but in the crontab of the apache I fount lot of row duplicated.

Code: Select all

# crontab -l -u apache | grep btl46c
0 9 * * *       /usr/bin/php /usr/local/nagiosxi/html/includes/components/scheduledreporting/sendreport.php --report=btl46c --username=ferria > /dev/null 2>&1
0 9 * * *       /usr/bin/php /usr/local/nagiosxi/html/includes/components/scheduledreporting/sendreport.php --report=btl46c --username="ferria" > /dev/null 2>&1
If I (temporary) disable the report only one row are deleted in the crontab, the one with double quotes (") in the username

Code: Select all

# crontab -l -u apache | grep btl46c
0 9 * * *       /usr/bin/php /usr/local/nagiosxi/html/includes/components/scheduledreporting/sendreport.php --report=btl46c --username=ferria > /dev/null 2>&1
Ho I can delete the double report?

Re: double report

Posted: Fri Jan 25, 2019 1:46 pm
by tgriep
Leave the one report disabled and remove the other report from the Apache crontab and restart crond.
Then, re-enable the other report and check to see if only one report is displayed.
If so, then you should only be receiving one report.
If not, let us know.