Chef を使用して Debian 7.8.0 に Sensu 0.18.1 をインストールしました。インストールは正常に完了したように見えますが、なぜかうちわのダッシュボードにクライアントが表示されません。
サーバー ログには、「キープアライブおよび結果キューからのサブスクライブ解除」という警告が表示されます。このメッセージの意味がわかりません...
そして、rabbitMQ が接続に失敗したというこのメッセージを見つけました。しかし、これは接続が一度成功したように見えますが、すぐに失敗します。このメッセージの意味がわかりません。
/var/log/rabbitmq/rabbit@debianSensuServer.log
=INFO REPORT==== 24-Aug-2015::20:01:30 ===
accepting AMQP connection <0.9084.0> (127.0.0.1:59174 -> 127.0.0.1:5672)
=ERROR REPORT==== 24-Aug-2015::20:01:30 ===
closing AMQP connection <0.9084.0> (127.0.0.1:59174 -> 127.0.0.1:5672):
{bad_header,<<129,15,1,3,3,0,246,0>>}
この問題を解決してうちわのダッシュボードにクライアントを表示するにはどうすればよいですか?
私はこの分野についての知識が乏しいので、どんな提案でも大歓迎です。
/var/log/sensu/sensu-server.log
{"timestamp":"2015-08-24T19:38:15.089922-0400","level":"warn","message":"loading config file","file":"/etc/sensu/config.json"}
{"timestamp":"2015-08-24T19:38:15.090311-0400","level":"warn","message":"loading config files from directory","directory":"/etc/sensu/conf.d"}
{"timestamp":"2015-08-24T19:38:15.109140-0400","level":"warn","message":"loading extension files from directory","directory":"/etc/sensu/extensions"}
{"timestamp":"2015-08-24T19:38:15.109842-0400","level":"warn","message":"loaded extension","type":"mutator","name":"json","description":"returns JSON formatted event data"}
{"timestamp":"2015-08-24T19:38:15.109929-0400","level":"warn","message":"loaded extension","type":"mutator","name":"ruby_hash","description":"returns ruby hash event data"}
{"timestamp":"2015-08-24T19:38:15.109999-0400","level":"warn","message":"loaded extension","type":"mutator","name":"only_check_output","description":"returns check output"}
{"timestamp":"2015-08-24T19:38:15.110067-0400","level":"warn","message":"loaded extension","type":"handler","name":"debug","description":"returns raw event data"}
{"timestamp":"2015-08-24T19:38:15.247597-0400","level":"warn","message":"reconnecting to transport"}
{"timestamp":"2015-08-24T19:38:15.247803-0400","level":"warn","message":"unsubscribing from keepalive and result queues"}
/var/log/sensu/sensu-client.log
{"timestamp":"2015-08-24T19:26:57.291895-0400","level":"warn","message":"loading config file","file":"/etc/sensu/config.json"}
{"timestamp":"2015-08-24T19:26:57.292039-0400","level":"warn","message":"loading config files from directory","directory":"/etc/sensu/conf.d"}
{"timestamp":"2015-08-24T19:26:57.294905-0400","level":"warn","message":"loading extension files from directory","directory":"/etc/sensu/extensions"}
{"timestamp":"2015-08-24T19:26:57.450583-0400","level":"warn","message":"reconnecting to transport"}