Last active
September 24, 2015 16:46
-
-
Save jcmartins/ce292a350d565625fe01 to your computer and use it in GitHub Desktop.
sensu check json
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_rds_disk": { | |
"type": "set", | |
"command": "/opt/sensu/embedded/bin/ruby ./check_rds.rb -i hostname_01 --disk-warning-over 70 --disk-critical-over 80 --period 1800", | |
"command": "/opt/sensu/embedded/bin/ruby ./check_rds.rb -i hostname_02 --disk-warning-over 40 --disk-critical-over 95 --period 1800", | |
"command": "/opt/sensu/embedded/bin/ruby ./check_rds.rb -i hostname_03 --disk-warning-over 30 --disk-critical-over 90 --period 1800", | |
"command": "/opt/sensu/embedded/bin/ruby ./check_rds.rb -i hostname_04 --disk-warning-over 50 --disk-critical-over 85 --period 1800", | |
"command": "/opt/sensu/embedded/bin/ruby ./check_rds.rb -i hostname_05 --disk-warning-over 80 --disk-critical-over 70 --period 1800", | |
"command": "/opt/sensu/embedded/bin/ruby ./check_rds.rb -i hostname_06 --disk-warning-over 10 --disk-critical-over 20 --period 1800", | |
"handlers": ["slack"], | |
"interval": 180, | |
"subscribers": [ "rds" ], | |
"aggregate" : true, | |
"occurrences": 5, | |
"refresh": 180 | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment