• 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

  1. Go to Opsgenie's Sysdig Cloud Integration page.

Under the Free and Essentials plans, the tabs under the Team dashboard are limited to Main, Integrations, Members, and Activity Stream.

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

An alternative for Step 1) and Step 2) is to add the integration from the Team Dashboard of the team which will own the integration. To add an integration directly to a team, navigate to the Team Dashboard and open Integrations tab. Click Add Integration and select the integration that you would like to add.

3. Copy the API Key.

4. Click Save Integration.

Sysdig Cloud integration settings

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 page of Opsgenie and check 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" }

Sample alert

Sysdig Cloud sample alert
Last modified on Feb 11, 2021
Cached at 10:01 PM on Apr 14, 2021 |

Additional Help

Ask the Community