タグ

2011年9月13日のブックマーク (3件)

  • Godで初めてのプロセス監視

    Ruby 製のプロセス監視ツール、God を試してみた。(書いてる時点より5ヶ月前…。) モダンに監視したいなぜなら TIG が落ちるから(笑) 実は Un*x 系の OS なら素朴な監視は割と簡単にできる。 psgrep/etc/rc.d/* とか /etc/init.d/* とかsendmail辺りで事足りる。要するに 定期的に ps を叩いて、この文字列のパターンがない場合はこのプロセスが落ちてるから mail 投げて起動スクリプトを呼ぼう ってだけ1。これだけでプロセスが落ちてたらまた起動し直すということが可能なので、知らん間にサーバ落ちててオレ涙目っていう状態を減らすことはできる。少なくともすでに上の道具が使えているなら新しいことを覚える手間はないので、どうしてもすぐ監視を始めたい場合にはこれだけでも十分有効だと思う。 でも効率が良くない。ちょっと複雑なことを考え始めると for

  • god - process and task monitoring done right

    A Better Way to Monitor God is an easy to configure, easy to extend monitoring framework written in Ruby. Keeping your server processes and tasks running should be a simple part of your deployment process. God aims to be the simplest, most powerful monitoring application available. Tom Preston-Werner tom at rubyisawesome dot com Google Group: http://groups.google.com/group/god-rb Features Config f

    labocho
    labocho 2011/09/13
    プロセス監視フレームワーク ruby 製
  • Setting Solr as a daemon and monitoring with God

    If you're new here, you may want to subscribe to my RSS feed. Thanks for visiting! While working on a project with SOLR we wanted to setup SOLR to run as a daemon and monitor it with God.  While researching how to do this I found that while there some information, there was not a complete answer that completely worked for me. So I thought I would share what I did. Steps to install SOLR as a daemon

    labocho
    labocho 2011/09/13
    daemon デーモン