Deploy the dashboard

Install the telegraf package

Debian & Ubuntu

wget https://dl.influxdata.com/telegraf/releases/telegraf_1.10.3-1_amd64.deb
dpkg -i telegraf_1.10.3-1_amd64.deb

RedHat & CentOS

wget https://dl.influxdata.com/telegraf/releases/telegraf-1.10.3-1.x86_64.rpm
yum localinstall telegraf-1.10.3-1.x86_64.rpm

Customize telegraf.conf

wget -O /etc/telegraf/telegraf.conf https://download.mailpiler.com/telegraf.tmpl

Edit /etc/telegraf/telegraf.conf, and replace the following variables with the settings you received:

  • CUSTOMERID
  • INFLUXDB_PASSWORD

Telegraf is able to read some mysql metrics as well. To be able to do that you may use piler's mysql password to access mysql. Replace MYSQL_PASSWORD in /etc/telegraf/telegraf.conf with this password.

Test and reload the telegraf service

telegraf -test
service telegraf restart