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

Improve event status filtering by handling unknown statuses greater than 3 #1

Merged
merged 1 commit into from
Sep 19, 2017

Conversation

Crazybus
Copy link
Contributor

This pull request improves the events filter by nicely handling events with statuses greater than 3. The current event filter for warnings and criticals will match any event that has a status with a 1 or 2 somewhere in it. This behaviour was discovered when a bunch of windows servers were returning the status 3221225794 which conveniently matched all events filters because it contains a 1,2 and 3 :)

Before:

image
image
image
image

After:
image
image
image
image

@palourde
Copy link
Contributor

Awesome, thank you very much for this pull request!

@palourde palourde merged commit 9775dc0 into sensu:master Sep 19, 2017
@palourde palourde added this to the 0.26.0 milestone Sep 19, 2017
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

Successfully merging this pull request may close these issues.

2 participants