Configured Prometheus on a linux server. Prometheus is a systems and service monitoring system. It collects metrics from configured targets at given intervals, evaluates rule expressions, displays the results, and can trigger alerts if some condition is observed to be true.
- none
ansible-galaxy install git+https://github.com/joshuacherry/ansible-role-prometheus.git
OS | Prometheus Server |
---|---|
Debian 8 | ✓ |
Ubuntu 16.04 | ✓ |
Centos 7 | ✓ |
For the versions available, see the tags on this repository.
Additionaly you can see what change in each version in the CHANGELOG.md file.
Look to the defaults properties file to see the possible configuration properties.
This role includes a Vagrantfile used with a Docker-based test harness that approximates the Travis CI setup for integration testing. Using Vagrant allows all contributors to test on the same platform and avoid false test failures due to untested or incompatible docker versions.
- Install Vagrant and VirtualBox.
- Run
vagrant up
from the same directory as the Vagrantfile in this repository. - SSH into the VM with:
vagrant ssh
- Run tests with
make
.
make -C /vagrant xenial64 test
See make help
for more information including a full list of available targets.
---
- name: Playbook for Prometheus
hosts: all
tasks:
- include_role:
name: prometheus