+ 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
1.4 KiB
1.4 KiB
Setting up a CFME or ManageIQ VM for All-In-One Performance Monitoring
- Deploy ManageIQ/CFME appliance
- Add additional disk to host Graphite's whisper database, mount disk at /var/lib/carbon
- Clone browbeat
[root@manageiq ~]# git clone https://github.com/jtaleric/browbeat.git
[root@manageiq ~]# cd browbeat/ansible
- Create ansible inventory file
[graphite]
localhost ansible_connection=local
[grafana]
localhost ansible_connection=local
[cfme-all-in-one]
localhost ansible_connection=local
- Install ansible
[root@manageiq ansible]# easy_install pip
[root@manageiq ansible]# yum install -y python-devel gcc-c++
[root@manageiq ansible]# pip install ansible
- 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
- 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"
- Upload dashboards via ansible
[root@manageiq ansible]# ansible-playbook -i hosts install/dashboards-generic.yml
- Enjoy your now performance monitored CFME/ManageIQ appliance, view grafana dashboards at http://:9001/