From cba41b6f7c10d26c8e7a6d46914af6d2f4a53d2e Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Mon, 25 Jun 2018 13:31:09 -0500 Subject: [PATCH] msg/devicehealth: fix config options Signed-off-by: Sage Weil --- src/pybind/mgr/devicehealth/module.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pybind/mgr/devicehealth/module.py b/src/pybind/mgr/devicehealth/module.py index ab621e3183aa0..a5a5c30077322 100644 --- a/src/pybind/mgr/devicehealth/module.py +++ b/src/pybind/mgr/devicehealth/module.py @@ -14,13 +14,13 @@ from six import iteritems TIME_FORMAT = '%Y%m%d-%H%M%S' DEFAULTS = { - 'enable_monitoring': True, + 'enable_monitoring': str(True), 'scrape_frequency': str(86400), 'retention_period': str(86400*14), 'pool_name': 'device_health_metrics', 'mark_out_threshold': str(86400*14), 'warn_threshold': str(86400*14*2), - 'self_heal': True, + 'self_heal': str(True), } health_messages = { -- 2.39.5