- The Vagrant-Puppet-Prometheus module provides the installation procedure for Prometheus,alertmanager,node_exporter with Puppet at CentOS7_vagrantbox
To get started, perform a git clone on. Make sure you have Vagrant installed, and also VirtualBox.
git clone https://github.com/kalinux/vagrant-puppet-prometheus.git
cd vagrant-puppet-prometheus/
git submodule update --init
In case if you want to test latest puppet-prometheus!
cd puppet/modules/prometheus
git pull
vagrant up --provider virtualbox
Once vagrant is done provisioning the VMs run vagrant status
to confirm all instances are running:
You can run rich Proetheus web interface by http://192.168.10.60:9090
if web is not reachable
vagrant ssh Prometheus
sudo su -
firewall-cmd --reload
When you're done, you can shut down the cluster using
vagrant destroy -f
vagrant provision