modules/darwin/common/telegraf: add smart

This commit is contained in:
zowoq 2023-11-03 16:30:22 +10:00
parent 0f8f8eb8d2
commit 436a795a63

View file

@ -1,3 +1,4 @@
{ pkgs, ... }:
{
services.telegraf = {
enable = true;
@ -5,6 +6,7 @@
agent.interval = "60s";
inputs = {
prometheus.metric_version = 2;
smart.path_smartctl = "${pkgs.smartmontools}/bin/smartctl";
system = { };
mem = { };
swap = { };