Supported OS

Versión de la integración1.1.0

Información general

Syncthing sincroniza archivos entre dos o más ordenadores en tiempo real. Esta integración te permite monitorizar Syncthing utilizando Datadog.

Configuración

El check de Syncthing no está incluido en el paquete del Datadog Agent, por lo que es necesario instalarlo.

Instalación

Para versiones 7.21/6.21 o posteriores del Agent, sigue las siguientes instrucciones para instalar el check de Syncthing en tu host. Para instalarlo con el Agent Docker o versiones anteriores del Agent, consulta Uso de integraciones de la comunidad.

  1. Ejecuta el siguiente comando para instalar la integración del Agent:

    datadog-agent integration install -t datadog-syncthing==<INTEGRATION_VERSION>
    
  2. Configura tu integración como si fuese una integración de base.

Configuración

  1. Edita el archivo syncthing.d/conf.yaml, que se encuentra en la carpeta conf.d/ en la raíz del directorio de configuración de tu Agent, para empezar a recopilar tus métricas de Syncthing. Para conocer todas las opciones de configuración disponibles, consulta el syncthing.d/conf.yaml de ejemplo.

  2. Reinicia el Agent.

Validación

Ejecuta el subcomando de estado del Agent y busca syncthing en la sección Checks.

Datos recopilados

Métricas

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

Eventos

Syncthing no incluye eventos.

Checks de servicio

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

Solucionar problemas

¿Necesitas ayuda? Contacta con el equipo de asistencia de Datadog.