Syncthing

Supported OS Windows Mac OS

통합 버전1.1.0

개요

Syncthing은 두 대 이상의 컴퓨터 간에 파일을 실시간으로 동기화합니다. 이 통합을 통해 Datadog을 사용하여 Syncthing을 모니터링할 수 있습니다.

설정

Syncthing 점검은 Datadog Agent 패키지에 포함되어 있지 않으므로 설치해야 합니다.

설치

Agent v7.21 이상/v6.21 이상의 경우, 아래 지침에 따라 호스트에 Syncthing 점검을 설치하세요. Docker Agent 또는 이전 버전의 Agent에 Syncthing 점검을 설치하려면 커뮤니티 통합 사용을 참고하세요.

  1. 다음 명령어를 실행해 에이전트 통합을 설치하세요.

    datadog-agent integration install -t datadog-syncthing==<INTEGRATION_VERSION>
    
  2. 통합을 코어 통합과 유사하게 설정하세요.

구성

  1. Agent 구성 디렉터리 루트에 있는 conf.d/ 폴더의 syncthing.d/conf.yaml 파일을 편집하여 Syncthing 메트릭 수집을 시작하세요. 사용 가능한 모든 구성 옵션은 샘플 syncthing.d/conf.yaml을 참고하세요.

  2. 에이전트 다시 시작

검증

Agent의 상태 하위 명령을 실행하고 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 고객 지원팀에 문의하세요.