Collectd computes
Disable collectd compute nodes from ansible Change-Id: I58068e9f7adcb3c8c156569ddf654ee3f8b9c5d7
This commit is contained in:
parent
1c32ab1a21
commit
e0a121b193
@ -8,15 +8,21 @@ dns_server: 8.8.8.8
|
||||
|
||||
# Collectd interval (seconds)
|
||||
collectd_interval: 10
|
||||
|
||||
# Run collectd on the compute nodes
|
||||
collectd_compute: false
|
||||
|
||||
# epel Repository for collectd packages
|
||||
epel_repo: https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
|
||||
|
||||
# Graphite Server ip address (Collectd -> Graphite server)
|
||||
graphite_host: 1.1.1.1
|
||||
# Graphite prefix / Cloud name used both with graphite and grafana dashboards
|
||||
|
||||
graphite_prefix: openstack
|
||||
|
||||
# Grafana API Key (Used to upload Grafana dashboards)
|
||||
grafana_api_key: (Your Grafana API Key)
|
||||
|
||||
# Grafana Server IP Address (Can be hosted on the Graphite server)
|
||||
grafana_host: 1.1.1.1
|
||||
|
@ -40,6 +40,15 @@
|
||||
|
||||
- name: Setup collectd service
|
||||
service: name=collectd state=restarted enabled=yes
|
||||
when: "'controller' in group_names"
|
||||
|
||||
- name: Setup collectd service
|
||||
service: name=collectd state=restarted enabled=yes
|
||||
when: "'compute in group_names' and collectd_compute"
|
||||
|
||||
- name: Stop collectd service
|
||||
service: name=collectd state=stopped
|
||||
when: "'compute in group_names' and not collectd_compute"
|
||||
|
||||
#
|
||||
# Configure selinux bits
|
||||
|
Loading…
x
Reference in New Issue
Block a user