influxdata / influxdata/kapacitor

Kapacitor Custom Alert Exit Codes

Open
#2,143 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
Go
Stars
2.4k
Forks
479
Avg merge
4d 16h
Merged PRs (30d)
4

Description

When creating an alert and defining alert exit codes I.E.:

Critical = 2
Warning = 1
OK = 0

Is there a way to specify custom exit codes?

I am working on adding some additional threshold alerts to my Sensu handler, and am trying to specify some alerts that aren't 0, 1, or 2.

Let me know if additional information is needed.

Thanks,

Contributor guide

Open the contributing guide

Research direction

Start by locating Kapacitor’s alert exit-code handling and the Sensu handler path; the issue names no files or tests. Confirm whether custom codes beyond 0, 1, and 2 are supported, then define what configuration and behavior would make the requested custom mappings complete.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
observability-sre
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.