Skip to content

Instantly share code, notes, and snippets.

@piavlo
Last active December 23, 2015 00:49
Show Gist options
  • Save piavlo/6556542 to your computer and use it in GitHub Desktop.
Save piavlo/6556542 to your computer and use it in GitHub Desktop.
explicit sensu extensions example
{
"handlers": {
"relay1": {
"type": "extension",
"command": "/etc/sensu/extensions/handlers/relay.rb"
"endpoints": {
"graphite": {
"host": "127.0.0.1",
"port": 60000
},
"opentsdb": {
"host": "127.0.0.1",
"port": 4424
}
}
}
"relay2": {
"type": "extension",
"command": "/etc/sensu/extensions/handlers/relay.rb"
"endpoints": {
"riemann": {
"host": "127.0.0.1",
"port": 5555
},
"kariosdb": {
"host": "127.0.0.1",
"port": 9000
}
}
}
}
}
{
"mutators": {
"metrics": {
"type": "extension",
"command": "/etc/sensu/extensions/mutators/metrics.rb"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment