Skip to content

A simple Go application that pings an endpoint and stores the response time in a InfluxDB database.

License

Notifications You must be signed in to change notification settings

JamesStallworthy/Go-NetworkMonitor

Repository files navigation

Go-NetworkMonitor

A simple Go application that pings an endpoint and stores the response time in a InfluxDB database.

Usage examples

Windows

networkmonitor.exe -influxdb-user <INFLUXDBUSER> -influxdb-password <INFLUXDBPASSWORD> -influxdb-url example.com:8086 -location home -endpoint-url 8.8.8.8

Linux (Needs to run as sudo or unprivileged pings needs to be enabled)

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.

About

A simple Go application that pings an endpoint and stores the response time in a InfluxDB database.

Resources

License

Stars

Watchers

Forks

Packages

No packages published