AppKeeper

AppKeeper

Crawler Crawler

Linux Windows OS Supported

Overview

SIOS AppKeeper automatically restarts failed Amazon EC2 services when notifications are received from Datadog, removing the need for expensive manual intervention. When Datadog triggers an alert, it restarts the EC2 service via the AppKeeper Recovery API.

Setup

Get the SIOS AppKeeper API key

Get the SIOS AppKeeper API key from AppKeeper GUI.

  1. Click Account Information, and open the modal dialog.
  2. Click Get Token.
  3. Copy the token.

snapshot

Install and configure the Webhooks integration

  1. In the Datadog app, navigate to the Webhooks integration and install the integration.
  2. Select the Configuration tab.
  3. Under the Webhooks header, click New.
  4. Enter the following URL: “https://api.appkeeper.sios.com/v2/integration/{AWS_account_ID}/actions/recover"
  5. Enter the id and name of name for the monitoring instance in the Payload section.
  6. Register the AppKeeper API token in the Custom Headers section.

snapshot

Integrate with Datadog monitoring

  1. Create a new Datadog Synthetic test. Click New Test in the top right corner.
  2. In the Define requests step, enter the URL you want to monitor.
  3. In the Define assertions step, click New Assertion and add the following parameters: When status code is 200. This will trigger an alert when the status code is not 200. If the request requires notification based on a different status, replace 200 with your status code.
  4. Click New Assertion again and add a second set of parameters: And response time is less than 2000 ms. This will trigger an alert when the response time is longer than 2000ms. If you require a longer or shorter duration, replace 2000 with your duration.
  5. In the Notify your team step, add the webhook, formatted as @webhook-name_of_the_webhook. Include a message for the notification. Note: The minimum monitoring interval for the renotify if the monitor has not been resolved setting in this step is Every 10 Minutes. Setting to Never inhibits the webhook to call on AppKeeper’s recovery API.

snapshot

Results of recoveries by AppKeeper are listed in AppKeeper’s GUI.

snapshot

For more information on the AppKeeper’s Integration, review the AppKeeper documentation.

Data Collected

Metrics

See metadata.csv for a list of metrics provided by this integration.

Troubleshooting

Need help? Contact Datadog support.