Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

« Previous Version 2 Next »

What does the integration offer?

Use Compass Kapacitor integration to send Kapacitor events to Compass with detailed information. Compass acts as a dispatcher for Kapacitor events, determines the right people to notify based on on-call schedules, notifies via email, text messages (SMS), phone calls and iOS and Android push notifications, and escalating alerts until the alert is acknowledged or closed.

How does the integration work?

When an event is created on Kapacitor, an alert is created in Compass automatically through the integration.

Set up the integration

Kapacitor is an API-based integration. Setting it up involves the following steps:

  • Add a Kapacitor integration in Compass

  • Configure the integration in Kapacitor

Add a Kapacitor integration

Bidirectional integrations aren’t supported in the Standard plan. All the other integrations are supported at a team level in Standard.

If you're using the Standard plan in Compass, you can add this integration only from your team’s operations page. Adding an integration from your team’s operations page makes your team the owner of the integration. This means Compass only assigns the alerts received through this integration to your team.

To add a Kapacitor integration in Compass, complete the following steps:

  1. Go to your team’s operations page.

  2. On the left navigation panel, select Integrations and then Add integration.

  3. Run a search and select “Kapacitor”.

  4. On the next screen, enter a name for the integration.

  5. Optional: Select a team in Assignee team if you want a specific team to receive alerts from the integration.

  6. Select Continue.
    The integration is saved at this point.

  7. Expand the Steps to configure the integration section and copy the integration URL that contains both the API key and API URL.
    You will use them while configuring the integration in Kapacitor later.

  8. Select Turn on integration.
    The rules you create for the integration will work only if you turn on the integration.

Configure the integration in Kapacitor

To configure the integration in Kapacitor, complete the following steps:

  1. In the "kapacitor.conf" file, find the configuration of Opsgenie v2 event handler.

  2. Paste the "API Key" copied previously to the "api-key" section and paste the "API URL" to the "url" section.

  3. With the Opsgenie v2 event handler enabled and configured in the kapacitor.conf file, use the .opsgenie2() attribute in your TICKscripts to send alerts to Compass or define an Opsgenie v2 handler that subscribes to a topic and sends published alerts to Compass.

Read more about Opsgenie v2 event handler.

 

  • No labels