double report

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
User avatar
Francesco
Posts: 124
Joined: Wed Oct 28, 2015 5:02 am
Location: /usr
Contact:

double report

Post 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?
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: double report

Post 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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked