• Products
  • Get started
  • Documentation
  • Resources

Integrate Opsgenie with SignalFx (Legacy)

SignalFx logo

What does Opsgenie offer SignalFx users?

SignalFx detectors monitor signals and send alerts when they cross defined thresholds. With the SignalFx 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.

Opsgenie has a specific API for SignalFx Integration, SignalFx sends alerts to Opsgenie and Opsgenie handles the automatic creation of alerts.

Functionality of the integration

  • SignalFx detectors monitor signals and send alerts when they cross defined thresholds. When an alert is created in SignalFx, an alert is also created in Opsgenie automatically through the integration.

  • When values are back to normal, SignalFx detectors resolve the alert. When an alert is resolved in SignalFx, an alert is also closed in Opsgenie.

Add SignalFx Integration in Opsgenie

You can add this integration from your team dashboard

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 only add this integration from your team dashboard as the Integrations page under Settings is not available in your plan.

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.

To do that,

  1. Go to your team’s dashboard from Teams,

  2. Select Integrations, and select Add integration.

Follow the rest of the steps to complete the integration.

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

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

  3. Copy the API URL.

  4. Select Save Integration.

Configuration in SignalFx

  1. In SignalFx, open hosts view.

  2. To create alerts for the total host metrics, open "System Metrics" tab or to create alerts for a specific host, click a host and open "System Metrics" tab.

  3. Choose a metric to create alerts for and click the bell icon in the upper-right corner.

  4. Click New Detector From Chart.

SignalFx system metrics

5. On the alert screen, populate name, severity, conditions, and trigger duration of the alert.

6. From the "Notifications" drop-down, choose Webhook.

7. Paste API URL into URL field and click UPDATE.

SignalFx webhook notification

8. Click SAVE.

SignalFx Save Opsgenie Alert

Sample payloads sent from SignalFx to Opsgenie

Sources field of the below content is a string representation of a JSON object. The content of the sources object can differ. That's why whole sources object is added to the available draggable fields to make it possible to extract custom fields from sources object.

To put the dsname field of the sources object to the alert: use {{sources.dsname}}.

Create Alert payload:

1 2 3 4 5 6 7 8 9 10 11 12 { "severity": "Critical", "sources": "{\"AWSUniqueId\":\"i-274xxxx1_us-west-2_97xxxxxxxx\",\"dsname\":\"value\",\"host\":\"ip-172.us-west-2.compute.internal\",\"plugin\":\"signalfx-metadata\",\"plugin_instance\":\"utilization\",\"sf_metric\":\"memory.utilization\"}", "rule": "Create Opsgenie Alert", "alertTimestamp": 1463567930000, "eventType": "_SF_PLOT_KEY_Ciu5eDlAgAc_9_3", "incidentId": "CiYI3ipAgnA", "detector": "Memory Used % Detector", "detectorUrl": "https://app.signalfx.com/#/detector/Ciu5eDlAgAc/edit", "currentValue": "4.07361626150254", "status": "too high" }

Close Alert payload:

1 2 3 4 5 6 7 8 9 10 11 12 { "severity": "Critical", "sources": "{\"AWSUniqueId\":\"i-2xxx1_us-west-2_974xxxxxxx\",\"dsname\":\"value\",\"host\":\"ip-172-x.us-west-2.compute.internal\",\"plugin\":\"signalfx-metadata\",\"plugin_instance\":\"utilization\",\"sf_metric\":\"memory.utilization\"}", "rule": "Create Opsgenie Alert", "alertTimestamp": 1463568222190, "eventType": "_SF_PLOT_KEY_Ciu5eDlAgAc_9_3", "incidentId": "CiYI3ipAgnA", "detector": "Memory Used % Detector", "detectorUrl": "https://app.signalfx.com/#/detector/Ciu5eDlAgAc/edit", "currentValue": "4.07361626150254", "status": "ok" }

Additional Help