forked from nyanloutre/nixos-config
Monitoring IPMI
This commit is contained in:
parent
e550dbcea8
commit
aaf8d12628
@ -101,12 +101,17 @@
|
|||||||
mem = {};
|
mem = {};
|
||||||
processes = {};
|
processes = {};
|
||||||
system = {};
|
system = {};
|
||||||
|
ipmi_sensor = { path = "${pkgs.ipmitool}/bin/ipmitool"; };
|
||||||
};
|
};
|
||||||
outputs = {
|
outputs = {
|
||||||
influxdb = { database = "telegraf"; urls = [ "http://localhost:8086" ]; };
|
influxdb = { database = "telegraf"; urls = [ "http://localhost:8086" ]; };
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
services.udev.extraRules = ''
|
||||||
|
KERNEL=="ipmi*", MODE="660", OWNER="telegraf"
|
||||||
|
'';
|
||||||
|
|
||||||
services.grafana.enable = true;
|
services.grafana.enable = true;
|
||||||
services.grafana.addr = "127.0.0.1";
|
services.grafana.addr = "127.0.0.1";
|
||||||
services.grafana.dataDir = "/var/lib/grafana";
|
services.grafana.dataDir = "/var/lib/grafana";
|
||||||
|
Loading…
Reference in New Issue
Block a user