• Products
  • Get started
  • Documentation
  • Resources

Integrate Opsgenie with Sysdig Cloud

Sysdig logo

Opsgenie’s Sysdig Cloud integration enables Sysdig Cloud users to take advantage of Opsgenie’s advanced alert & notifications management capabilities such as escalations, on-call schedule management, and extensive alert notification controls.

Add Sysdig Cloud 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 Sysdig Cloud and select Add

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

  3. Copy the API Key.

  4. Select Save Integration.

Configuration in Sysdig Cloud

  1. In Sysdig Cloud, go to Notification Channels under Settings.

  2. Click Add Notification Channel and Opsgenie respectively.

Sysdig Cloud notifications

3. Paste integration API Key copied previously into the API Key field.

4. Type a Channel Name.

5. Make sure Enabled and Test notification is active and click SAVE.

Sysdig Cloud new Opsgenie channel
Sysdig Cloud test notification sent

6. Go to Alerts from Opsgenie navigation and check if test alert is created.

Sysdig Cloud alerts

7. Go to Alerts tab of Sysdig Cloud.

8. Choose an alert, enable Opsgenie integration under Notify section and click SAVE.

Sysdig Cloud CPU usage warning

9. Enable selected alert.

Sysdig Cloud enable alerts

Sample payload sent from Sysdig Cloud

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 27 28 29 30 31 32 33 34 35 36 37 38 39 40 { "timestamp": 1552549316624000, "timespan": 600000000, "alert": { "severity": 2, "editUrl": "https://app.sysdigcloud.com/#/alerts/5757", "scope": "host.mac = \"08:00:27:70:1a:03\"", "name": "TEST ALERT: Testing Notification Channel Test", "description": "Alert description", "id": 5757 }, "event": { "id": 8724, "url": "https://app.sysdigcloud.com/#/events/notifications/l:604800/8724/details", "username": "test@opsgenie.com" }, "state": "ACTIVE", "resolved": false, "entities": [ { "entity": "host.mac = '08:00:27:70:1a:03' and container.name = 'container1_0'", "metricValues": [ { "metric": "cpu.used.percent", "aggregation": "avg", "groupAggregation": "avg", "value": 90.67236455788036 } ], "additionalInfo": [ { "metric": "host.hostName", "value": "Host-0" } ] } ], "condition": "avg(cpu.used.percent) > 85", "source": "Sysdig Cloud" }

Still need help?

The Atlassian Community is here for you.