Enable Email Notifications if Cluster is Down
If you are running a multi-tenant system with FileCloud, make sure all site URLs for each site is accessible from the local site. This is used by the task scheduler/cron to run automated tasks for each site.
Email can be used to monitor not only clusters in a multi-tenancy but any MongoDB replica you have set up.
FileCloud uses a cron job (on Linux) or Windows Task Scheduler (on Windows) to perform certain ongoing maintenance tasks.
One of these tasks can be to send an email when one of the cluster instances or any MongoDB replica is down.
The email settings used for this notification are in cloudconfig.php.
- The email will be sent from: TONIDOCLOUD_REPLY_TO_EMAIL
- The email will be sent to the address configured in: TONIDOCLOUD_DBSERVER
These settings should already be configured in your cloudconfig.php file.