I’m currently building something like this now although using graphite as a backend instead of InfluxDB. I have my Raspberry Pi connected via OpenVPN to a network, and collectd logging system metrics. I have also added some workflows to the built in services to grab the data.
Due to the unstable OpenVPN / Cellular link, I am currently trying to use RabbitMQ on both ends (#over-engineering), to collect the metrics, and then shovel it over to the server, and then dequeue them there and log into graphite.
I’m currently dealing with the low memory limits on the Raspberry Pi and RabbitMQ dying. I might upgrade the device to a Raspberry Pi 4, or try something else.