def METHOD_NAME(self):
    """
    Test that monitoring.cluster_uuid setting may be set with monitoring.enabled explicitly set to false
    """
    test_cluster_uuid = self.random_string(10)
    self.render_config_template(
        "mockbeat",
        monitoring={
            "enabled": False,
            "cluster_uuid": test_cluster_uuid
        },
        http_enabled="true"
    )
    proc = self.start_beat(config="mockbeat.yml")
    self.wait_until(lambda: self.log_contains("mockbeat start running."))
    state = self.get_beat_state()
    proc.check_kill_and_wait()
    self.assertEqual(test_cluster_uuid, state["monitoring"]["cluster_uuid"])