Every server has to have the following exposed group of metrics:
Yoy have to define (or update) the server_monitor in monitor-provisioning project.
Server monitor is an yaml array or servers with the following fields:
Example (server with many endpoints and without backup):
server_monitor:
- name: BI_coopdevs
url: bi-coopdevs.coopdevs.org
blackbox:
- https://bi-coopdevs.coopdevs.org/login
- https://bi.timeoverflow.org/login
- https://bi-tmf.coopdevs.org/login
- https://bi-sostrecivic.coopdevs.org/login
- https://bi-ambtu.coopdevs.org/login
backup: False
After the variable definition you have to run the provision:
ansible-playbook playbooks/provision.yml -i inventory/hosts --limit=production --tag=alertmanager,prometheus