Skip to content

About

Simple way to add telegraf telemetries to a TrueNAS host

Resources

Stars

20 stars

Watchers

1 watching

Forks

Latest commit

 

History

24 Commits

Folders and files

Repository files navigation

truenas-telegraf

Installation

You should install this inside a dataset so it won't get blown away by any TrueNAS updates.

zfs create tank/telegraf
git clone https://github.com/samuelkadolph/truenas-telegraf /mnt/tank/telegraf
/mnt/tank/telegraf/install

Tested With

Confirmed to work with:

  • FreeNAS-11.3-U4.1
  • TrueNAS-12.0-RELEASE
  • TrueNAS-12.0-U1.1
  • TrueNAS-12.0-U3
  • TrueNAS-13.0-U5.3

Configuration

Main configuration file lives at /mnt/tank/telegraf/telegraf.conf.

Additional configuration files live in /mnt/tank/telegraf/telegraf.d.

cputemp

I've included a small script that will correctly report CPU temperatures. Add this to your config.

[[inputs.exec]]
  commands = ["/mnt/tank/telegraf/cputemp"]
  data_format = "influx"

About

Simple way to add telegraf telemetries to a TrueNAS host

Resources

Stars

20 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages