Steps to integrate AppDynamics with AlarmsOne:
Following are the steps involved to integrate AppDynamics with AlarmsOne.
Steps to be followed in AlarmsOne:
1. Sign up for AlarmsOne service and log into your account. Click Applications icon in the left panel. Click Agents in the left pannel and click Add Agent(+) to download the agent (or) poller.
2. Once download is complete, install the agent on the machine from where it can reach AppDynamics.
3. Once the agent is installed and registered with AlarmsOne, click Applications icon and click +Add Application at the top right corner of the window and choose AppDynamics.
4. Select the registered agent which is deployed on the AppDynamics Server.
5. Input all the details specific to AppDynamics (Agent, Application Label, Application and Host).
6. Click Add to add the Application to AlarmsOne.
Steps to be followed in AppDynamics:
1. Navigate to Alarm Poller installation directory (Alarm_Poller/AlarmsUtilities/AppDynamics).
2. Open the file alarmsone_event.sh and alarmsone_health.sh in an editor and add the following line in the very begining of the script.
AGENT = </AlarmPoller_Home_Directory> (Example :- AGENT=/opt/AlarmPoller)
3.Copy the scripts alarmsone_event.sh and alarmsone_health.sh.
4. Make a directory "alarmsone_event" under AppDynamics installation directory (AppDynamics/Controller/custom/actions) and paste the alarmsone_event.sh under this directory.
5. Make a directory "alarmsone_health" under AppDynamics installation directory (AppDynamics/Controller/custom/actions) and paste the alarmsone_health.sh under this directory.
6. Modify the custom.xml under AppDynamics installation directory (AppDynamics/Controller/custom/actions) as follows:
<custom-actions>
<action>
<type>alarmsone_event</type>
<executable>alarmsone_event.sh</executable>
</action>
<action>
<type>alarmsone_health</type>
<executable>alarmsone_health.sh</executable>
</action>
</custom-actions>
7. Restart the AppDynamics Controller.
8. Click on Alert and Respond in the user interface, select Actions and click CreateAction.
9. Select the option "Run a custom action that has been uploaded to Controller" and click OK.
10. Provide custom name for "alarmsone_event" and choose "alarmsone_event.sh". Do the same for "alarmsone_health".
11. Create a policy by clicking on Alert and Respond, choose the alarmsone_event action for if the condition event related and similarly for health.
12. Restart AppDynamics.