Install telegraf on pfsense

Page content

Install and configure telegraf on pfsense to provides system information to prometheus.

Install telegraf

  • At the System / Package menu install the telegraf service to the pfsense.
  • ssh to the pfsense server and open a shell

Example image

Install nano

pkg update
pkg install nano

Configure telegraf

cd /usr/local/etc

nano telegraf.conf
 listen = ":9273"

echo "telegraf_enable="YES"" >> /etc/rc.conf

cd /usr/local/etc/rc.d
./telegraf restart