Skip to content

Commit b2010b2

Browse files
committed
Fixed mms agent configuration
1 parent 387e7f7 commit b2010b2

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ mongodb_replication_oplogsize: 1024 # specifies a maximum size in
101101
mongodb_set_parameters: { "enableLocalhostAuthBypass": "true", "authenticationMechanisms": "SCRAM-SHA-1,MONGODB-CR" }
102102

103103
# MMS Agent
104-
mongodb_mms_agent_pkg: https://mms.mongodb.com/download/agent/automation/mongodb-mms-automation-agent-manager_1.4.2.783-1_amd64.deb
104+
mongodb_mms_agent_pkg: https://cloud.mongodb.com/download/agent/monitoring/mongodb-mms-monitoring-agent_7.2.0.488-1_amd64.ubuntu1604.deb
105105
mongodb_mms_group_id: ""
106106
mongodb_mms_api_key: ""
107107
mongodb_mms_base_url: https://mms.mongodb.com

defaults/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ mongodb_replication_replindexprefetch: "all" # specify index prefetching be
7070
mongodb_replication_oplogsize: 1024 # specifies a maximum size in megabytes for the replication operation log
7171

7272
# MMS Agent
73-
mongodb_mms_agent_pkg: https://mms.mongodb.com/download/agent/automation/mongodb-mms-automation-agent-manager_1.4.2.783-1_amd64.deb
73+
mongodb_mms_agent_pkg: https://cloud.mongodb.com/download/agent/monitoring/mongodb-mms-monitoring-agent_7.2.0.488-1_amd64.ubuntu1604.deb
7474
mongodb_mms_group_id: ""
7575
mongodb_mms_api_key: ""
7676
mongodb_mms_base_url: https://mms.mongodb.com

handlers/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
service: name={{ mongodb_daemon_name }} state=restarted
99
when: mongodb_manage_service
1010

11-
- name: mongodb-mms-automation-agent restart
12-
service: name=mongodb-mms-automation-agent state=restarted
11+
- name: mongodb-mms-monitoring-agent restart
12+
service: name=mongodb-mms-monitoring-agent state=restarted
1313
when: mongodb_manage_service
1414

1515
- name: reload systemd

tasks/mms-agent.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@
2525
file: state=directory path=/etc/mongodb-mms owner={{mongodb_user}} group={{mongodb_user}} mode=0755
2626

2727
- name: Configure the MMS agent pt. 2
28-
template: src=automation-agent.config.j2 dest=/etc/mongodb-mms/automation-agent.config
29-
notify: mongodb-mms-automation-agent restart
28+
template: src=monitoring-agent.config.j2 dest=/etc/mongodb-mms/monitoring-agent.config
29+
notify: mongodb-mms-monitoring-agent restart
3030

3131
- name: Ensure that the MMS agent is started
32-
service: name=mongodb-mms-automation-agent state=started enabled=yes
32+
service: name=mongodb-mms-monitoring-agent state=started enabled=yes
3333
when: mongodb_manage_service
File renamed without changes.

0 commit comments

Comments
 (0)