Skip to content

Instantly share code, notes, and snippets.

@warmfusion
Created May 19, 2015 14:55
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 warmfusion/d4ce289a3a4a678ff566 to your computer and use it in GitHub Desktop.
Save warmfusion/d4ce289a3a4a678ff566 to your computer and use it in GitHub Desktop.
Example of Redaction in Sensu Commands
{
"client": {
"name": "my.example.com",
"address": "172.25.254.127",
"bind": "127.0.0.1",
"subscriptions": [ ],
"safe_mode": false,
"keepalive": {
"thresholds": {
"warning": 60,
"critical": 300
}
},
"SomeService": {
"port": 1234,
"username": "myusername",
"password": "somepassword"
}
}
}
{
"checks": {
"mycheck": {
"command": "check-myservice.rb -S :::name::: -u :::SomeService.username::: -p :::SomeService.password::: -w 100 -c 50",
"interval": 60
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment