d4science-ghn-cluster/group_vars/mongo_dev/ganglia.yml: ganglia monitoring for the mongodb dev cluster.

library/roles/mongodb-org-3/tasks/ganglia-plugin.yml: change the conditional from ganglia_plugin to ganglia_enabled.
library/roles/mongodb-org-3.2/tasks/ganglia-plugin.yml: change the conditional from ganglia_plugin to ganglia_enabled.
nemis-xen/roles/system/tasks/xentools.yml: New tag.
This commit is contained in:
Andrea Dell'Amico 2016-02-09 14:04:07 +01:00
parent 9d36440c95
commit d4767c4578
2 changed files with 4 additions and 4 deletions

View File

@ -4,13 +4,13 @@
# #
- name: Install the ganglia plugin for MongoDB - name: Install the ganglia plugin for MongoDB
copy: src=mongodb.py dest=/usr/lib/ganglia/python_modules/mongodb.py owner=root group=root mode=0444 copy: src=mongodb.py dest=/usr/lib/ganglia/python_modules/mongodb.py owner=root group=root mode=0444
when: ganglia_plugin when: ganglia_enabled
notify: Restart ganglia monitor notify: Restart ganglia monitor
tags: [ 'ganglia', 'mongodb' ] tags: [ 'ganglia', 'mongodb' ]
- name: Distribute the ganglia (gmond) configuration for the MongoDB plugin - name: Distribute the ganglia (gmond) configuration for the MongoDB plugin
template: src=mongodb.pyconf.j2 dest=/etc/ganglia/conf.d/mongodb.pyconf owner=root group=root mode=0444 template: src=mongodb.pyconf.j2 dest=/etc/ganglia/conf.d/mongodb.pyconf owner=root group=root mode=0444
when: ganglia_plugin when: ganglia_enabled
notify: Restart ganglia monitor notify: Restart ganglia monitor
tags: [ 'ganglia', 'mongodb' ] tags: [ 'ganglia', 'mongodb' ]

View File

@ -4,13 +4,13 @@
# #
- name: Install the ganglia plugin for MongoDB - name: Install the ganglia plugin for MongoDB
copy: src=mongodb.py dest=/usr/lib/ganglia/python_modules/mongodb.py owner=root group=root mode=0444 copy: src=mongodb.py dest=/usr/lib/ganglia/python_modules/mongodb.py owner=root group=root mode=0444
when: ganglia_plugin when: ganglia_enabled
notify: Restart ganglia monitor notify: Restart ganglia monitor
tags: [ 'ganglia', 'mongodb' ] tags: [ 'ganglia', 'mongodb' ]
- name: Distribute the ganglia (gmond) configuration for the MongoDB plugin - name: Distribute the ganglia (gmond) configuration for the MongoDB plugin
template: src=mongodb.pyconf.j2 dest=/etc/ganglia/conf.d/mongodb.pyconf owner=root group=root mode=0444 template: src=mongodb.pyconf.j2 dest=/etc/ganglia/conf.d/mongodb.pyconf owner=root group=root mode=0444
when: ganglia_plugin when: ganglia_enabled
notify: Restart ganglia monitor notify: Restart ganglia monitor
tags: [ 'ganglia', 'mongodb' ] tags: [ 'ganglia', 'mongodb' ]