Training
Module
Send notifications in Dynamics 365 Business Central - Training
Discover how to create, send, and enhance user interactions through notifications in this comprehensive guide in Dynamics 365 Business Central.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
To configure alert notifications for System Center - Operations Manager, your first task is to enable a notification channel. This article describes how to configure a channel that will send alert notifications to subscribers from an email server either within the domain of the organization or external email authentication.
Before you begin, gather the following information:
SMTP server information
Fully qualified domain name (FQDN).
Port number for the SMTP server.
Authentication method for the SMTP server. You have three choices:
Note
Operations Manager supports configuration of any external email account to send the notifications through External Email Authentication. You've the flexibility in terms of which email account is to be used for sending out the notification emails.
Return email address. This address is used for all email notifications on this channel and will receive any replies to notifications.
Email subject and body text that you want subscribers to receive. For more information, see How to customize message content for notifications.
Sign in to the computer with a user account that is a member of the Operations Manager Administrators role.
In the Operations console, select Administration.
In the navigation pane, under Notifications, right-click Channels. Select New channel and select E-mail (SMTP).
Enter a name for the channel, such as SMTP channel, and optionally provide a description. Select Next.
In the SMTP servers area, select Add.
In the Add SMTP Server dialog, enter the fully qualified domain name (FQDN) of a Simple Mail Transfer Protocol (SMTP) server, enter the port number, select the authentication method used by the SMTP server, and select OK.
Note
You can add one or more additional servers to act as backup servers. If the primary SMTP server is unavailable, notifications are sent through the secondary server.
Enter the Return Address that should appear on email notifications, and then in the Retry interval list, select the number of minutes to wait before trying to resend a notification to the primary SMTP server. Select Next.
Note
If you've only one SMTP server and it's unavailable, the Retry interval has no effect. The Retry interval is used when you have a secondary server and mail sending to the primary server fails. When this happens, Operations Manager switches to the secondary server and checks the Retry interval time. If the Retry interval time has passed, Operations Manager tries to use the primary server.
In the Default e-mail notification format area, specify the E-mail subject and E-mail message text or leave the default selections, select the Importance level that you want the emails sent with, and then specify the Encoding type. You can click the right arrow next to the E-mail subject and E-mail message boxes for a full list of available variables. For more information, see How to customize message content for notifications.
Select Finish, and select Close.
Operations Manager has the ability to create and send email notifications in HTML format.
With this feature, an administrator would be able to configure an email in HTML format for sending notifications to subscribers. The administrators can use the existing default HTML email template, edit it, or create a new HTML message. With HTML email format, subscribers get easy access to relevant information about the alert, alert source, and the rule/monitor that generated the alert. They can view these details through the drill-down links available at the end of the email.
To create an email in HTML format, perform the following steps:
Use the procedure in the above section for creating the email notification channel.
While configuring the format of the email notifications, select Enable HTML formatting as shown in the image below:
To edit or change the default content:
While editing the HTML email content, you can add the required alert property or the web console link by using the applicable variable in the appropriate position of your HTML content.
The following table highlights the variables to use for various properties of the alert or links to the HTML content.
Alert property of the link | Variable |
---|---|
Alert Source | $Data[Default='Not Present']/Context/DataItem/ManagedEntityPath$$Data[Default='Not Present']/Context/DataItem/ManagedEntityDisplayName$ |
Alert Name | $Data[Default='Not Present']/Context/DataItem/AlertName$ |
Alert Description | $Data[Default='Not Present']/Context/DataItem/AlertDescription$ |
Alert Severity | $Data[Default='Not Present']/Context/DataItem/Severity$ |
Alert Priority | $Data[Default='Not Present']/Context/DataItem/Priority$ |
Alert Category | $Data[Default='Not Present']/Context/DataItem/Category$ |
Alert Owner | $Data[Default='Not Present']/Context/DataItem/AlertOwner$ |
Alert Resolved By | $Data[Default='Not Present']/Context/DataItem/ResolvedBy$ |
Alert Raised Time | $Data[Default='Not Present']/Context/DataItem/TimeRaisedLocal$ |
Alert Last Modified Time | $Data[Default='Not Present']/Context/DataItem/LastModifiedLocal$ |
Alert Last Modified By | $Data[Default='Not Present']/Context/DataItem/LastModifiedBy$ |
Custom FieldN (N varies from 1 to 10) | $Data[Default='Not Present']/Context/DataItem/CustomN$ |
WebConsole Alert Link | $Target/Property[Type="Notification!Microsoft.SystemCenter.AlertNotificationSubscriptionServer"]/WebConsoleUrl$/#/monitoring/drilldown/alert/$UrlEncodeData/Context/DataItem/AlertId$ |
WebConsole Alert Source Link | $Target/Property[Type="Notification!Microsoft.SystemCenter.AlertNotificationSubscriptionServer"]/WebConsoleUrl$/#/monitoring/drilldown/object/$UrlEncodeData/Context/DataItem/ManagedEntity$ |
The following example is created from a critical severity alert:
The following example is created from a warning severity alert:
To designate when to send notifications and the addresses to which the notifications should be sent, review How to create notification subscribers.
To define the criteria, notification channel, and subscribers that will receive the notification, create a notification subscription.
Training
Module
Send notifications in Dynamics 365 Business Central - Training
Discover how to create, send, and enhance user interactions through notifications in this comprehensive guide in Dynamics 365 Business Central.