Skip to content

Instantly share code, notes, and snippets.

@nstielau
Created February 12, 2014 19:13
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 nstielau/8962479 to your computer and use it in GitHub Desktop.
Save nstielau/8962479 to your computer and use it in GitHub Desktop.
Configuring Sensu for VictorOps
{
"handlers": {
"victorops": {
"type": "pipe",
"command": "/etc/sensu/handlers/victorops.rb"
}
},
"checks": {
"tmp_check": {
"description": "check that /tmp exists ",
"handler": "victorops",
"command": "ls /tmp",
"interval": 30,
"subscribers": [ "all_servers" ]
},
},
"victorops" : {
"api_url": "https://alert.victorops.com/integrations/generic/SOMETHIHNG/alert/UUID",
"routing_key": "everyone"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment