Skip to content

Instantly share code, notes, and snippets.

@pkhamre
Created March 27, 2012 11:18
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • 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": "sensu@node01.example.org",
"mail_to": "sysadmin@example.org"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment