The APEX AIOps Incident Management AppDynamics plugin receives JSON event data on a specified port number and IP address, and forwards it to the Incident Management Events API. The AppDynamics plugin must be configured and enabled to begin collecting metrics.
AppDynamics must also be configured to send data to the plugin.
Incident Management includes two methods of integrating with AppDynamics.
Use the Incident Management AppDynamics plugin with the APEX AIOps Incident Management Collector when you:
Want to send AppDynamics data to the Incident Management Events API or when you cannot install an APEX AIOps Incident Management Collector on the same system as your SaaS product.
Don’t want to make direct outbound calls from your environment.
Can install an APEX AIOps Incident Management Collector on a host in your environment and it will act as a proxy.
Use the Incident Management AppDynamics Integration:
To ingest events from AppDynamics and send them to Incident Management with automatic mapping.
When you can configure your AppDynamics instance to authenticate against an Incident Management endpoint to send data to Incident Management. This integration does not require an Incident Management Collector and you can use authentication.
You must have a collector installed to use the AppDynamics plugin. See Install a Linux or MacOS collector or Install a Windows OS collector for instructions on setting up a new collector.
To configure the plugin on a collector:
Go to the Inbound Integrations > Collectors page and select your specific collector.
Click the Plugins tab, and then click the AppDynamics plugin.
Provide the parameter configuration information in the pop-up panel.
The pop-up panel has an Overview and a Configuration tab and provides links to configure the AppDynamics plugin or install a collector.
Parameter configuration:
In the Configuration tab of the AppDynamics plugin panel, define the following plugin parameters:
Address — Provide the address (IP address) that you want the collector to receive or listen on.
Port Number — Provide the port number that you want the collector to receive or listen on. Port number 8084 is set as the default port.
Toggle on the Enable option when you are ready to start plugin data ingestion.
To get incidents and alerts, you also need to configure AppDynamics to send event data to the plugin. You can do this before or after you enable the plugin. For more help about configuring AppDynamics, see AppDynamics documentation.
To configure AppDynamics to send event data to the plugin, you must create a HTTP Request Template.
To create a new HTTP request template:
Log in to AppDynamics and click the Alert and Respond tab.
Click HTTP Request Templates in the left nav.
Specify the settings as defined in the following table.
Template field | Value |
---|---|
Request URL endpoint | |
Method | POST |
Name | Alert POST |
RAW URL | The Incident Management endpoint URL consisting of the name and port for the collector. |
URL-Encoding | UTF-8 |
Enable authentication (as needed) | |
Authentication Type | Not required |
User ID | Not required |
Password | Not required |
Custom request header | |
Content Type | application/json |
apiKey | Your Incident Management API key. For information on generating an API key, see Manage APEX AIOps Incident Management API keys. |
Payload | |
MIME Type | application/json |
Payload Encoding | UTF-8 |
Payload text | Specify the payload you want to send. Example: Add the contents of this file to the field. Download example script. |
Response handling criteria | |
Failure | Each HTTP request template must handle the following status codes: 400, 401, 405, 406, 200, and 202. |
Success | 200. For the 200 status code, make sure that Expect Payload is enabled and the Content Type is application/json. |
Settings | |
One Request Per Event | Set to False (remove the checkmark) |
Connect timeout | 5000 (default) |
Socket timeout | 5000 (default) |
Add your new HTTP request template to all AppDynamics policies that you want to observe in Incident Management.
In AppDynamics, choose Alert and Respond and then Policies.
For each policy that you want to observe in Incident Management, do the following:
Enable all the event triggers that you want to observe in the Incident Management UI.
In the Actions tab, add the HTTP request template you just defined to the Actions to Execute tab.
After you complete the AppDynamics configuration, AppDynamics reports event data to your system.
To validate the integration, you have the following options:
Test that the AppDynamics plugin collector can listen on the specified port number and IP address.
To see if AppDynamics succeeded in transmitting data to the plugin:
Check the Incidents > Incidents page or the Incidents > Alerts page to see if the AppDynamics data is flowing into the plugin.
Check the Collector Logs on the Collectors panel to help troubleshoot your installation and configuration.