Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Wishlist] Configurable metric thresholds for nagios check_ntpmon.py #14

Open
afreiberger opened this issue Mar 9, 2022 · 0 comments
Open

Comments

@afreiberger
Copy link

In some use cases, the hard-coded thresholds in alert.py _metricdefs lead to unactionable critical alerts when using check_ntpmon.py.

As an example, an all-reach-mean of 20% during an edge cloud upstream BGP storm causing intermittent NTP server access may be considered by that cloud's operators as a warning indicator of upstream connectivity, but is not actionable as a critical failure of the NTP component itself.

It would be useful to have a CLI argument to provide overrides to the _metricdefs in the NTPAlerter for the nagios check.

An example simple cli implementation might look like this if one wanted to override the reach and offset thresholds:

check_ntpmon.py --check peers sync reach offset --metric-overrides 'reach:high:50:10;offset:mid:-0.1:-0.05:0.05:0.1'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant