You can integrate with AppDynamics so the Alert and Respond system posts data to your system when it generates an event.
See the AppDynamics documentation for details on AppDynamics components.
Before You Begin
Before you start to set up your AppDynamics integration, ensure you have met the following requirements:
- You have an active AppDynamics account.
- You have the necessary permissions to configure Alert and Respond templates, actions, and policies in AppDynamics.
- AppDynamics can make requests to external endpoints over port 443.
Configure the AppDynamics Integration
You can configure the AppDynamics integration in Moogsoft AIOps as follows:
- Navigate to the Integrations tab.
- Click AppDynamics in the Monitoring section.
- Follow the instructions to create an integration name.
See the AppDynamics Integration Reference for advanced configuration information.
Log in to AppDynamics to configure the Alert and Respond system to send event data to your system. For more help, see the AppDynamics documentation.
Create an HTTP request template in the AppDynamics Alert and Respond UI as follows:
Template Field Value Request URL endpoint Method POST Name Alert Post Request URL
The integration name is the name created in the previous section.
URL-Encoding UTF 8 Enable authentication Authentication Type BASIC User ID
Username generated in the Moogsoft AIOps UI.
Password generated in the Moogsoft AIOps UI.
Custom request header Header Content-Type Value application/json Payload MIME Type application/json Payload Encoding UTF-8 Payload text Add the contents of this file to the field Response Hangling Criteria Failure Status Codes 400, 401, 405, and 406 Success Status Code 200 Settings One Request Per Event True Connect timeout 5000 Socket timeout 5000
- You can test the HTTP Template with the following options:
- Set the Log Level to Debug.
Add an Event type of Health Rule Violation Started - Warning
For each AppDynamics business application you want to report events to your system create an action in AppDynamics.
Action Type: Make an HTTP Request
Action Field Value Name Send Alerts Template Alert Post
For each AppDynamics business application that should report events to your system, create a policy in AppDynamics that applies the "Send to AIOps" action to health rules.
Policy Field Value Trigger Tab Name Send Events Enabled check box Yes Health Rule Violation Events Select all required Actions Tab Action Send Alerts
After you complete the AppDynamics configuration, AppDynamics reports event data to your system for the relevant health rule violations.