We use cookies to ensure that we give you the best experience on our website.  Visit our Privacy Policy to learn more. If you continue to use this site, we will assume that you are okay with it.

Your choices regarding cookies on this site.
Your preferences have been updated.
In order for the changes to take effect completely please clear your browser cookies and cache. Then reload the page.

Notifications via Opsgenie

Checkmk Manual
Last updated: August 14 2020

Related articles

Search in the manual

1. Function

Opsgenie, now a part of Atlassian, as an incident management platform provides alerting and escalation for support teams, and can integrate many external tools, including Checkmk. The basic connection requires only an API key and a URL, but you can also specify other options in Checkmk, such as additional information depending on the notification's source type.

2. Configuring Opsgenie

You can find a short guide on how to integrate Checkmk directly within Opsgenie – but this is based on an older Checkmk version where you had to pass a complete URL including API key. In current versions, you enter the URL and key separately. In addition, the URL is only required for accounts hosted in Europe.

  1. Create a team or call up an existing one.
  2. Choose the entry Checkmk under Integrations/Add Integration.
  3. In the displayed – now incorrect instructions – you will find a URL under Paste, including options and API key. Copy the domain part of the URL (https://api.eu.opsgenie.com).
  4. Next copy the API key and save the integration.

3. Configuration in Checkmk

For the connection it is now sufficient to specify the two copied data in Checkmk:

  1. For the Notification Method choose the item Opsgenie.
  2. Enter the copied key in API Key to use..
  3. Activate – as an EU user – the option Domain, and paste the copied domain there.

You can test the connection using the commands, and set a host to DOWN via Fake check results. The Custom notification function will not generate an alert in Opsgenie at this point.

The configuration of the Opsgenie notification method provides you with all kinds of additional options, especially for enriching and changing the default contents of the notifications. In addition, you can use the Responsible teams item to specify the Opsgenie team if you have not specifically integrated for one team as described here, but for the entire Opsgenie account – which is only possible with certain subscriptions.