Skip to content

samuelkadolph/truenas-telegraf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

License

Stars

Watchers

Forks

Packages

No packages published