Download PDF
Download page Notification Actions.
Notification Actions
This page provides an overview of notification actions in AppDynamics. A notification action sends an email or SMS to a recipient or recipient list.
Email Notifications
You can create an email notification with or without an email template.
Email Notification Without a Template
For an email notification without a template, the contents of the email are automatically generated by the policy that triggers the action. The generated message contains a direct link to the Controller UI that details the triggering event, which is the place for the recipient to start troubleshooting the problem. You must provide the email addresses of the notification recipients. By default, all notifications are timestamps based on the time zone of your Controller. You can also change to a preferred time zone.
If you create an email notification without using a template, the recipients get following message:
When you configure a policy to start an email notification action that has not been created with a template, you can add an optional note to the email. This note is applied only when the action is invoked by the particular policy. By adding an optional note, you can customize email notifications for the policies that invoke them.
Email Notification With a Template
For an email notification with a template, you must provide the name of the email template to use. The email template specifies the message and is not generated automatically by the policy that triggers the action. The template also provides for addressing multiple recipients. You can add and delete recipients when you create an action using the template. All the notifications timestamps are in Pacific Time (PST).
The email template must already exist before you can use it in an action. Email templates are created by users who have account-level permissions to create templates. See Email Templates for information about creating templates.
The body of the message is specified in the email template. It is not generated automatically.
All the text in the message must be created in the template. Customization is accomplished through the use of variables in the message body, which are replaced by actual values when the message is sent.
You can use a template to:
- Reuse the notification in other policies
- Customize the body of the message
- Decorate the notification with your own branding
- Add custom SMTP headers to the email
- Control whether the email is sent once or several times for each event
- Control the maximum number of triggering events listed in the email using a clamp limit
- Integrate with third-party email APIs, such as Remedy
Create Email Notification
To create an email notification:
- Click Alert & Respond > Actions.
- Select an application, database, server, or analytics from the dropdown list.
- Click + Create to create an action.
- Under Notifications, select Send an email. To use a template to create the email notification, check Use template?.
- Click OK.
- Do one of the following:
- If you are not using a template:
- Enter the name of the action.
- Enter the preferred time zone of your location. By default, the time zone of your browser is displayed.
- Enter the email address in the To, Cc, and Bcc fields to which you want to send the notification. You can add multiple email addresses in these fields. Use comma to separate multiple email addresses. For example, user1@example.com, user2@example.com, user3@example.com.
- If you are using a template:
- Enter the name of the action.
- Select the appropriate template from the dropdown list.
Unless disallowed by the template, you can add recipients at this time but you cannot remove any of the required recipients that were configured in the email template. - Enter the email address in the To, Cc, and Bcc fields to which you want to send the notification. You can add multiple email addresses in these fields. Use comma to separate multiple email addresses. For example, user1@example.com, user2@example.com, user3@example.com.
- If you are not using a template:
- Click Save.
If email and SMS settings have not been configured for AppDynamics, configure them now. See Configure an SMTP Server.
SMS Notifications
The content of the SMS is automatically generated. It contains:
- Notification header
- Application name
- Triggered time
Notifications of health rule violations also include: Name of health rule violated
Event notifications also include:
- Event notification configuration name
- Map of event types to the number of these events
An SMS notification configuration specifies the phone number of the recipient. All the notifications timestamps are in Pacific Time (PST).
To create an SMS notification:
- Access the Actions Configuration panel. See Create and Modify Actions in Actions.
- Under Notifications, select Send an SMS message in the Create Action panel.
- Enter the phone number to send the notification.
- Click OK.
If you have not configured email and SMS settings for AppDynamics, configure them now. See Enable the Email Server.