Files
browbeat/ansible/README.cfme-allinone.md
Alex Krzos 59bf86c75c Adding CFME All-In-One Install and support.
+ Disable epel after graphite install and after grafana install
+ Add readme for cfme-all-in-one
+ Allow port to be changed for graphite/grafana
+ Automated adding graphite as data source
+ Removed grafana api key usage from dashboards-generic, dashboards-openstack
+ wait for grafana to be ready for new data source

Change-Id: I97235d60032d60061790f99d6d811ecc9d6f4c36
2016-03-18 12:39:28 -04:00

1.4 KiB

Setting up a CFME or ManageIQ VM for All-In-One Performance Monitoring

  1. Deploy ManageIQ/CFME appliance
  2. Add additional disk to host Graphite's whisper database, mount disk at /var/lib/carbon
  3. Clone browbeat
[root@manageiq ~]# git clone https://github.com/jtaleric/browbeat.git
[root@manageiq ~]# cd browbeat/ansible
  1. Create ansible inventory file
[graphite]
localhost ansible_connection=local

[grafana]
localhost ansible_connection=local

[cfme-all-in-one]
localhost ansible_connection=local
  1. Install ansible
[root@manageiq ansible]# easy_install pip
[root@manageiq ansible]# yum install -y python-devel gcc-c++
[root@manageiq ansible]# pip install ansible
  1. Setup installation variables at install/group_vars/all by modifying following variables
graphite_host: localhost
graphite_port: 9000
graphite_prefix: manageiq
grafana_host: localhost
grafana_port: 9001
  1. Run playbooks for collectd/graphite/grafana install
[root@manageiq ansible]# ansible-playbook -i hosts install/graphite.yml
[root@manageiq ansible]# ansible-playbook -i hosts install/grafana.yml
[root@manageiq ansible]# ansible-playbook -i hosts install/collectd-generic.yml --tags="cfme-all-in-one"
  1. Upload dashboards via ansible
[root@manageiq ansible]# ansible-playbook -i hosts install/dashboards-generic.yml
  1. Enjoy your now performance monitored CFME/ManageIQ appliance, view grafana dashboards at http://:9001/