A complete setup to measure ping times over longer periods (days, months, years) and visualize them. By "complete setup" we mean virtual machines including scripts to create them, spin them up, provision them.
#Stack used
- ping-statsd-agent
- statsd
- Telegraf
- InfluxDB
- Grafana
Those things work together as follows:
#Includes The repo should contain (one day):
- All scripts
- A guide to set up a complete tool chain including the virtual machines
- A test/demo environment to show what it looks like
#Install & Run ###Pre requisites
- Installed Vagrant
- Virtualbox installed
###Install & run
clone <this repo>
cd <into the repo u just cloned>
vagrant up
- Now 2 VMs should be created and installed. In case it fails, it often helps to re-run avagrant provision
, especially for the GraphServer. The command would then bevagrant provision graphserver
- Go to http://localhost:3000/login. Login is
admin
, passwordadmin
.
###Accessing and using the system ####Grafana
- Go to http://localhost:3000/login. Login is
admin
, passwordadmin
. - Add datasource by selecting
Data Sources
in the menu on the left and clickingAdd new
in the top line. The settings are as follows: -
- The default login is
admin
with passwordadmin
- The default login is
####InfluxDB
- The InfluxDB exposes on port 8086:
#Literature & references
- Getting Started with Sending StatsD Metrics to Telegraf & InfluxDB: A good explanation of how things work and should be configured
- Grafana and ping: This guy did something similar, although his setup is all on one box.
- The link to the LucidCharts document with the overview drawing
###Ansible stuff
- Telegraf role used from here: https://github.com/rossmcdonald/telegraf