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.
How to disable scheduled report functionality
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: How to disable scheduled report functionality
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 ).
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.
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
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: How to disable scheduled report functionality
Perfect, that will work. Thank you.
You can lock this.
You can lock this.
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: How to disable scheduled report functionality
Hi @rferebee,
Super. Thanks for the update.Perfect, that will work. Thank you.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!