Notification template configuration settings

Use the Notification template configuration page to create a template that defines how notifications are sent. You specify such options as how the notification is published (for example, as a dashboard alert) and to whom the notification is sent.

To view this administrative console page, click Applications > Monitor Services > Monitor Action Services > Template Definitions > Notifications > New.

To configure a notification template definition, enter the information about this page, and click either Apply or OK.

Template name

Specifies the unique name of the notification template.

Description

Specifies a meaningful description of the notification template.

Default action service type

Specifies the default method of publishing the notification (by dashboard alert, cell phone, email, or pager).

'To' query type

Specifies the type of query used in the To field: federated repositories query, Lightweight Directory Access Protocol (LDAP) query, email address, or user ID.

To

Specifies the users to be notified by default when this template is used. This field can contain a federated repositories query, an LDAP query, or a space-separated list of email addresses or user IDs, as specified by the 'To' query type.

Here are two simple examples of federated repositories queries:
  • @xsi:type='PersonAccount' and uid='employee1'
  • @xsi:type='Group' and cn='AlertGroup'

Query base

Specifies the federated repositories or LDAP base to be used with the query. For example, the simple federated repositories query for a specific group is @xsi:type='Group' and cn='AlertGroup'.

Owner

Specifies the default owner for the notification template. The owner receives a notification if no users are subscribed to the notification.

Priority

Specifies the priority for the notification. When you view notifications in the Alert Manager widget, you can view and change the priority, and you can sort the notifications by priority.

Subject

Specifies the subject text for a notification, by using variables or XPath queries. The variables correspond to Common Base Event data fields and are identified with surrounding percent signs (for example, %CBEVARIABLE%). XPath Queries can be used to reference any of the data within the Common Base Event XML and are identified with two percent signs at the start and one at the end (for example, %%XPATH%). The prefix-namespace mappings used in the XPath are defined on the Template XML Namespaces properties page.

If you must display a percent sign anywhere in the text, precede it with the number sign (#). For example, #% is evaluated as %, and ## is evaluated as #.

The following examples evaluate to the same result:
The BSN is %BusinessSituationName%. 
The BSN is 
%%cbe:CommonBaseEvents/cbe:CommonBaseEvent/cbe:extendedDataElements[@name='BusinessSituationName']/cbe:values/text()
%.

Body

Specifies the message body for a notification, using variables.