As a provider or an administrator, you can forward the VMware Cloud Director Availability events notifications to a syslog server, and or by using email delivery. Both delivery channels carry the same event information.
Prerequisites
- Verify that VMware Cloud Director Availability 4.6 or later is deployed for configuring the event notifications for vSphere DR and migration.
- To use the email delivery channel for events notifications, verify that your SMTP server is already configured and that it can accept emails from the VMware Cloud Director Availability appliance.
Procedure
- Log in to the management interface of the VMware Cloud Director Availability appliance.
- In a Web browser, go to https://Appliance-IP-Address/ui/admin.
- Select Appliance login or SSO login and enter the root or the single sign-on user credentials.
- Click Login.
- In the left pane, under Configuration click Events and Notifications.
Note: To forward the events to the syslog server and to email, first you must configure these delivery channels. While not yet configured, the Syslog and the Email check boxes display not configured and remain dimmed.
- To configure the syslog server, under Receive notifications via the following channels next to Syslog click Configure.
- In the Syslog window, enter the syslog server address and the UDP port.
- To save the syslog configuration, click Apply.
- (Optional) To configure the email delivery channel, under Receive notifications via the following channels next to Email click Configure.
- In the Configure Email Settings window, enter the following configuration details.
Option Description SMTP server name
You must enter the IP or hostname of an operational SMTP server. SMTP server port
You must enter the TCP port of the SMTP server. By default, 25. SMTP server secure mode
Optionally, select the SMTP encryption mode: - None, by default.
- SSL
- Start TLS
SMTP authentication required
Optionally, activate the SMTP authentication, then you must enter: - User name
- Password
Sender's email address
You must enter the email address of the notifications sender. Email subject prefix
Optionally, enter the subject of the email notifications. Recipients' email addresses You must enter one or multiple recipients that all receive the email notifications. - To save the email delivery channel configuration, click Apply.
- In the Configure Email Settings window, enter the following configuration details.
- Under Receive notifications for the following events configure the delivery channels for each event type.
- (Optional) To configure all event types at once, click Quick Activate/Deactivate, then click Apply.
- Alternatively, configure each event type by following the next steps:
- Under the User Activities section, to configure each event type click Edit then to save the settings click Apply.
Event type Activity triggers Notifications delivery channels Replications Activities on the following pages in the left pane: - Incoming Replications
- Recovery Plans
- and Start/Stop events for replication tasks
Select the delivery channels: - Syslog
Configuration Activities on the following pages in the left pane: - Settings
- Peer Sites
- Replicator Services
Select the delivery channels: - Syslog
System Activities on the following pages in the left pane: - Support Bundles
- Backup Archives
- and Start/Stop events for System tasks
Select the delivery channels: - Syslog
Session Activities related to users sessions: - Login
- Logout
Select the delivery channels: - Syslog
- Under the Monitoring Events section, configure the following two monitoring event types.
- Next to Service connectivity and monitoring, click Edit, then to save the settings click Apply.
Option Description Events types vCenter Server Lookup service connectivity, database connectivity, certificate expiration, SSH activation, and others.
Receive notifications via the following channels
Select the notifications delivery channels:- Syslog
Connectivity poll interval The time interval between polls for connectivity issues. By default, 30 seconds. Configuration poll interval The time interval between polls for configuration issues. By default, 1 day. Certificate expiry threshold The time before a certificate expires to start forwarding events. By default, 30 days prior. Policy compliance poll interval
The time interval between polls for policy compliance issues. By default, 60 minutes. - Next to Replication errors and warnings, click Edit, then to save the settings click Apply.
Option Description Events types Any replication errors and RPO violations.
Receive notifications via the following channels
Select the notifications delivery channels:- Syslog
Poll interval
The time interval between polls for replication issues. By default, 5 minutes. RPO violation threshold time
Only forward events for RPO violation time above this threshold. 0 forwards events for any RPO violation. By default, 30 minutes.
RPO violation threshold count
Only forward events for RPO violations count above this threshold. 0 forwards any number of replications with an RPO violation. By default, 0.
- (Optional) To configure the time before forwarding an event again while the condition is still active, under the Monitoring Events section next to Monitoring events forwarding time, click Edit.
Without any delivery channel selected for Monitoring Events, the Monitoring events forwarding time displays N/A and to configure it, you must select at least one delivery channel for either or for both Service connectivity and monitoring and Replication errors and warnings.
- In the Notification settings window, under Monitoring events forwarding time enter the forwarding time.
By default, Monitoring events forwarding time is 24 hours.
- To save the configuration for events notifications reposting, click Apply.
- In the Notification settings window, under Monitoring events forwarding time enter the forwarding time.
Results
VMware Cloud Director Availability starts forwarding the events notifications by using the selected delivery channels.
What to do next
You can monitor VMware Cloud Director Availability by using the syslog server, or your email client.
You can also subscribe for a weekly summary email. For more information, see Subscribe for weekly summary email.