Files
Pepe Cano 290612e366 Alerting docs: specify using multiple contact point integrations in the UI and HTTP API (#95890)
* Sort list of contact points on the sidebar

* Update `Configure contact points` to clarify contact point integrations

* Alerting HTTP API: fix `EmbeddedContactPoint` properties table

* HTTP Alerting API: clarify how `ContactPoint.name` groups contact points

* Update docs/sources/alerting/configure-notifications/manage-contact-points/_index.md

Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com>

---------

Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com>
2024-11-06 15:28:44 +01:00

2.1 KiB

canonical description keywords labels menuTitle title weight
https://grafana.com/docs/grafana/latest/alerting/configure-notifications/manage-contact-points/integrations/configure-opsgenie/ Configure the Opsgenie integration to receive notifications when your alerts are firing
grafana
alerting
Opsgenie
integration
products
cloud
enterprise
oss
Opsgenie Configure Opsgenie for Alerting 145

Configure Opsgenie for Alerting

Use the Grafana Alerting - Opsgenie integration to receive alert notifications in your Opsgenie alert dashboard when your Grafana alert rules are triggered and resolved.

Before you begin

Create an API key to enable Grafana to send alert notifications to Opsgenie alert dashboard.

To create an API key in Opsgenie, complete the following steps.

  1. Follow the steps in the API integration guide.

    Make sure you turn on the integration.

  2. Copy the API key.

Procedure

To create your Opsgenie integration in Grafana Alerting, complete the following steps.

  1. Navigate to Alerts & IRM -> Alerting -> Contact points.

  2. Click + Add contact point.

  3. Enter a contact point name.

  4. From the Integration list, select Opsgenie.

  5. In the API key field, paste in your API key.

  6. In the Alert API URL, enter https://api.opsgenie.com/v2/alerts.

  7. Click Test to check that your integration works.

    ** For Grafana Alertmanager only.**

    A test alert notification is sent to the Alerts page in Opsgenie.

  8. Click Save contact point.

Next steps

The Opsgenie contact point is ready to receive alert notifications.

To add this contact point to your alert rule, complete the following steps:

  1. In Grafana, navigate to Alerting > Alert rules.
  2. Edit or create a new alert rule.
  3. Scroll down to the Configure labels and notifications section.
  4. Under Notifications, click Select contact point.
  5. From the drop-down menu, select the previously created contact point.
  6. Click Save rule and exit.