This page applies to an earlier version of the AppDynamics App IQ Platform.
See the latest version of the documentation.
On this page:
A custom action is typically used to integrate third party alerting and ticketing systems. A custom action is different from other actions in that it executes just once on the controller instance.
The custom action is made up of a custom action script and a custom.xml file, which you must create before you can create an action that uses them. The custom action scripts include parameters for specifying the affected entity, for example the tier, node, business transaction, etc. See Build a Custom Action for details on how to create the custom action script and xml file.
Custom actions are commonly used when you want to trigger a human work flow or leverage an existing alerting system that is external to AppDynamics. For example, you could use a custom action to file a JIRA ticket when AppDynamics reports that a connection pool is near saturation.
Create a Custom Action
After the custom action script and custom.xml files have been tested manually and installed on the Controller and you have restarted the Controller, you can create the custom action.
To create a custom action:
- Access the actions configuration window. See Create and Modify Actions in Actions.
- Select Run a Custom Action that has been uploaded to the Controller.
- Click OK.
- Enter a name for the action.
- Select the custom action from the dropdown list.
- Click Save.
The custom action is now available for assignment to a policy.
Disabling Custom Actions on a Multi-Tenant Controller
Because a custom action script has access to the Controller file system, for security reasons you may decide to disable this functionality in a multi-tenant environment.
To disable custom actions
- Open the Controller admin console.
- Go to Controller Settings.
- Search for the
- Set to
- Click Save.