• Products
  • Get started
  • Documentation
  • Resources

Integrate Opsgenie with Hosted Graphite

Hosted Graphite logo

What does Opsgenie offer Hosted Graphite users?

Use Opsgenie’s Hosted Graphite Integration to forward Hosted Graphite alerts to Opsgenie. Opsgenie determines the right people to notify based on on-call schedules– notifies via email, text messages (SMS), phone calls, iOS & Android push notifications, and escalates alerts until the alert is acknowledged or closed.

Functionality of the integration

  • When an alert is created in Hosted Graphite, an alert is created in Opsgenie.

Add Hosted Graphite Integration in Opsgenie

  1. Go to Opsgenie's Hosted Graphite 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 Hosted Graphite alerts using the Teams field. Autocomplete suggestions are provided as you type.

Did you know that you can also add this integration from your team dashboard? 

If you want your team to be the owner of this integration, add it from your team dashboard. Opsgenie will assign the alerts received through this integration to your team only.

To do that;

  1. Go to Teams

  2. Find your team and select it to go to your team dashboard,

  3. From your team navigation, select Integrations,

  4. Select Add integration.

3. Copy the API Key.

4. Click Save Integration.

Hosted Graphite integration

Configuration in Hosted Graphite

  1. In Hosted Graphite, go to Notification Channels.

  2. Click + Add Channel.

Hosted Graphite add channel

3. Select Opsgenie option from Notification Type.

4. Enter the name of your notification channel to Name field.

5. Paste the API Key you copied from Opsgenie into Opsgenie API key.

6. Click Save.

Hosted Graphite Add Notification Channel
Hosted Graphite Notification Channels

Sample payload sent from Hosted Graphite

Create Alert payload:

JSON

1 2 3 4 5 6 7 8 9 10 { "name": "hostedgraphite_test_alert", "criteria": "metric values missing for 1 minutes", "graph": "http://i.mfhg.io/render-api/e3c33750/035359b9aefe772.png", "value": "None", "metric": "_test-data.servers.webserver0.requests.count", "status": "alerting", "backoff_minutes": false, "info": "Instructions regarding the alert" }

This payload is parsed by Opsgenie as:

JSON

1 2 3 4 5 6 7 8 { "alarmName": "test", "alarmCriteria": "metric values missing for 1 minutes", "alarmValue": "None", "alarmMetric": "_test-data.servers.webserver0.requests.count", "alarmStatus": "alerting", "alarmInfo": "Instructions regarding the alert" }

Close Alert payload:

JSON

1 2 3 4 5 6 7 8 9 10 { "name": "hostedgraphite_test_alert", "criteria": "metric values missing for 1 minutes", "graph": "http://i.mfhg.io/render-api/e3c33750/035359b9aefe772.png", "value": "None", "metric": "_test-data.servers.webserver0.requests.count", "status": "recovered", "backoff_minutes": false, "info": "Instructions regarding the alert" }

This payload is parsed by Opsgenie as:

JSON

1 2 3 4 5 6 7 8 { "alarmName": "test", "alarmCriteria": "metric values missing for 1 minutes", "alarmValue": "None", "alarmMetric": "_test-data.servers.webserver0.requests.count", "alarmStatus": "recovered", "alarmInfo": "Instructions regarding the alert" }

Sample Alert

HostedGraphiteSampleAlert
Last modified on Jan 15, 2021
Cached at 8:59 PM on Jun 12, 2021 |

Additional Help

Ask the Community