Created
October 25, 2016 18:56
-
-
Save wakwanza/1f745c7951cf86179c6dac4a97d7a903 to your computer and use it in GitHub Desktop.
consul system checks
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": [ | |
{ | |
"id": "memory-check", | |
"name": "mem", | |
"script": "/usr/lib64/nagios/plugins/check_used_mem", | |
"interval": "30s" | |
}, | |
{ | |
"id": "cpu-check", | |
"name": "cpu", | |
"script": "/usr/lib64/nagios/plugins/check_cpu 20 10", | |
"interval": "20s" | |
}, | |
{ | |
"id": "disk-check", | |
"name": "disk", | |
"script": "/usr/lib64/nagios/plugins/check_disk -w 10% -c 5% -A -I '/archive/*' ", | |
"interval": "12s" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment