Supported OS Linux Windows Mac OS

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

概要

Syncthing は、2 台以上のコンピュータ間でファイルをリアルタイムに同期させます。このインテグレーションにより、Datadog を使用して Syncthing を監視することができます。

計画と使用

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

インフラストラクチャーリスト

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

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

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

ブラウザトラブルシューティング

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

  2. Agent を再起動します

検証

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

リアルユーザーモニタリング

データセキュリティ

syncthing.connections.connected
(gauge)
The number of connected endpoints
Shown as connection
syncthing.connections.paused
(gauge)
The number of paused endpoints
Shown as connection
syncthing.connections.count
(gauge)
The number of endpoints
Shown as connection
syncthing.folder.bytes
(gauge)
The size of the folder
Shown as byte
syncthing.folder.errors
(count)
The errors count for folder
Shown as error
syncthing.folder.files
(gauge)
The count of files in the folder
Shown as file
syncthing.folder.global.bytes
(gauge)
The global size of the folder
Shown as byte
syncthing.folder.global.deleted
(gauge)
The global count of the deleted files
Shown as file
syncthing.folder.global.directories
(gauge)
The global count of directories
Shown as file
syncthing.folder.global.files
(gauge)
The global count of files
Shown as file
syncthing.folder.global.total_items
(gauge)
The global total count of items
Shown as item
syncthing.folder.local.bytes
(gauge)
The local size of the folder
Shown as byte
syncthing.folder.local.deleted
(gauge)
The local count of the deleted files
Shown as file
syncthing.folder.local.directories
(gauge)
The local count of directories
Shown as file
syncthing.folder.local.files
(gauge)
The local count of files
Shown as file
syncthing.folder.local.total_items
(gauge)
The local total count of items
Shown as item
syncthing.folder.need.bytes
(gauge)
The need to sync size
Shown as byte
syncthing.folder.need.deletes
(gauge)
The need to delete files count
Shown as file
syncthing.folder.need.directories
(gauge)
The need to sync directories count
Shown as file
syncthing.folder.need.files
(gauge)
The need to sync files count
Shown as file
syncthing.folder.need.total_items
(gauge)
The need to sync total items count
Shown as item
syncthing.folder.pull_errors
(count)
The pull errors count
Shown as error
syncthing.folder.last_scan
(gauge)
The time from the last folder scan
Shown as second
syncthing.errors
(count)
The system errors count
Shown as error
syncthing.stats.device.last_seen
(gauge)
The time from the last device seen
Shown as second
syncthing.stats.device.last_connection_duration
(gauge)
The time of the last device connection duration
Shown as second

ヘルプ

Syncthing には、イベントは含まれません。

ヘルプ

syncthing.can_connect
Returns CRITICAL if the Agent can’t connect to the Syncthing endpoint, OK otherwise
Statuses: ok, critical

ヘルプ

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