Skip to content

[IMPROVE] Add duration threshold to zookeeper detectors #540

@freezeeedos

Description

@freezeeedos

What is the module?
smart-agent_zookeeper

What is the detector?
zookeeper health

Is your improvement related to a known monitoring limitations? Please describe.
Currently, there is not duration parameter for the alert threshold

Describe the solution you'd like
Add a new variable, something like zookeeper_health_duration_threshold to the signal flow

Files that would be affected:

modules/smart-agent_zookeeper/detectors-zookeeper.tf

modules/smart-agent_zookeeper/variables.tf

Final result would be something like:
detect(when(signal != 1, lasting = '15m')).publish('CRIT')

This could be applied to the latency detector as well

Metadata

Metadata

Labels

detectorsAbout nex or existing detectorsenhancementEnhancement of existing (templating or detectors)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions