Since our license allows to use an test server I would to run a following scenario:
Production server does an daily backup to its local storage
Backup server downloads the backups on a daily basis
Backup server applies the backup to itself after download
As this is an test server we would like to disable the monitoring engine and notifications before the services start (which happens automatically after the restore) so we don't get any notifications under any circumstances.
Obviously we don't want any mails from the test server as it would give a lot of false-positives in our current setup.
Also there are some settings like the IP in the web interface that require fixing after the restore (anything else?).
How can we script all the above? Most important would be to start with the engine and notifications disabling (I think at least).
Glad you are setting up a test server! You should be able to script this out and you can use the Nagios External commands to disable checks or notification, they are really handy.
The question is which services/components should be disabled on a test server (licensing)?
Should I submit these commands immediately after the restore script?
Would this guarantee not getting any notifications or should I edit the recovery script and seet up the command somewhere in it?