Created
May 30, 2018 08:34
-
-
Save darioblanco/7cd6b26e0877601e0f68b714755b92a7 to your computer and use it in GitHub Desktop.
Zookeeper check with remediation
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
{ | |
"checks": { | |
"check-zookeeper-proc": { | |
"command": "/etc/sensu/plugins/check-procs.rb -p '/usr/share/java/zookeeper.jar'", | |
"interval": 60, | |
"occurrences": 2, | |
"handlers": ["default", "remediator"], | |
"subscribers": ["zookeeper"], | |
"standalone": false, | |
"remediation": { | |
"remediate-zookeeper-proc": { | |
"occurrences": [1, 3], | |
"severities": [2] | |
}, | |
"trigger_on": ["zookeper"] | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment