未分類 | 5月 27th, 2009

monit で外部サーバの監視をするときは、check host っていうのを使えば良いみたいだ。

check host ecpplus with address ecpplus.net
  if failed port 80 then alert
    alert sample@ecpplus.net

とすると、ecpplus.net の 80番ポートの死活監視を行って、アウトー!ってなったらメールを飛ばしてくれる。復旧したときもメールをくれる。

参考:monit 公式のドキュメント

There are no comments yet, add one below.

Comments are closed.

Leave a Comment


Comment moderation is enabled. Your comment may take some time to appear.

download the hurt locker