LoginSignup
3
3

More than 5 years have passed since last update.

ELBのヘルスチェックでデーモンプロセスの死活監視する

Last updated at Posted at 2016-06-15

よくプロセス落ちててInServiceしてほしくなかったので作ってみました
https://github.com/ngc224/phck

監視するデーモンのPIDファイルパスを設定ファイルに記述して起動すると、
httpリクエストするたびにプロセスの状態をチェックして、正常時は200、監視しているプロセスが1つでも落ちていると500を返します
あとプロセスの情報を返します

通知は他の物で間に合いそうなのでいらないかな

3
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
3