Created
February 12, 2014 19:13
-
-
Save nstielau/8962479 to your computer and use it in GitHub Desktop.
Configuring Sensu for VictorOps
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"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