Start the influxDB and Grafana containers
docker-compose up -d
Download and install telegraf On Linux
wget https://dl.influxdata.com/telegraf/releases/telegraf_1.11.2-1_amd64.deb
sudo dpkg -i telegraf_1.11.2-1_amd64.deb
On Mac:
brew install telegraf
Copy telegraf.conf to the specified location from where you wan to use. Update url, username, password and the plugins you wish to use
Test the telegraf settings:
telegraf -config telegraf.conf
Start telegraf:
telegraf -config telegraf.conf