• Get started
  • Documentation

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

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 Hosted Graphite and select Add

  2. Specify who is notified of Hosted Graphite alerts using the Responders field. Autocomplete suggestions are provided as you type.

  3. Copy the API Key.

  4. Select Save 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" }

Still need help?

The Atlassian Community is here for you.