Skip to content

Instantly share code, notes, and snippets.

@marianogg9
Created May 29, 2014 19:38
Show Gist options
  • Save marianogg9/a0304578f84f703fcb57 to your computer and use it in GitHub Desktop.
Save marianogg9/a0304578f84f703fcb57 to your computer and use it in GitHub Desktop.
dentro de client.json
"list_count":{
"warn": "9000",
"crit": "10000"
}
command en check definition
"command": "/etc/sensu/plugins/check_redis.rb -c :::list_count.crit::: -w :::list_count.warn:::"
@marianogg9
Copy link
Author

dentro de client.json

"target":{
"1": "ldap.saoweb.io",
"2": "ldasds.saoweb.oasdasd"
}

command en check definition

"command": "/etc/sensu/plugins -H :::target.1:::"
o
"command":"/etc/path/plugin -H :::target.2::::"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment