Skip to content

Instantly share code, notes, and snippets.

@pkhamre
Created March 27, 2012 11:18
Show Gist options
  • Save pkhamre/2215057 to your computer and use it in GitHub Desktop.
Save pkhamre/2215057 to your computer and use it in GitHub Desktop.
Sensu handlers
{
"handlers": {
"default": {
"type": "set",
"handlers": ["mailer", "json"]
},
"mailer": {
"type": "pipe",
"command": "/etc/sensu/handler/mailer.rb"
},
"json": {
"type": "pipe",
"command": "/etc/sensu/handler/default"
}
}
}
{
"mailer": {
"mail_from": "[email protected]",
"mail_to": "[email protected]"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment