nagios から sensu に移行または監視しており、その一環として openbsd サーバーを sensu に移動しています。これにはネイティブ クライアントがないことは知っていますが、誰かがこれを試して成功したかどうか疑問に思っていました。
これまでのところ、役立つものは何も見つかりませんでした。
これまでに見つけたのはこのリンク だけでしたが、彼がどのようにこれを行ったのかわかりませんでした。
また、新しいボックスを作成し、 経由で sensu クライアントをインストールしようとしましたがgem install sensu
、インストールはエラーなしで終了しましたが、クライアントは実行されず、次のようになりました:
-bash-4.3# sensu-client18
/usr/local/lib/ruby/gems/1.8/gems/ffi-1.9.10/lib/ffi_c.so: Cannot load specified object - /usr/local/lib/ruby/gems/1.8/gems/ffi-1.9.10/lib/ffi_c.so (LoadError)
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/cust
from /usr/local/lib/ruby/site_ruby/1.8/rubyg
from /usr/local/lib/ruby/gems/1.8/gems/sensu
from /usr/local/lib/ruby/site_ruby/1.8/rubyg
from /usr/local/lib/ruby/site_ruby/1.8/rubyg
from /usr/local/lib/ruby/gems/1.8/gems/sensu
from /usr/local/lib/ruby/site_ruby/1.8/rubyg
from /usr/local/lib/ruby/site_ruby/1.8/rubyg
from /usr/local/lib/ruby/gems/1.8/gems/sensu
from /usr/local/lib/ruby/site_ruby/1.8/rubyg
from /usr/local/lib/ruby/site_ruby/1.8/rubyg
from /usr/local/lib/ruby/gems/1.8/gems/sensu
from /usr/local/bin/sensu-client18:23:in `lo
from /usr/local/bin/sensu-client18:23
インストールプロセス:
*** LOCAL GEMS ***
-bash-4.3# gem18 install sensu
Fetching: multi_json-1.11.2.gem (100%)
Fetching: uuidtools-2.1.5.gem (100%)
Fetching: eventmachine-1.0.8.gem (100%)
Building native extensions. This could take a while>Fetching: sensu-logger-1.1.0.gem (100%)
Fetching: sensu-settings-3.3.0.gem (100%)
Fetching: sensu-extension-1.3.0.gem (100%)
Fetching: sensu-extensions-1.4.0.gem (100%)
Fetching: amq-protocol-1.9.2.gem (100%)
Fetching: amqp-1.5.0.gem (100%)
Fetching: em-redis-unified-1.0.1.gem (100%)
Fetching: sensu-transport-3.3.0.gem (100%)
Fetching: em-worker-0.0.2.gem (100%)
Fetching: ffi-1.9.10.gem (100%)
Building native extensions. This could take a while>Fetching: childprocess-0.5.8.gem (100%)
Fetching: sensu-spawn-1.6.0.gem (100%)
Fetching: rack-1.6.4.gem (100%)
Fetching: tilt-2.0.2.gem (100%)
Fetching: rack-protection-1.5.3.gem (100%)
Fetching: sinatra-1.4.6.gem (100%)
Fetching: async_sinatra-1.2.0.gem (100%)
Fetching: daemons-1.2.3.gem (100%)
Fetching: thin-1.6.3.gem (100%)
Building native extensions. This could take a while>Fetching: sensu-
0.22.0.gem (100%)
Successfully installed multi_json-1.11.2
Successfully installed uuidtools-2.1.5
Successfully installed eventmachine-1.0.8
Successfully installed sensu-logger-1.1.0
Successfully installed sensu-settings-3.3.0
Successfully installed sensu-extension-1.3.0
Successfully installed sensu-extensions-1.4.0
Successfully installed amq-protocol-1.9.2
Successfully installed amqp-1.5.0
Successfully installed em-redis-unified-1.0.1
Successfully installed sensu-transport-3.3.0
Successfully installed em-worker-0.0.2
Successfully installed ffi-1.9.10
Successfully installed childprocess-0.5.8
Successfully installed sensu-spawn-1.6.0
Successfully installed rack-1.6.4
Successfully installed tilt-2.0.2
Successfully installed rack-protection-1.5.3
Successfully installed sinatra-1.4.6
Successfully installed async_sinatra-1.2.0
Successfully installed daemons-1.2.3
Successfully installed thin-1.6.3
Successfully installed sensu-0.22.0
23 gems installed
何か考えはありますか?
編集:私は言及する必要があります、私はルビーに非常に慣れていないので、ここで非常に愚かなものが欠けている可能性があります