browbeat/ansible/README.collectd-generic.rst
Will Foster 935d37ce04 Migrate Rest of Markdown to reStructuredText (rst)
This migrates the rest of the markdown files to rst.
Below, you can see what these will render like:

Patchset #2: fixing atrocious whitespace

cfme-allinone.rst
http://rst.ninjs.org/?n=706a1b93e3b2dc3c53172dfb542b5ef2&theme=basic

README.rst
http://rst.ninjs.org/?n=820cd51834cc7e21f50d04bb49bb61d6&theme=basic

README.collectd-generic.rst
http://rst.ninjs.org/?n=368648871a4eef2cade51d2b3f3b29d2&theme=basic

Change-Id: I4a422b7939075a35f04c50e19d7e92d3e9faa00e
2016-06-15 18:47:15 +01:00

1.8 KiB

Installing and configuring collectd agent on other machines

Collectd configurations are built for these types of machines:
  • baremetal
  • guest
  • cfme
  • cfme-vmdb
  • cfme-all-in-one
  • graphite/grafana
  • ose
  • satellite6

To install collectd agent and configure collectd to send metrics to your Graphite server, simply add the host to your ansible inventory file under the correct group.

Complete Example Inventory file:

[undercloud]
undercloud

[controller]
overcloud-controller-0
overcloud-controller-1
overcloud-controller-2

[compute]
overcloud-compute-0
overcloud-compute-1

[ceph]
overcloud-cephstorage-0

[baremetal]
x.x.x.x # An ip adddress or fqdn or specificed host in ~/.ssh/config

[guest]
x.x.x.x # An ip adddress or fqdn or specificed vm in ~/.ssh/config

[cfme]
x.x.x.x # An ip address of a Red Hat Cloud Forms appliance or ManageIQ appliance

[cfme-vmdb]
x.x.x.x # An ip address of a Red Hat Cloud Forms appliance with vmdb

[cfme-all-in-one]
x.x.x.x # An ip address of a Red Hat Cloud Forms appliance or ManageIQ appliance with Graphite and Grafana

[graphite]
x.x.x.x # An ip address of a Graphite/Grafana Server

[ose]
x.x.x.x # An ip address of a Red Hat Openshift Enterprise Node

[satellite6]
x.x.x.x # An ip address of a Red Hat Satellite 6 Server

Example running the collectd-generic playbook on the above specified cfme machine:

# ansible-playbook -i hosts install/collectd-generic.yml --tags "cfme"

Replace "cfme" with whatever machines you intend to install collectd on.

Note: Openstack host groups (undercloud, controller, compute, ceph) are ignored with the collectd-generic.yml playbook.