2016-04-01 5 views
0

POST /clients APIリソースでSensuクライアントを作成すると、Uchiwa Dashboardに表示されますが、180秒後にKeep Aliveチェックが失敗することが予想されます。実際のSensuクライアントがチェックインされていないため、デフォルトとなります。Sensu:遅れてクライアントを登録するとクライアントに警告が表示されない

どのようにしてキープアライブチェックが失敗するのですか?

登録のサブスクリプションにkeepaliveを正常に追加しても効果はありません。

答えて

0

扇子サーバは、APIを介して作成されたクライアントのためのキープアライブのサポートを有効にしません:https://github.com/sensu/sensu/blob/master/lib/sensu/server/process.rb#L476

# Create a blank client (data) and add it to the client 
    # registry. Only the client name is known, the other client 
    # attributes must be updated via the API (POST /clients:client). 
    # Dynamically created clients and those updated via the API will 
    # have client keepalives disabled, `:keepalives` is set to 
    # `false`. 
関連する問題