Variables that can be used in the EmailBodyTemplate.txt and EmailSubjectTemplate.txt


If any of these are changed in the EnhancedNotificationService.exe.confg file you must restart ENS for SCOM.


You will need to wrap these in double percent signs. IE %%ALERT_Id%%


ALERT_Id %%ALERT_Id%%

ALERT_Name %%ALERT_Name%%

ALERT_DisplayName %%ALERT_DisplayName%%

ALERT_Source %%ALERT_Source%%

ALERT_ResolutionStateString %%ALERT_ResolutionStateString%%

ALERT_SubScriptionId %%ALERT_SubScriptionId%%

ALERT_SubScriptionName %%ALERT_SubScriptionName%%

ALERT_SubScriptionSubscribers: %%ALERT_SubScriptionSubscribers%%

ALERT_Description %%ALERT_Description%%
ALERT_AlertMessageDescription %%ALERT_AlertMessageDescription%%

ALERT_UnformattedDescription %%ALERT_UnformattedDescription%%

ALERT_MonitoringObjectId %%ALERT_MonitoringObjectId%%

ALERT_MonitoringClassId %%ALERT_MonitoringClassId%%

ALERT_ClassId %%ALERT_ClassId%%

ALERT_MonitoringObjectDisplayName %%ALERT_MonitoringObjectDisplayName%%

ALERT_MonitoringObjectName %%ALERT_MonitoringObjectName%%

ALERT_MonitoringObjectPath %%ALERT_MonitoringObjectPath%%

ALERT_MonitoringObjectFullName %%ALERT_MonitoringObjectFullName%%

ALERT_IsMonitorAlert %%ALERT_IsMonitorAlert%%

ALERT_ProblemId %%ALERT_ProblemId%%

ALERT_MonitoringRuleId %%ALERT_MonitoringRuleId%%

ALERT_RuleId %%ALERT_RuleId%%

ALERT_ResolutionStateNumber %%ALERT_ResolutionStateNumber%%

ALERT_Priority %%ALERT_Priority%%

ALERT_Severity %%ALERT_Severity%%

ALERT_Category %%ALERT_Category%%

ALERT_Owner %%ALERT_Owner%%

ALERT_ResolvedBy %%ALERT_ResolvedBy%%

ALERT_TimeRaised %%ALERT_TimeRaised%%

ALERT_TimeAdded %%ALERT_TimeAdded%%

ALERT_LastModified %%ALERT_LastModified%%

ALERT_LastModifiedBy %%ALERT_LastModifiedBy%%

ALERT_TimeResolved %%ALERT_TimeResolved%%

ALERT_TimeResolutionStateLastModified %%ALERT_TimeResolutionStateLastModified%%

ALERT_CustomField1 %%ALERT_CustomField1%%

ALERT_CustomField2 %%ALERT_CustomField2%%

ALERT_CustomField3 %%ALERT_CustomField3%%

ALERT_CustomField4 %%ALERT_CustomField4%%

ALERT_CustomField5 %%ALERT_CustomField5%%

ALERT_CustomField6 %%ALERT_CustomField6%%

ALERT_CustomField7 %%ALERT_CustomField7%%

ALERT_CustomField8 %%ALERT_CustomField8%%

ALERT_CustomField9 %%ALERT_CustomField9%%

ALERT_CustomField10 %%ALERT_CustomField10%%

ALERT_TicketId %%ALERT_TicketId%%

ALERT_Context %%ALERT_Context%%

ALERT_KB_Content %%ALERT_KB_Content%%

ALERT_ConnectorId %%ALERT_ConnectorId%%

ALERT_LastModifiedByNonConnector %%ALERT_LastModifiedByNonConnector%%

ALERT_MonitoringObjectInMaintenanceMode %%ALERT_MonitoringObjectInMaintenanceMode%%

ALERT_MonitoringObjectHealthState %%ALERT_MonitoringObjectHealthState%%

ALERT_ConnectorStatus %%ALERT_ConnectorStatus%%

ALERT_RepeatCount %%ALERT_RepeatCount%%

ALERT_NetbiosComputerName %%ALERT_NetbiosComputerName%%

ALERT_NetbiosDomainName %%ALERT_NetbiosDomainName%%

ALERT_PrincipalName %%ALERT_PrincipalName%%

ALERT_SiteName %%ALERT_SiteName%%

ALERT_MaintenanceModeLastModified %%ALERT_MaintenanceModeLastModified%%

ALERT_StateLastModified %%ALERT_StateLastModified%%

ALERT_Parameters %%ALERT_Parameters%%

ALERT_Type %%ALERT_Type%%

ALERT_Overrides %%ALERT_Overrides%%

ALERT_WebConsoleURL %%ALERT_WebConsoleURL%%

ALERT_WebConsoleURLWithAlertID %%ALERT_WebConsoleURLWithAlertID%%

ALERT_ManagementGroup %%ALERT_ManagementGroup%%

ALERT_ManagementGroupId %%ALERT_ManagementGroupId%%

ALERT_ManagementPackName %%ALERT_ManagementPackName%%

ALERT_ManagementPackDisplayName %%ALERT_ManagementPackDisplayName%%

ALERT_ManagementPackFriendlyName %%ALERT_ManagementPackFriendlyName%%

ALERT_ManagementPackDescription %%ALERT_ManagementPackDescription%%

ALERT_ManagementPackId %%ALERT_ManagementPackId%%

ALERT_ManagementPackIdentifier %%ALERT_ManagementPackIdentifier%%

ALERT_ManagementPackTimeCreated %%ALERT_ManagementPackTimeCreated%%

ALERT_ManagementPackLastModified %%ALERT_ManagementPackLastModified%%

ALERT_ManagementPackVersion %%ALERT_ManagementPackVersion%%

ALERT_ManagementPackVersionId %%ALERT_ManagementPackVersionId%%

ALERT_ManagementPackSealed %%ALERT_ManagementPackSealed%%


ALERT_History %%ALERT_History%%

ManagementServer_SendingAlert: %%ManagementServer_SendingAlert%%

Version %%Version%%


The following are read from the EnhancedNotificationService.exe.config:


ALERT_ResolutionStateColor: %%ALERT_ResolutionStateColor%%

ALERT_ResolutionStateBackgroundColor: %%ALERT_ResolutionStateBackgroundColor%%

ALERT_ResolutionStateTxt: %%ALERT_ResolutionStateTxt%%

ALERT_ResolutionStateTxt2: %%ALERT_ResolutionStateTxt2%%

ALERT_SeverityColor: %%ALERT_SeverityColor%%

ALERT_SeverityTxt: %%ALERT_SeverityTxt%%

ALERT_SeverityTxt2: %%ALERT_SeverityTxt2%%