A custom action is typically used to integrate third party alerting and ticketing systems with an on-premise controller. Custom action scripts are not supported on SaaS controller. A custom action is different from other actions in that it executes just once on the on-premise 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 an Alerting Extension 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.
- Follow the instructions in To create an action in Actions. In the Create Action window, select Automation->Run any custom action that has been uploaded to the controller.
- Enter a name for the action.
- Select the custom action from the dropdown list.
- Click OK.
The custom action is now available for assignment to a policy.