mirror of
https://forgejo.altau.su/lego/lego-monitoring.git
synced 2026-03-10 12:45:19 +00:00
lvmraid monitoring
This commit is contained in:
parent
57accba7d7
commit
db1c41fb53
13 changed files with 249 additions and 5 deletions
|
|
@ -32,8 +32,7 @@ package:
|
|||
enabled_check_sets = cfg.enabledCheckSets;
|
||||
log_level = cfg.logLevel;
|
||||
alert_channels = {
|
||||
telegram = with cfg.alertChannels.telegram; if enable then
|
||||
{
|
||||
telegram = with cfg.alertChannels.telegram; if enable then {
|
||||
creds_secret_path = credsSecretPath;
|
||||
room_id = roomId;
|
||||
} else null;
|
||||
|
|
@ -81,6 +80,8 @@ package:
|
|||
ups_to_check = upsToCheck;
|
||||
upsmon_group = upsmonGroup;
|
||||
};
|
||||
|
||||
lvmraid.lv_paths = cfg.checks.lvmraid.lvPaths;
|
||||
};
|
||||
};
|
||||
in lib.mkIf cfg.enable {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue