Kaushik 4e887ab028 Add native rclone sync monitoring (agent v3.6-sync + sync-monitor engine)
Absorbs the standalone rclone fleet monitor into the RMM, per plan:
- deploy_agent.sh: embedded agent v3.6-sync gains a fail-soft sync-monitor
  module — tails the rclone-synology-sync container's log (docker inspect
  discovery), parses rounds/pairs/skips/transfers, inventories upload dirs,
  POSTs to /api/sync-ingest every 10s. Machines without the container
  report no_container and stay silent. Heartbeat loop untouched.
- central_api_prototype.py: POST /api/sync-ingest (agent-token auth) into
  new sync_* collections; native /api/sync-monitor/* read API (overview,
  alerts, stats, timeseries, per-machine events, delete) with JWT auth;
  NAS verification loop (rclone lsjson, Mongo-shared listings across
  workers) + per-volume NAS health via rclone about (NAS_VOLUMES).
- .env: NAS creds + sync-monitor tuning keys.

Rolled out fleet-wide 2026-08-18 (25 clients on 3.6-sync). Standalone
collector still runs in parallel pending retirement.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-18 11:34:29 +05:30
2026-08-04 12:48:14 +05:30
2026-06-02 15:28:02 +05:30
2026-07-16 14:30:36 +05:30
2026-07-16 14:30:36 +05:30
2026-07-16 14:30:36 +05:30
2026-07-16 14:30:36 +05:30
2026-07-16 14:30:36 +05:30
2026-07-16 14:30:36 +05:30
Description
No description provided
281 KiB
Languages
Python 57.8%
Shell 42.2%