Commit 0a0667a0 by nadeemshahzad

upgrade mongo agent

parent 597eb6dd
......@@ -5,10 +5,10 @@ pkg_format: "deb"
agents:
- agent: mongodb-mms-monitoring-agent
version: "5.7.0.368-1"
version: "6.0.0.381-1"
config: "/etc/mongodb-mms/monitoring-agent.config"
dir: "monitoring"
- agent: mongodb-mms-backup-agent
version: "5.4.0.493-1"
version: "5.8.0.655-1"
config: "/etc/mongodb-mms/backup-agent.config"
dir: "backup"
......@@ -24,6 +24,14 @@
notify: restart mms
with_items: "{{ agents }}"
- name: add group ID to monitoring-agent.config
lineinfile:
dest: "{{ item.config }}"
regexp: "^mmsGroupId="
line: "mmsGroupId={{ MMSGROUPID }}"
notify: restart mms
with_items: "{{ agents }}"
- name: add key to monitoring-agent.config
lineinfile:
dest: "{{ item.config }}"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment