ansible/monitoring.yml

28 lines
666 B
YAML
Raw Normal View History

2019-05-05 14:07:04 +02:00
---
# Deploy Prometheus
- hosts: prometheus-pacaterie.adm.auro.re
vars:
# Prometheus targets.json
prometheus_targets:
- labels:
job: node
2019-05-05 14:26:38 +02:00
targets:
- mordred.adm.auro.re:9100
- ldap-replica-pacaterie.adm.auro.re:9100
- dhcp-pacaterie.adm.auro.re:9100
- dns-pacaterie.adm.auro.re:9100
2019-05-05 14:07:04 +02:00
- prometheus-pacaterie.adm.auro.re:9100
2019-05-05 14:26:38 +02:00
- radius-pacaterie.adm.auro.re:9100
2019-05-05 14:07:04 +02:00
- labels:
job: prometheus
targets:
- localhost:9090
roles:
- prometheus
- prometheus-alertmanager
# Monitor all hosts
2019-05-05 14:26:38 +02:00
- hosts: pacaterie
2019-05-05 14:07:04 +02:00
roles:
- prometheus-node