-
-
Save harishbsrinivas/d6a0a38149d14ad34490 to your computer and use it in GitHub Desktop.
Sensu Remediation Example
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": { | |
"seyren_check": { | |
"command": "/etc/sensu/plugins/check-procs.rb -p PROC", | |
"interval": 10, | |
"subscribers": ["SUB"], | |
"handlers": ["remediator","pagerduty"], | |
"occurrences": 1, | |
"refresh": 10, | |
"remediation": { | |
"light_remediation": { | |
"occurrences": [1, 2], | |
"severities": [1] | |
}, | |
"medium_remediation": { | |
"occurrences": ["3-10"], | |
"severities": [1] | |
}, | |
"heavy_remediation": { | |
"occurrences": ["1+"], | |
"severities": [2] | |
} | |
} | |
}, | |
"light_remediation": { | |
"command": "/bin/process", | |
"subscribers": [], | |
"handlers": ["pagerduty"], | |
"pager_team": "testing", | |
"interval": 10, | |
"publish": false | |
}, | |
"medium_remediation": { | |
"command": "/bin/process", | |
"subscribers": [], | |
"handlers": ["pagerduty"], | |
"pager_team": "testing", | |
"interval": 10, | |
"publish": false | |
}, | |
"heavy_remediation": { | |
"command": "/bin/process", | |
"subscribers": [], | |
"handlers": ["pagerduty"], | |
"pager_team": "testing", | |
"interval": 10, | |
"publish": false | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment