Skip to content

Commit b10b5ca

Browse files
authored
Removed free monitoring for mongo (#3942)
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/
1 parent 9669630 commit b10b5ca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ansible/roles/mongodb-cluster/templates/mongod.conf.j2

+2-2
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ operationProfiling:
106106
{% endfor %}
107107
{% endif %}
108108

109-
{% if mongodb_major_version is version("4.0", ">=") -%}
109+
{# {% if mongodb_major_version is version("4.0", ">=") -%}
110110
cloud:
111111
monitoring:
112112
free:
@@ -116,7 +116,7 @@ cloud:
116116
{{ item }}
117117
{% endfor %}
118118
{% endif %}
119-
{% endif %}
119+
{% endif %} #}
120120

121121
{% if mongodb_set_parameters -%}
122122
setParameter:

0 commit comments

Comments
 (0)