• Products
  • Get started
  • Documentation
  • Resources

Integrate Opsgenie with Outlyer

Outlyer logo

What does Opsgenie offer Outlyer users?

The Outlyer platform allows customers to configure highly customizable Alerts and take actions based on the chosen criteria in order to highlight or be notified of events of interest. With the Outlyer integration, Opsgenie acts as a dispatcher for these alerts, determines the right people to notify based on on-call schedules– notifies them using email, text messages (SMS), phone calls, and iPhone & Android push notifications, and escalates alerts until the alert is acknowledged or closed.

Functionality of the integration

  • An alert is triggered when a defined "criteria met" , an alert is also created in Opsgenie automatically through the integration.

  • When the alert "criteria is not met" in Outlyer, the alert is also closed in Opsgenie.

Add Outlyer Integration in Opsgenie

If you're using Opsgenie's Free or Essentials plan or if you’re using Opsgenie with Jira Service Management's Standard plan, you can add this integration from your team dashboard only. The Integrations page under Settings is not available in your plan.

  1. Go to Teams and select your team.

  2. Select Integrations on the left navigation and then select Add integration.

Adding the integration from your team dashboard will make your team the owner of the integration. This means Opsgenie will assign the alerts received through this integration to your team only. Follow the rest of the steps in this section to set up the integration.

  1. Go to Settings > Integrations. Search for Outlyer and select Add

  2. Specify who is notified of Outlyer alerts using the Responders field. Auto-complete suggestions are provided as you type.

  3. Copy the API URL.

  4. Select Save Integration.

Configuration in Outlyer

  1. In Outlyer, open the "Alerts" screen from the side menu.

  2. Create a new alert or edit an existing alert.

  3. Select "Actions" tab of the upper menu.

  4. Click Add New Action and select "Call a Webhook".

Outlyer call a webhook

5. Paste the API URL into the Webhook URL field.

6. Click Test Webhook.

7. Click Create New Action.

Outlyer new action

Sample payload sent from Outlyer

Create Alert payload:

JSON

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 { "event": "ALERT", "rule": "Wordpress", "account": "default", "event_type": "trigger", "entity_id": "572eb7099b36dd8ef71f3f61", "triggers": [ { "sources": [ { "name": "ip-172-31-18-138", "tags": [ "all", "wordpress" ], "timestamp": "2016-06-13T15:18:22.284Z" } ], "criteria": "\u2018wordpress.comments\u2019 is greater than threshold of 5" } ], "text": "ALERT: Wordpress\n\n- \u2018wordpress.comments\u2019 is greater than threshold of 5 for ip-172-31-18-138 (all, wordpress) since Mon Jun 13 2016 15:18:22 GMT+0000 (UTC)\n\n Please login (https:\/\/app.dataloop.io) to your account (default) to investigate.", "description": "ALERT: Wordpress\n\n- \u2018wordpress.comments\u2019 is greater than threshold of 5 for ip-172-31-18-138 (all, wordpress) since Mon Jun 13 2016 15:18:22 GMT+0000 (UTC)\n\n Please login (https:\/\/app.dataloop.io) to your account (default) to investigate.", "message": "ALERT: Wordpress\n\n- \u2018wordpress.comments\u2019 is greater than threshold of 5 for ip-172-31-18-138 (all, wordpress) since Mon Jun 13 2016 15:18:22 GMT+0000 (UTC)\n\n Please login (https:\/\/app.dataloop.io) to your account (default) to investigate.", "host": "ip-172-31-18-138" }

This payload is parsed by Opsgenie as:

JSON

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 [ "event" : "ALERT", "event_type" : "trigger", "host" : "ip-172-31-18-138", "rule" : "Wordpress", "text" : "Alert Text", "entity_id" : "572eb7099b36dd8ef71f3f61", "triggers" : "Triggers: Sources: Name: ip-172-31-18-138 Tags: all,wordpress Timestamp: 2016-06-13T15:18:22.284Z Criteria: ‘wordpress.comments’ is greater than threshold of 5 ", "account" : "default", ]

Close Alert payload:

JSON

1 2 3 4 5 6 7 8 9 10 11 { "event": "RECOVERED", "rule": "Wordpress", "account": "default", "event_type": "resolve", "entity_id": "572eb7099b36dd8ef71f3f61", "text": "RECOVERED: Wordpress\n", "description": "RECOVERED: Wordpress\n", "message": "RECOVERED: Wordpress\n", "host": "" }

 

Additional Help