This topic introduces you to the automated alert and response capabilities in AppDynamics.
AppDynamics can generate notifications or take other types of actions based on conditions or events you configure. Using the alert and respond feature, you can find out about problems as they happen, or even before they happen when you define alerts on warning conditions.
In AppDynamics, policies serve as the central configuration artifact for the alert and respond feature. A policy ties one or more conditions or events to the measures to take when the condition is met or event happens.
The condition or event is defined by a health rule, while the steps to take are encapsulated by an action. AppDynamics comes with several preconfigured health rules, giving you a head start and examples for you to follow when creating your own. For example, built-in health rules test for whether the "Business Transaction error rate is much higher than normal" or "CLR Garbage Collection Time is too high". See Default Health Rules for more.
Actions automate the response to an event, such as the sending of an alert or performing diagnostic or remediation actions. See Alert and Respond API to learn how to create custom URLS for notifications.
While policies generate real-time responses to detected conditions, email digests generate email messages about the conditions and events in a system on a scheduled basis.
Notification actions that use email or SMS and email digests require that the SMTP server be configured for the controller. See Enable an Email Server.
Different users with different roles typically set up and use the various alert and respond features. Some permissions can be granted at the account level and some can be granted at the application or even the tier level.
Email templates, HTTP request templates, and Email/SMS configuration are account-level features. The scope for these features is the entire AppDynamics account and all the applications in that account. Users who have account-level roles that include the necessary permissions can create and manage account-level templates and configuration. These permissions belong to the predefined Account Owner role. The Account Owner can also create custom roles that include some of these permissions. For example, an account owner can create an email template manager role assign the role to users to give them the ability to create and modify email templates.
To create, manage, and configure these account-level features, you need the following permissions respectively:
Policies, health rules, actions and email digests are application-level or tier-level features. The scope of these features is the application or tier in which they were created. To create, manage, and configure these features, you need the following permissions respectively:
A policy matches evaluated event triggers with actions to be taken in response to those triggers.
The following use cases illustrate some of the ways you can use this feature.
The alert and respond features work across AppDynamics products, including Infrastructure Visibility, Analytics, EUM, and Application Monitoring. Unless otherwise noted, this documentation describes the features in the context of Application Monitoring, which, by its nature, offers the broadest range of configuration and use case options. Certain features as described may not apply to other AppDynamics products.
Additional usage notes include:
For full-screen viewing, click Configuring Actions and Policies.