From 9257e9d0c4cbeb30fb2b2b837f4e818456278b06 Mon Sep 17 00:00:00 2001 From: akulavasu <34706681+akulavasu@users.noreply.github.com> Date: Thu, 21 Dec 2023 10:59:04 +0530 Subject: [PATCH] Removed free monitoring for mongo Free monitoring was decommissioned and removed from configuration on April 2023 for MongoDB Community instances. Commenting out because mongo service does not start due to invalid configuration. Ref: https://www.mongodb.com/docs/manual/release-notes/4.0/ --- ansible/roles/mongodb-cluster/templates/mongod.conf.j2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ansible/roles/mongodb-cluster/templates/mongod.conf.j2 b/ansible/roles/mongodb-cluster/templates/mongod.conf.j2 index c896d7599a..fabdee7da7 100644 --- a/ansible/roles/mongodb-cluster/templates/mongod.conf.j2 +++ b/ansible/roles/mongodb-cluster/templates/mongod.conf.j2 @@ -106,7 +106,7 @@ operationProfiling: {% endfor %} {% endif %} -{% if mongodb_major_version is version("4.0", ">=") -%} +{# {% if mongodb_major_version is version("4.0", ">=") -%} cloud: monitoring: free: @@ -116,7 +116,7 @@ cloud: {{ item }} {% endfor %} {% endif %} -{% endif %} +{% endif %} #} {% if mongodb_set_parameters -%} setParameter: