Configuring Email Alerts for TDV Events or Actions
You can trigger email notifications for TDV actions or events.
Tip from an expert: The following configuration parameters are left over from functionality that does not send email alerts: Email Addresses for CC, Enable Email Events, Email Addresses.
To enable email alerts
1. Open and log in to Studio.
2. From the Administration menu, choose Configuration.
3. Navigate to Server > Configuration > E-Mail.
4. Set values for the following:
Configuration Parameter | Description of Value | Example |
From Address | Email address that you want to appear in the From line for alerts. | meg@queenbeesknees.net |
SMTP Host Name | Name of the email server host. | javamail.queenbeesknees.com |
Maximum number of rows included in email attachment. | If set to 0, there is no restriction on the size of the email attachment. If set to a value greater than 0, the value is used as the maximum number of rows allowed for the attachment. | 0 |
5. Save and exit the Configuration window.
6. From the Studio resource tree, right-click and select New Trigger.
7. Name and enable it.
8. Set the type of event that you want to trigger the alert. For example, a system event such as a cache refresh or data source going down. For information on how to set the different types of triggers, see the TDV User Guide.
Choose System Event to collect information for typical TDV events including, Metrics collection, caching actions, and request spikes.
Typical Event Areas | System Event Name |
Metrics Alerts | MetricsPersistentFailure MetricsTruncationFailure MetricsBackupFailure MetricsRestoreFailure StatisticsGatheringFailure |
Caching | CacheRefreshFailure CacheRefreshSuccess |
Cluster Management | ClusterServerJoined ClusterServerConnected ClusterServerDisconnected ClusterServerShunned |
Data Source Management | DataSourceDown DataSourceUp |
Request Management | RequestFailure RequestInactive RequestRunForTooLong RequestsSpike TransactionFailure |
Resource Management | ResourceLock ResourceUnlock |
Errors and Login Management | ErrorsSpike FailedLoginSpike |
Server Management | ServerStart ServerStop |
Trigger Management | TriggerStart TriggerEnd TriggerFail |
9. Select the Action Type of Send E-mail.
10. Specify a Resource path. For example, /shared/examples/ds_orders/tutorial/customers.
11. Type the email addresses for which to send the email alerts. For example, meg@queenbeesknees.net.
12. Type a meaningful Message Subject.
13. Type a meaningful Message Body.
14. Save the trigger.