A simple Go application that pings an endpoint and stores the response time in a InfluxDB database.
networkmonitor.exe -influxdb-user <INFLUXDBUSER> -influxdb-password <INFLUXDBPASSWORD> -influxdb-url example.com:8086 -location home -endpoint-url 8.8.8.8
sudo ./networkmonitor -influxdb-user <INFLUXDBUSER> -influxdb-password <INFLUXDBPASSWORD> -influxdb-url example.com:8086 -location home -endpoint-url 8.8.8.8
Recommended to run this as a service.