I hereby claim:
- I am seth-paxton on github.
- I am sethpaxton (https://keybase.io/sethpaxton) on keybase.
- I have a public key whose fingerprint is BE07 7666 05EC 5988 C25D 0A06 B785 A214 7CFC 2BE1
To claim this, I am signing this object:
1. Download the plugin from: https://github.com/sensu/sensu-community-plugins/blob/master/handlers/remediation/sensu.rb | |
2. Create the handler definition: | |
{ | |
"handlers": { | |
"remediator": { | |
"type": "pipe", | |
"command": "/etc/sensu/handlers/remediator.rb" | |
} | |
} | |
} |
{ | |
"checks": { | |
"seyren_check": { | |
"command": "/etc/sensu/plugins/check-procs.rb -p PROC", | |
"interval": 10, | |
"subscribers": ["SUB"], | |
"handlers": ["remediator","pagerduty"], | |
"occurrences": 1, | |
"refresh": 10, | |
"remediation": { |
{ | |
"checks": { | |
"check_something": { | |
"command": "ps aux | grep cron", | |
"interval": 60, | |
"subscribers": ["application_server"], | |
"handlers": ["debug", "irc", "remediator"], | |
"remediation": { | |
"light_remediation": { | |
"occurrences": [1, 2], |
I hereby claim:
To claim this, I am signing this object: