add ups periodic checks

This commit is contained in:
Alex Tau 2025-09-13 14:40:02 +03:00
parent 09eabcc6b2
commit da480a7c4e
13 changed files with 533 additions and 403 deletions

View file

@ -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 {