Get started with Opsgenie as a user
Learn how to configure your profile, get notifications from Opsgenie and view on-call schedules.
Google Stackdriver is natively integrated with Google Cloud Platform, Amazon Web Services, and popular open source packages. Google Stackdriver provides a wide variety of metrics, dashboards, alerting, log management, reporting, and tracing capabilities.
Opsgenie has a webhook integration with Google Stackdriver. Using the integration, Google Stackdriver sends incidents to Opsgenie API with detailed information. Opsgenie acts as a dispatcher for Google Stackdriver alerts, determines the right people to notify based on on-call schedules– notifies via email, text messages (SMS), phone calls and iPhone & Android push notifications, and escalates alerts until the alert is acknowledged or closed.
When the state of a notification is open in Google Stackdriver, an alert is also created in Opsgenie automatically through the integration.
When the state of a notification is close in Google Stackdriver, the related alert is closed automatically.
When the state of a notification is acknowledge in Google Stackdriver, the related alert is acknowledged automatically.
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,
Go to your team’s dashboard from Teams,
Select Integrations, and select Add integration.
Follow the rest of the steps to complete the integration.
Go to Settings > Integrations. Search for Google Stackdriver and select Add.
Specify who is notified for Google Stackdriver alerts using the Responders field. Auto-complete suggestions is provided as you type.
Copy the Webhook URL.
Click on Save Integration.
In Google Stackdriver, go to Account Settings.
Select Notifications from the left.
Select WEBHOOKS tab.
Select + Add.
5. Paste integration API URL into ENDPOINT URL.
6. Select Save.
JSON
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{
"incident": {
"incident_id": "f2e08c333dc64cb09f75eaab355393bz",
"resource_id": "i-4a266a2d",
"resource_name": "webserver-85",
"state": "open",
"started_at": 1385085727,
"ended_at": null,
"policy_name": "Webserver Health",
"condition_name": "CPU usage",
"url": "https://app.google.stackdriver.com/incidents/f333dc64z",
"summary": "CPU for webserver-85 is above the threshold of 1% with a value of 28.5%"
},
"version": 1.1
}
Was this helpful?