mirror of
https://forgejo.altau.su/lego/lego-monitoring.git
synced 2026-03-10 04:41:10 +00:00
lvmraid monitoring
This commit is contained in:
parent
57accba7d7
commit
db1c41fb53
13 changed files with 249 additions and 5 deletions
|
|
@ -35,6 +35,7 @@ in
|
|||
"temp"
|
||||
"net"
|
||||
"ups"
|
||||
"lvmraid"
|
||||
|
||||
"vulnix"
|
||||
]);
|
||||
|
|
@ -48,6 +49,7 @@ in
|
|||
* temp -- alerts when temperature readings are above thresholds
|
||||
* net -- alerts when network usage is above threshold
|
||||
* ups -- alerts on UPS events
|
||||
* lvmraid -- alerts when RAID LVs are unhealthy
|
||||
* vulnix -- periodically scans system for known CVEs, alerts if any are found (NixOS only)'';
|
||||
};
|
||||
|
||||
|
|
@ -187,6 +189,15 @@ in
|
|||
description = "Group to allow to send UPS status updates. This should usually include the user upsmon runs as.";
|
||||
};
|
||||
};
|
||||
|
||||
lvmraid = {
|
||||
lvPaths = lib.mkOption {
|
||||
type = with lib.types; listOf str;
|
||||
default = [ ];
|
||||
description = "List of LV paths to monitor.";
|
||||
example = lib.literalExpression ''[ Data/lvol0 ]'';
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue