From f40bb2c8c85adaa1ee84bb693b76a7a7e334f54a Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Mon, 14 Oct 2019 19:06:21 +0200 Subject: check-health: make threshold for voltage configurable --- global-config | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'global-config') diff --git a/global-config b/global-config index 7a2787a..8089f83 100644 --- a/global-config +++ b/global-config @@ -6,7 +6,7 @@ # Make sure all configuration properties are up to date and this # value is in sync with value in script 'global-functions'! -:global GlobalConfigVersion 9; +:global GlobalConfigVersion 10; # This is used for DNS and backup file. :global Domain "example.com"; @@ -44,13 +44,15 @@ :global SafeUpdateUrl ""; #:global SafeUpdateUrl "https://example.com/ros/safe-update/"; -# These thresholds control when to send notification on temperature. +# These thresholds control when to send health notification +# on temperature and voltage. :global CheckHealthTemperature { temperature=50; cpu-temperature=70; board-temperature1=50; board-temperature2=50; } +:global CheckHealthVoltagePercent 15; # This controls what configuration is activated by bridge-port-to-default. :global BridgePortTo "default"; -- cgit v1.2.3-54-g00ecf