Skip to content

Instantly share code, notes, and snippets.

@joemiller
Created February 2, 2012 18:47
Show Gist options
  • Save joemiller/1725072 to your computer and use it in GitHub Desktop.
Save joemiller/1725072 to your computer and use it in GitHub Desktop.
sensu handler set example
"handlers": {
"default_notification_set": {
"type": "set",
"handlers": ["default", "pagerduty", "irc", "twitter", "campfire", "gelf"]
},
"default": {
"type": "pipe",
"command": "/etc/sensu/handlers/default"
},
"pagerduty": {
"type": "pipe",
"command": "/etc/sensu/handlers/pagerduty"
},
"irc": {
"type": "pipe",
"command": "/etc/sensu/handlers/irc"
},
"twitter": {
"type": "pipe",
"command": "/etc/sensu/handlers/twitter"
},
"campfire": {
"type": "pipe",
"command": "/etc/sensu/handlers/campfire"
},
"gelf": {
"type": "pipe",
"command": "/etc/sensu/handlers/gelf.rb"
}
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment