Arigi itself is a powerful configuration management solution for Syncthing, but the dashboard view is a bit basic. How can we dig down into what’s really going on in the cluster?
This is indeed quite basic – and intentionally so. We’ve opted both for keeping the top level view simple and not reinventing the reporting wheel. Instead we leverage the open source community we’re a part of. One of Arigi’s behind the scenes operations is to subscribe to the event feed of all managed devices, and this event feed can be forwarded to an ElasticSearch instance. Once there, we can use the powerful aggregation and visualization available in Kibana to show interesting things! For example, we can get an overview of device resource usage, and see what operating systems and versions we have deployed.
Perhaps more interesting is how the cluster is doing in terms of sync operations. We can get a graphical overview of the amount of files synced over time, and a summary of the latest operations - including folder and file, how it went, and which devices were involved.
This is also a powerful tool for troubleshooting. For example, we might be interested in a certain file, to see how it has flowed from device to device during syncing. Doing an event search for the file name gives us a timeline of the operations involving that file.
Events can be expanded to see full device IDs, what action was taken, and so on.
This is just scraping the surface of what’s possible - the real power comes from being able to answer questions we can’t foresee, using the data we collect today! This is made possible by aggregating the individual event feeds and providing a single interface to mine the information.