Created
December 12, 2011 23:46
-
-
Save Rudd-O/1469695 to your computer and use it in GitHub Desktop.
monitoring.json config file example (for role webservers)
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": { | |
"Test Web server is alive": { | |
"command": "check_http", | |
"subscribers": [ | |
"webservers" | |
], | |
"interval": 30 | |
}, | |
"Test Web server is not delivering garbage": { | |
"command": "check_http for='It worked!'", | |
"subscribers": [ | |
"webservers" | |
], | |
"interval": 60, | |
"runbook": "http://some/url" | |
}, | |
}, | |
} |
the fourth check says "all", clients who want to subscribe to that check must say "all".
this means I need intelligent logic to merge the "all" checks, or something.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
the client in this case would only execute the first and second checks.