Can we monitor if the syncthing remote devices are online, via command line? I have a master syncthing, read only, and few peers, and I want to script something that alert me if the peers shows “disconnected” or wont show “up to date”
Have a look at https://docs.syncthing.net/dev/rest.html - you can setup API keys and loop through all devices, etc.