Forked from nstielau/check_with_remediation.json
Last active
August 29, 2015 14:07
-
-
Save seth-paxton/0ffe1b1152ce5b56e678 to your computer and use it in GitHub Desktop.
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": { | |
"check_something": { | |
"command": "ps aux | grep cron", | |
"interval": 60, | |
"subscribers": ["application_server"], | |
"handlers": ["debug", "irc", "remediator"], | |
"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/something", | |
"subscribers": [], | |
"handlers": ["debug", "irc"], | |
"publish": false | |
}, | |
"medium_remediation": { | |
"command": "/bin/something_else", | |
"subscribers": [], | |
"handlers": ["debug", "irc"], | |
"publish": false | |
}, | |
"heavy_remediation": { | |
"command": "sudo reboot", | |
"subscribers": [], | |
"handlers": ["debug", "irc"], | |
"publish": false | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Removed commas from "publish" options.