This playbook let you easily setup Grafana, Graphite and StatsD. You can use it to provison a dedicated server or even a virtual machine using the VagrantFile and Virtualbox
It uses Ansible as a provisionner, make sure to install Ansible before (version >= 1.6).
What gets installed with this playbook:
- NginX webserver/reverse proxy
- Python, Pip & VirtualEnv
- NodeJS
- StatsD
- Grahite with its components:
- And finally Grafana
After that you will be able to access:
- StatsD: http://www.monitoring.dev:8125 (Using UDP)
- Graphite: http://www.monitoring.dev:81 or http://www.monitoring.dev/graphite
- Grafana: http://www.monitoring.dev
If you want to install Grafana/Graphite on a VM using Vagrant, you need to install Vagrant and VirtualBox first.
Change private_ip in Vagrantfile and vagrant_hosts files.
Then hit:
$ vagrant up
Before running Ansible you need to add the IP address of your target server into the ansible_hosts file.
$ vi ansible_hosts
You also need to change the remote_user variable in playbook.yml to the actual user you will use to login into your target server:
$ ansible-playbook -v -i ansible_hosts playbook.yml -e target=X.X.X.X
Tip: If you can't include ssh keys, you can force ansible to request the server password including the option "--ask-pass"
This ansible role is based on Guillaume Montard repository.