Files
homelab-infra/ansible/inventories/prod/hosts.yml
T
karpenokandCursor 57aa12b9c5
ansible-core-mon / deploy (push) Successful in 37s
ansible-core-net / deploy (push) Successful in 56s
ansible-core-secrets / deploy (push) Successful in 16s
ansible-ger-nod-02 / deploy (push) Successful in 1m22s
ansible-opnsense / deploy (push) Successful in 6s
ansible-rus-central / deploy (push) Successful in 39s
feat(monitoring): заменить Prometheus на vmalert
Алерты считаются по VictoriaMetrics и уходят в тот же Alertmanager, второй сбор метрик больше не нужен.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-12 17:54:25 +07:00

26 lines
886 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Машины. Состав каждой машины — в playbooks/<хост>.yml.
# Scrape node-exporter (:9100) центральным vmagent: все записи ниже,
# кроме monitoring_scrape_exclude_hosts, хостов с monitoring_scrape_enabled: false
# и хостов из vmagent_central_scrape_skip (у них свой vmagent).
# ger-nod-02 отдаёт метрики своим vmagent.
all:
hosts:
core-net:
ansible_host: 192.168.1.104
ansible_user: root
core-secrets:
ansible_host: 192.168.1.102
ansible_user: root
core-mon:
ansible_host: 192.168.1.108
ansible_user: root
rus-central:
ansible_host: 45.154.185.208
ansible_user: root
ger-nod-02:
ansible_host: 150.241.64.209
ansible_user: root
opnsense:
ansible_host: 192.168.1.1
ansible_connection: local