{pkgs, config, ...}: with import ; { lass.telegraf = { enable = true; interval = "1s"; outputs = '' [outputs.influxdb] urls = ["http://prism:8086"] database = "telegraf_db" user_agent = "telegraf" ''; inputs = [ '' [cpu] percpu = false totalcpu = true drop = ["cpu_time"] '' '' [[inputs.mem]] '' '' [[inputs.ping]] urls = ["8.8.8.8"] '' ]; }; systemd.services.telegraf.path = with pkgs; [ iputils lm_sensors ]; }