fix cgroup monitoring
This commit is contained in:
parent
be9e640d3e
commit
57a50c5156
@ -35,15 +35,9 @@ in
|
|||||||
cgroup = [
|
cgroup = [
|
||||||
{
|
{
|
||||||
paths = [
|
paths = [
|
||||||
"/sys/fs/cgroup/memory/system.slice/*"
|
"/sys/fs/cgroup/system.slice/*"
|
||||||
];
|
];
|
||||||
files = ["memory.*usage*" "memory.limit_in_bytes"];
|
files = ["memory.current" "cpu.stat"];
|
||||||
}
|
|
||||||
{
|
|
||||||
paths = [
|
|
||||||
"/sys/fs/cgroup/cpu/system.slice/*"
|
|
||||||
];
|
|
||||||
files = ["cpuacct.usage" "cpu.cfs_period_us" "cpu.cfs_quota_us"];
|
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
ipmi_sensor = { path = "${pkgs.ipmitool}/bin/ipmitool"; };
|
ipmi_sensor = { path = "${pkgs.ipmitool}/bin/ipmitool"; };
|
||||||
|
Loading…
Reference in New Issue
Block a user