Skip to content

[Feature]: Add option to change or flip the exit codes for alert subcommand #123

@martialblog

Description

@martialblog

Describe the feature request

In the Prometheus ecosytem there sometimes are "dead man's switch" alerts that keep firing constantly.

The logic for the exit code needs to be flipped to monitor these with the plugin. Meaning, a firing alert is OK and a missing/notfiring alert needs to CRITICAL/WARNING.

Currently we can only handle the missing alert.

See also #61 (comment)

Metadata

Metadata

Assignees

Labels

featureNew feature or request

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions