add docs for ups

This commit is contained in:
Alex Tau 2026-01-18 15:33:56 +03:00
parent 6c8ae03b6a
commit 5cd3f47d65
4 changed files with 134 additions and 1 deletions

View file

@ -36,12 +36,13 @@ List of enabled check sets\. Each check set is a module which checks something a
- ram alerts when RAM usage is above threshold
- temp alerts when temperature readings are above thresholds
- net alerts when network usage is above threshold
- ups alerts on UPS events
- vulnix periodically scans system for known CVEs, alerts if any are found (NixOS only)
*Type:*
list of (one of “self”, “remind”, “cpu”, “ram”, “temp”, “net”, “vulnix”)
list of (one of “self”, “remind”, “cpu”, “ram”, “temp”, “net”, “ups”, “vulnix”)
@ -635,6 +636,48 @@ null or (positive integer or floating point number, meaning >0)
## services\.lego-monitoring\.checks\.ups\.upsToCheck
List of UPSs to monitor, in ` upsc `-compatible format\. If null, all UPSs connected to localhost are checked\.
*Type:*
null or (list of string)
*Default:*
` null `
*Declared by:*
- [modules/options\.nix](../modules/options.nix)
## services\.lego-monitoring\.checks\.ups\.upsmonGroup
Group to allow to send UPS status updates\. This should usually include the user upsmon runs as\.
*Type:*
string
*Default:*
` config.power.ups.upsmon.user `
*Declared by:*
- [modules/options\.nix](../modules/options.nix)
## services\.lego-monitoring\.checks\.vulnix\.whitelist