does someone know, if there is a syncthing management tool, that uses the api for those guys who are running a huge amount of devices?
means: a tool to have all important information of your devices at one point…
yeah… tried to get it run some months ago and did not remember this. But I honestly thought of a online tool, maybe made of php? oO
this morning I tried first really basic curl queries to my “cloud” syncthing device - but this would take months for me…
the rest is just selecting the right data, add a simple table, a few if to check for errors and a basic HTML document with a meta-refresh header that reloads the page every x seconds
yap… but this works fine for static info, which will be only updated after a change. for realtime stuff such as cpu usage, up & download rate etc I will need to use some js reload as you wrote…
but what about bandwith in this case if I need to query these info lets say once a second…
I was thinking of a potential feature I’d like to bring up for discussion:
A Syncthing Device Manager.
For large clusters, it can be difficult/annoying to visit each device’s webpage to add a new device/folder to the cluster. With a feature like this, each device could specify a “device manager”. The device manager can then make changes to all devices that trust it: things like adding folders/devices, etc. Basically anything you could do locally from the device itself.
Yeah, that’d be fairly neat. Another idea I’ve floated once or twice but that I don’t think anyone else has picked up on is to use the CA system inherent in TLS. Normally we just go by explicitly trusted device IDs (essentially certificate pinning). But we might as well add the ability to trust any certificate (=device) signed by a local CA, thus having a potential master device able to automatically accept new peer devices.
this would be great - because my php & mysql skills are little more than basic skills and I will not have so much time the next 4 weeks
my idea was to build up a platform to “manage” multiple devices with only the most important features:
adding devices to the stored devices
shutdown, reboot, upgrade the devices
showing dashboard info of the stored devices like online status, offline status, pings, down&upload rate
showing detailed info like connections between devices, ram&cpu usage etc.
managing discosrvs & rate limits
for the second “version” I could imagine some bulk actions, like adding discos (and folders) to all devices etc.
My problem: I’m not familar with asyncronus calling the api to show some live data on the dashboard (e.g.). but every skill is welcome!!
I could open a git tomorrow - if you would like to have a look on it…