Kapacitor Integration

Kapacitor is a native data processing engine in the TICK Stack. It can process both stream and batch data from InfluxDB. It lets you plug in your own custom logic or user-defined functions to process alerts with dynamic thresholds, match metrics for patterns, compute statistical anomalies and perform specific actions based on these alerts like dynamic load rebalancing.

What does Opsgenie offer Kapacitor users?

Use Opsgenie Kapacitor integration to send Kapacitor events to Opsgenie with detailed information. Opsgenie 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 & Android push notifications, and escalating alerts until the alert is acknowledged or closed.

Functionality of the integration

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

Add Kapacitor integration in Opsgenie

  1. Please create an Opsgenie account if you haven't done already.
  2. Go to Opsgenie Kapacitor Integration page.


For Free and Essentials plans, you can only add the integrations from the Team Dashboards, please use the alternative instructions given below to add this integration.

  1. Specify who is notified of Kapacitor alerts using the Teams field. Auto-complete suggestions are provided as you type.


An alternative for Step 2) and Step 3) is to add the integration from the Team Dashboard of the team which will own the integration. To add an integration directly to a team, navigate to the Team Dashboard and open Integrations tab. Click Add Integration and select the integration that you would like to add.

  1. Copy the API Key.
  2. Click Save Integration.

Configuration on Kapacitor

  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 Opsgenie or define an Opsgenie v2 handler that subscribes to a topic and sends published alerts to Opsgenie.
  4. For more information please check Kapacitor's Opsgenie v2 event handler document.

Did this page help you?