modules/darwin/common/telegraf: add smart
This commit is contained in:
parent
0f8f8eb8d2
commit
436a795a63
1 changed files with 2 additions and 0 deletions
|
@ -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 = { };
|
||||
|
|
Loading…
Add table
Reference in a new issue