Created
March 21, 2014 00:22
-
-
Save inokappa/9676960 to your computer and use it in GitHub Desktop.
monit で sensu-api を監視する設定
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
check process sensu-api matching "sensu-api" | |
start program = "/etc/init.d/sensu-api start" | |
stop program = "/etc/init.d/sensu-api stop" | |
if 5 restarts within 5 cycles then timeout |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
これを /etc/monit.d/sensu-api.conf とかの名前で設置する苦肉の策。