We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 52760de commit eb52841Copy full SHA for eb52841
telegraf.nix
@@ -6,37 +6,14 @@ in
6
enable = true;
7
extraConfig = {
8
inputs = {
9
- cpu = {
10
- percpu = true;
11
- totalcpu = true;
12
- collect_cpu_time = false;
13
- report_active = false;
14
- };
15
- disk = {
16
- ignore_fs = [
17
- "tmpfs"
18
- "devtmpfs"
19
- "devfs"
20
- "iso9660"
21
- "overlay"
22
- "aufs"
23
- "squashfs"
24
- ];
25
26
- diskio = { };
27
- mem = { };
28
- nstat = { };
29
- processes = { };
30
- swap = { };
31
system = { };
32
- temp = { };
33
};
34
outputs = {
35
influxdb_v2 = {
36
urls = [ "http://nixpi4:8086" ];
37
- token = secrets.telegraf.INFLUX_TOKEN;
38
- organization = "home";
39
- bucket = "xps";
+ token = secrets.telegraf.system.token;
+ organization = secrets.telegraf.system.org;
+ bucket = secrets.telegraf.system.bucket;
40
41
42
0 commit comments