Skip to main content

Integrating Oppex with Your Stack

Once your service pages you correctly, connect the tools that watch your systems, so their alerts become Oppex incidents automatically. An alert from a monitoring tool goes through the same service, severity mapping and escalation policy as the test incident you raised by hand.

How an alert reaches the right service​

Every service has an integration key, which Oppex generates when you create the service. A monitoring tool sends its alerts to Oppex with two credentials:

  • the service's integration key, which tells Oppex which service the alert belongs to, and
  • a workspace API key, which proves the alert comes from your organization. You create API keys under API Keys in Settings, in your workspace's section.

Each webhook-based tool uses one Oppex webhook address, shared by all your services. The integration key, not the address, decides which service receives the alert.

Send credentials the way the tool's guide says

Most guides ask you to send the integration key and the API key as HTTP headers, and not to add them to the webhook address. Amazon CloudWatch is the exception: its guide adds both to the address. Cloudflare and Google Cloud Monitoring put the integration key in the address and send the API key separately. Follow the guide for your tool exactly.

Find the setup guide for your tool​

  1. Open Services.
  2. In your service's row, click Integration Details.
  3. Choose your tool. Oppex opens a guide with the webhook address, the service's integration key, and the headers to set.

The Integration Details menu of a service, listing API Integration, Amazon CloudWatch, Cloudflare, Email, Grafana, Generic Webhook, GroundCover, New Relic, OpenSearch and Site24x7

OptionUse it for
API IntegrationYour own scripts and services. The guide shows the integration key and a sample request. See Post an incident.
Amazon CloudWatch, Cloudflare, Grafana, GroundCover, New Relic, OpenSearch, Site24×7Alerts from that tool. See Amazon CloudWatch, Cloudflare, Grafana, GroundCover, New Relic, OpenSearch and Site24x7.
Generic WebhookAny tool that can send a webhook but is not listed. See Generic Webhook, and the worked set-ups for Datadog and Splunk.
EmailTools that can only send email. Each service has its own address to send alerts to. See Email.

Google Cloud Monitoring has no entry in the menu. See Google Cloud Monitoring to connect it.

Keep your integration key private

Anyone with a service's integration key and one of your API keys can raise incidents on that service. Store both where only your monitoring configuration can read them.

After you connect a tool, trigger a test alert from it and check that an incident appears on the service, in the same way as your manual test.

FAQ

Do I need a separate webhook address for each service?

No. Each tool has one Oppex webhook address. The integration key you send with the alert decides which service receives it.

Where do I find the API key?

Under API Keys in Settings, in your workspace's section. The API Integration guide on the service links to it.

My tool is not in the list. Can I still connect it?

Yes, if the tool can send a webhook or an email. Use Generic Webhook or Email from the Integration Details menu.

In this article

FAQ

Do I need a separate webhook address for each service?

No. Each tool has one Oppex webhook address. The integration key you send with the alert decides which service receives it.

Where do I find the API key?

Under API Keys in Settings, in your workspace's section. The API Integration guide on the service links to it.

My tool is not in the list. Can I still connect it?

Yes, if the tool can send a webhook or an email. Use Generic Webhook or Email from the Integration Details menu.