Initial commit

This commit is contained in:
Nathaniel Landau
2022-02-05 16:22:33 -05:00
parent 43e9f4fc59
commit 84958e0ef8
103 changed files with 10138 additions and 23 deletions

View File

@@ -0,0 +1,10 @@
[[inputs.exec]]
{% if 'pis' in group_names %}
commands = ["cat /sys/class/thermal/thermal_zone0/temp"]
{% elif 'macs' in group_names %}
commands = ["${HOME}/dotfiles-private/config/telegraf/cputemp.sh"]
{% endif %}
timeout = "5s"
name_suffix = "_cpu_temp"
data_format = "value"
data_type = "integer"