check-health: support hard lower limit for voltage

... to detect slow decrease of voltage, for example with UPS.
This commit is contained in:
Christian Hesse 2021-11-13 21:29:33 +01:00
parent d87c50cf68
commit 2625cc09a5
6 changed files with 19 additions and 4 deletions

View file

@ -12,7 +12,7 @@ Description
This script is run from scheduler periodically, sending notification on
health related events:
* voltage jumps up or down more than configured threshold
* voltage jumps up or down more than configured threshold or drops below limit
* power supply failed or recovered
* temperature is above or below threshold
@ -53,6 +53,7 @@ Configuration
The configuration goes to `global-config-overlay`, these are the parameters:
* `CheckHealthTemperature`: an array specifying temperature thresholds for sensors
* `CheckHealthVoltageLow`: value (in volt*10) giving a hard lower limit
* `CheckHealthVoltagePercent`: percentage value to trigger voltage jumps
Also notification settings are required for e-mail, matrix and/or telegram.