Skip to content

Instantly share code, notes, and snippets.

@inokappa
Created March 21, 2014 00:22
Show Gist options
  • Save inokappa/9676960 to your computer and use it in GitHub Desktop.
Save inokappa/9676960 to your computer and use it in GitHub Desktop.
monit で sensu-api を監視する設定
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
@inokappa
Copy link
Author

これを /etc/monit.d/sensu-api.conf とかの名前で設置する苦肉の策。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment