summaryrefslogtreecommitdiffstats
path: root/makefu/2configs/stats/telegraf/default.nix
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2020-06-14 11:51:07 +0200
committermakefu <github@syntax-fehler.de>2020-06-14 11:51:07 +0200
commit8ff56542bcec27663ab4d8e81ca26f7b33d86902 (patch)
tree7f9b8fdfb8f9ef88fe524988ca35d388c6c85154 /makefu/2configs/stats/telegraf/default.nix
parente2c349c98816daf68667554d6004600d91a7ad8b (diff)
ma telegraf: add zigbee nodes
Diffstat (limited to 'makefu/2configs/stats/telegraf/default.nix')
-rw-r--r--makefu/2configs/stats/telegraf/default.nix19
1 files changed, 12 insertions, 7 deletions
diff --git a/makefu/2configs/stats/telegraf/default.nix b/makefu/2configs/stats/telegraf/default.nix
index c60539c71..5a81e2749 100644
--- a/makefu/2configs/stats/telegraf/default.nix
+++ b/makefu/2configs/stats/telegraf/default.nix
@@ -12,13 +12,18 @@ in {
urls = [ url ];
database = "telegraf";
}];
- mqtt = [{
- servers = [ mqtt_server ];
- topic_prefix = "/telegraf";
- data_format = "json";
- qos = 0;
- batch = false;
- }];
+ #file = [{ # debugging
+ # files = [ "stdout" ];
+ # data_format = "influx";
+ #}];
+
+ #mqtt = [{
+ # servers = [ mqtt_server ];
+ # topic_prefix = "/telegraf";
+ # data_format = "json";
+ # qos = 0;
+ # batch = false;
+ #}];
};
};
};