]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
mgr/devicehealth: set default monitoring to 'on'
authorYaarit Hatuka <yaarit@redhat.com>
Wed, 5 Feb 2020 18:56:13 +0000 (13:56 -0500)
committerSage Weil <sage@redhat.com>
Wed, 19 Feb 2020 21:31:26 +0000 (15:31 -0600)
When devicehealth monitoring is 'off' telemetry module cannot generate
device reports, once a user opts-in.

Fixes: https://tracker.ceph.com/issues/44002
Signed-off-by: Yaarit Hatuka <yaarit@redhat.com>
src/pybind/mgr/devicehealth/module.py

index e28ebf84018bee2f60c233d3c6f2a8b51c839653..28241b1561fe03b974b5ff23a9b2ae22c93e1f4d 100644 (file)
@@ -29,7 +29,7 @@ class Module(MgrModule):
     MODULE_OPTIONS = [
         {
             'name': 'enable_monitoring',
-            'default': False,
+            'default': True,
             'type': 'bool',
             'desc': 'monitor device health metrics',
             'runtime': True,