mirror of
https://forgejo.altau.su/lego/lego-monitoring.git
synced 2026-03-10 12:45:19 +00:00
add ups periodic checks
This commit is contained in:
parent
09eabcc6b2
commit
da480a7c4e
13 changed files with 533 additions and 403 deletions
|
|
@ -76,6 +76,10 @@ package:
|
|||
warning_threshold_comb_bytes = interfaceCfg.warningThresholdCombBytes;
|
||||
critical_threshold_comb_bytes = interfaceCfg.criticalThresholdCombBytes;
|
||||
}) cfg.checks.net.interfaces;
|
||||
|
||||
ups = with cfg.checks.ups; {
|
||||
ups_to_check = upsToCheck;
|
||||
};
|
||||
};
|
||||
};
|
||||
in lib.mkIf cfg.enable {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue