Using Ansible install Prometheus and Grafana. Just for fun and learn.
- Vagrant [ Version: 1.8.1 ]
- VirtualBox [ Version: 5.0.22 ]
NOITE Work in progress :)
-
Launch a Vagrant Box and setup Grafana and Prometheus
./test_playbook.sh monitor
-
Once Ansible playbook completes, Head over http://192.168.90.90:3000. Default credentials are admin / admin
-
Click on the top right, in the Grafana Menu and go to Datasources. There Click on Add data source
- Fill Data Source information as described in the following image
-
Download the following pre build dashboards
-
Import it in Dashboard Section. Don't forget to select prometheus ad the data source. Repeat this steop for every dashboard you want to import
Enjoy playing around :)