Page 1 of 1

How to disable scheduled report functionality

Posted: Mon Jan 27, 2020 4:20 pm
by rferebee
Good afternoon,

My Nagios XI test server is sending out scheduled reports duplicated from my production server. Every week we restore a backup of the production server to our test server so we have a fail over available if needed.

I'm hoping there's a way I can disable e-mail sending on my test server. Perhaps in the CLI? Preferably someway that won't get overwritten every week when we restore the production backup to the test server.

Thank you.

Re: How to disable scheduled report functionality

Posted: Tue Jan 28, 2020 11:47 am
by benjaminsmith
Hello @rferebee,

The scheduled reports are handled by cron. You could stop the cron service or edit the crontab file and comment out the jobs. Run the following command to view the scheduled jobs ( -e to edit ).

Code: Select all

crontab -u apache -l
The problem with stopping cron is that this will affect other operations on the server such as database maintenance, so editing the contrab for scheduled reports is the better option.

Re: How to disable scheduled report functionality

Posted: Wed Jan 29, 2020 1:38 pm
by rferebee
Perfect, that will work. Thank you.

You can lock this.

Re: How to disable scheduled report functionality

Posted: Wed Jan 29, 2020 1:53 pm
by benjaminsmith
Hi @rferebee,
Perfect, that will work. Thank you.
Super. Thanks for the update.