Checkmk notifications via Opsgenie

Configuring Opsgenie

Add team

Create a team checkmk-notifications-opsgenie-00

Add Integration

Select a team > Choose the entry Checkmk under Integrations/Add Integration. checkmk-notifications-opsgenie-01

Copy the API key and save the integration

checkmk-notifications-opsgenie-02

Configuring Checkmk

Add User

  • In Checkmk Setup > User, Click on Add User

checkmk-notifications-opsgenie-03

  • Enter a Username and a Full name for this new user.

checkmk-notifications-opsgenie-04

  • Leave blank Authentication part
  • Check disable the login to this account to value.
  • Select Normal monitoring user for the Roles.
  • Click on Save button.

Creating New Rule Notification

After creating the new user, you will be redirected to Users page, again.

  • Click on the notification button (yellow bell icon) under Actions column for the newly created (opsgenie) user.

checkmk-notifications-opsgenie-05

  • Click on Add Rule on the top.

checkmk-notifications-opsgenie-06

  • Enter Opsgenie as the Description.

checkmk-notifications-opsgenie-07

  • Select Opsgenie as the Notification Method.
  • Enter API Key: from opsgenie in API Key to use.
  • Click on Save button.

Activate Changes

After saving, click on Main Menu on the left under WATO Configuration box. You will notice an yellow button labeled # Changes on the top.

checkmk-notifications-opsgenie-08

  • Click on that button and
  • click on Activate on selected sites

Test Notifications

Monitor > All hosts : select checkboxs on a Host.

checkmk-notifications-opsgenie-09

In this case is the server03

Fake check results

  • Select Commands > Fake check results
  • Select Down button

checkmk-notifications-opsgenie-10

Confirm

Manually set check results to Down

checkmk-notifications-opsgenie-11

Check Opsgenie

checkmk-notifications-opsgenie-12

checkmk-notifications-opsgenie-13

Reference