To get started, perform a git clone on this repository. Make sure you have Vagrant installed, VirtualBox or LibVirt.
The repository will install for you Jenkins 2.164.1, Prometheus v2.8.0 , Grafana 6.0.2 .
Start with Git Clone
git clone https://github.com/gangsta/jenkins-prometheus-grafana
cd jenkins-prometheus-grafana
vagrant up - provider virtualbox
or
vagrant up - provider libvirt
Once vagrant is done provisioning the VMs run vagrant status
to confirm all instances are running:
Jenkins http://192.168.33.10:8080/
Prometheus http://192.168.33.10:9090/
Grafana http://192.168.33.10:3000/
"For Login Use: admin:admin"
Login to Grafana, and add Dashboard with ID: 9964
vagrant ssh
vagrant destroy -f
Repo Is created by Karen Har-yan Read my Blog Post about this setup: https://medium.com/@haryan/grafana-cool-dashboard-for-monitoring-jenkins-with-prometheus-46c2c015b5a1