diff --git a/templates/telegraf.conf.j2 b/templates/telegraf.conf.j2 index 5dad2cd..42de4cd 100644 --- a/templates/telegraf.conf.j2 +++ b/templates/telegraf.conf.j2 @@ -91,3 +91,9 @@ [[inputs.wireguard]] devices = ["wg0"] {% endif %} + +{% if inventory_hostname == "n2" %} +[[inputs.file]] + files = ["/mnt/seedbox/.config/stats.json"] + data_format = "json" +{% endif %}