AppDynamics plugin
The Moogsoft Cloud AppDynamics plugin receives JSON event data on a specified port number and IP address, and forwards it to the Moogsoft Cloud 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.
When to use the AppDynamics plugin
Moogsoft offers two convenient mechanisms for integration with AppDynamics.
Use the Moogsoft Cloud AppDynamics plugin with the Moogsoft Collector when you:
Want to send AppDynamics data to the Moogsoft Cloud Events API or when you cannot install a collector on the same system as your SaaS product.
Don’t want to make direct outbound calls from your environment.
Can install a collector on a host in your environment and it will act as a proxy.
Use the Moogsoft Cloud AppDynamics Integration:
To ingest events from AppDynamics and send them to Moogsoft Cloud with automatic mapping.
When you can configure your AppDynamics instance to authenticate against a Moogsoft Cloud endpoint to send data to Moogsoft Cloud . This integration does not require a Moogsoft Cloud Collector and you can use authentication.
Install a Collector
Navigate to the Integrations > Ingestion Services > Collector tab to configure and enable Moogsoft Cloud Collector plugins. You can set up a collector plugin when you download a new collector, or any time thereafter when configuring an existing collector.
To use the AppDynamics plugin, you need to:
Install the Moogsoft Cloud Moogsoft Collector on a host within your secure network, as the plugin does not use authentication.
Navigate to the Ingestion Services > Collector tab to configure and enable collector plugins. Do not go directly to the Plugins tab, to configure the plugin, as the plugin needs to be associated with a specific collector to work properly.
You can set up a Moogsoft Cloud Collector plugin when you download a new collector, or any time thereafter when configuring an existing Moogsoft Cloud Collector.
Configure and enable the AppDynamics plugin
To use the AppDynamics plugin, you need to install a Moogsoft Cloud Collector. Once your collector is installed:
Go to the Ingestion Services > Collectors page and select your specific collector.
Click the AppDynamics plugin, located on the Plugins tab.
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.
Configure AppDynamics
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.
Create the 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 Moogsoft endpoint URL consisting of the name and port for the collector? Example: |
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-Moogsoft-API-key. For information on generating an API key, see Manage Moogsoft Cloud API keyss. |
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 the request template to AppDynamics policies
Add your new HTTP request template to all AppDynamics policies that you want to observe in Moogsoft Cloud .
In AppDynamics, choose Alert and Respond and then Policies.
For each policy that you want to observe in Moogsoft Cloud , do the following:
Enable all the event triggers that you want to observe in the Moogsoft Cloud 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.
Validate the plugin and AppDynamics integration
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 AppDynamic data is flowing into the plugin.
Check the Collector Logs on the Collectors panel to help troubleshoot your installation and configuration.
Discover more
Explore Moogsoft Cloud documentation to learn more about our Moogsoft Cloud product.
Read about Moogsoft Cloud collectors.
Learn about AppDynamics in AppDynamics documentation.