]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
msg/devicehealth: fix config options
authorSage Weil <sage@redhat.com>
Mon, 25 Jun 2018 18:31:09 +0000 (13:31 -0500)
committerSage Weil <sage@redhat.com>
Tue, 31 Jul 2018 19:08:53 +0000 (14:08 -0500)
Signed-off-by: Sage Weil <sage@redhat.com>
src/pybind/mgr/devicehealth/module.py

index ab621e3183aa075c16c7ae88db230174a8e2b15e..a5a5c300773222ad265a2552c2e77a85c604a0f2 100644 (file)
@@ -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 = {