Supported OS Linux Windows Mac OS

インテグレーションバージョン1.1.1

To find out if this integration is available in your organization, see your Datadog Integrations page or ask your organization administrator.

To initiate an exception request to enable this integration for your organization, email [email protected].

概要

Redis の Sentinel サービスからメトリクスをリアルタイムに取得して、以下のことができます。

  • Sentinel の状態を視覚化および監視できます。
  • フェイルオーバーが通知されます。

セットアップ

Redis Sentinel チェックは Datadog Agent パッケージに含まれていないため、お客様自身でインストールする必要があります。

インストール

Agent v7.21 / v6.21 以降の場合は、下記の手順に従い Redis Sentinel チェックをホストにインストールします。Docker Agent または 上記バージョン以前の Agent でインストールする場合は、コミュニティインテグレーションの使用をご参照ください。

  1. 以下のコマンドを実行して、Agent インテグレーションをインストールします。

    datadog-agent integration install -t datadog-redis_sentinel==<INTEGRATION_VERSION>
    
  2. コアのインテグレーションと同様にインテグレーションを構成します。

構成

  1. Redis Sentinel のメトリクスの収集を開始するには、Agent のコンフィギュレーションディレクトリのルートにある conf.d/ フォルダーの redis_sentinel.d/conf.yaml ファイルを編集します。 使用可能なすべてのコンフィギュレーションオプションの詳細については、サンプル upsc.d/conf.yaml を参照してください。

  2. Agent を再起動します

検証

Agent の status サブコマンドを実行し、Checks セクションで redis_sentinel を探します。

収集データ

メトリクス

redis.sentinel.known_sentinels
(gauge)
number of sentinels detected
Shown as instance
redis.sentinel.known_slaves
(gauge)
number of slaves detected
Shown as instance
redis.sentinel.last_ok_ping_latency
(gauge)
number of seconds since last OK ping
Shown as second
redis.sentinel.ok_sentinels
(gauge)
number of sentinels up and running
Shown as instance
redis.sentinel.ok_slaves
(gauge)
number of slaves up and running
Shown as instance
redis.sentinel.odown_slaves
(gauge)
number of slaves that are in the Objectively Down state
Shown as instance
redis.sentinel.sdown_slaves
(gauge)
number of slaves that are in the Subjectively Down state
Shown as instance
redis.sentinel.link_pending_commands
(gauge)
number of pending sentinel commands
Shown as command
redis.sentinel.ping_latency
(gauge)
latency of a sentinel ping
Shown as millisecond
redis.sentinel.failover
(count)
number of failovers detected
Shown as occurrence

イベント

Redis の Sentinel チェックには、イベントは含まれません。

サービスチェック

redis.sentinel.master_is_down

Returns CRITICAL if the master is down, returns OK otherwise.

Statuses: ok, critical

redis.sentinel.master_is_disconnected

Returns CRITICAL if the master is disconnected, returns OK otherwise.

Statuses: ok, critical

redis.sentinel.slave_master_link_down

Returns CRITICAL if the master link is down, returns OK otherwise.

Statuses: ok, critical

redis.sentinel.slave_is_disconnected

Returns CRITICAL if the slave is disconnected, returns OK otherwise.

Statuses: ok, critical

トラブルシューティング

ご不明な点は、Datadog のサポートチームまでお問合せください。