Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
configuration
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
configuration
Commits
1b23f9d9
Commit
1b23f9d9
authored
9 years ago
by
Edward Zarecor
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2400 from edx/e0d/mms-agent-fixes
update config, ensure all are started.
parents
bbc8c904
21fee9f4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
3 deletions
+8
-3
playbooks/roles/mongo_mms/defaults/main.yml
+2
-0
playbooks/roles/mongo_mms/tasks/main.yml
+6
-3
No files found.
playbooks/roles/mongo_mms/defaults/main.yml
View file @
1b23f9d9
...
@@ -6,5 +6,7 @@ pkg_format: "deb"
...
@@ -6,5 +6,7 @@ pkg_format: "deb"
agents
:
agents
:
-
agent
:
mongodb-mms-monitoring-agent
-
agent
:
mongodb-mms-monitoring-agent
version
:
"
3.9.1.238-1"
version
:
"
3.9.1.238-1"
config
:
"
/etc/mongodb-mms/monitoring-agent.config"
-
agent
:
mongodb-mms-backup-agent
-
agent
:
mongodb-mms-backup-agent
version
:
"
3.8.1.320-1"
version
:
"
3.8.1.320-1"
config
:
"
/etc/mongodb-mms/backup-agent.config"
This diff is collapsed.
Click to expand it.
playbooks/roles/mongo_mms/tasks/main.yml
View file @
1b23f9d9
...
@@ -27,11 +27,14 @@
...
@@ -27,11 +27,14 @@
-
name
:
add key to monitoring-agent.config
-
name
:
add key to monitoring-agent.config
lineinfile
:
>
lineinfile
:
>
dest=
/etc/mongodb-mms/monitoring-agent.config
dest=
"{{ item.config }}"
regexp="^mmsApiKey="
regexp="^mmsApiKey="
line="mmsApiKey={{ MMSAPIKEY }}"
line="mmsApiKey={{ MMSAPIKEY }}"
notify
:
restart mms
notify
:
restart mms
with_items
:
agents
-
name
:
start mms service
-
name
:
start mms service
service
:
name=mongodb-mms-monitoring-agent state=started
service
:
name="{{ item.agent }}" state=started
with_items
:
agents
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment