Skip to content

Instantly share code, notes, and snippets.

@darioblanco
Created May 30, 2018 08:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save darioblanco/79c06c3bb50b3e1bc5fd354bb144e23a to your computer and use it in GitHub Desktop.
Save darioblanco/79c06c3bb50b3e1bc5fd354bb144e23a to your computer and use it in GitHub Desktop.
Example of server check config in /etc/sensu/conf.d/checks/check-zookeeper-proc.json
{
"checks": {
"check-zookeeper-proc": {
"command": "/etc/sensu/plugins/check-procs.rb -p '/usr/share/java/zookeeper.jar'",
"interval": 60,
"occurrences": 2,
"handlers": ["default"],
"subscribers": ["zookeeper"]
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment