Skip to content

Commit eb52841

Browse files
committed
Update telegraf config
1 parent 52760de commit eb52841

File tree

1 file changed

+3
-26
lines changed

1 file changed

+3
-26
lines changed

telegraf.nix

+3-26
Original file line numberDiff line numberDiff line change
@@ -6,37 +6,14 @@ in
66
enable = true;
77
extraConfig = {
88
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 = { };
319
system = { };
32-
temp = { };
3310
};
3411
outputs = {
3512
influxdb_v2 = {
3613
urls = [ "http://nixpi4:8086" ];
37-
token = secrets.telegraf.INFLUX_TOKEN;
38-
organization = "home";
39-
bucket = "xps";
14+
token = secrets.telegraf.system.token;
15+
organization = secrets.telegraf.system.org;
16+
bucket = secrets.telegraf.system.bucket;
4017
};
4118
};
4219
};

0 commit comments

Comments
 (0)