Created
September 12, 2012 13:32
-
-
Save sarguru/3706618 to your computer and use it in GitHub Desktop.
handlers
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
{ | |
"checks": { | |
"letshelp_check": { | |
"handlers": ["default","mailer"], | |
"command": "/etc/sensu/plugins/check-http.rb -u http://a.b.c/ -r", | |
"interval": 90, | |
"subscribers": [ "mailservers" ] | |
} | |
} | |
} |
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": { | |
"default": { | |
"type": "pipe", | |
"command": "/etc/sensu/handlers/default" | |
}, | |
"mailer": { | |
"type": "pipe", | |
"command": "/etc/sensu/handlers/mailer.rb" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment