{pkgs, config, ...}: with import ; { services.telegraf = { enable = true; extraConfig = { interval = "1s"; outputs = { influxdb = { urls = ["http://prism:8086"]; database = "telegraf_db"; user_agent = "telegraf"; }; }; inputs = { cpu = { percpu = false; totalcpu = true; }; mem = {}; ping = { urls = ["8.8.8.8"]; }; net = {}; }; }; }; }