Created
July 27, 2016 12:51
-
-
Save Mongey/38076865e201a77c122043e6095712c9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(def set-schema-registry-haproxy-events-to-critical | |
(where (and (service schema-registry-500-error-service-name) | |
(not= metric nil) | |
(>= metric schema-registry-500-error-threshold) | |
(state "ok")) | |
(with :state "critical" reinject))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment