Skip to content

abednarik/ansible-prometheus-playground

Repository files navigation

Ansible and Prometheus Playground

Using Ansible install Prometheus and Grafana. Just for fun and learn.

Prerequisites

  • Vagrant [ Version: 1.8.1 ]
  • VirtualBox [ Version: 5.0.22 ]

NOITE Work in progress :)

Getting Started

  • 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

Grafana Menu Grafana DataSources

  • Fill Data Source information as described in the following image

DataSource Config

Import Dashboard Save Dashboard

Enjoy playing around :)

Dashboard