Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion roles/monitoring/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,10 @@ node_exporter_service_name: "node_exporter"

# nginx-prometheus-exporter (RU only — reads nginx stub_status, exports request
# count, accepts, connections by state; scraped by EU vmagent over WireGuard).
# Listen on per-host WG IP so multi-RU works. Falls back to global wg_ru_ip
# (10.10.0.2) for hosts without an explicit wg_ip — matches scrape.yml.j2 logic.
nginx_exporter_version: "latest"
nginx_exporter_listen: "10.10.0.2:9113" # RU WG interface
nginx_exporter_listen: "{{ hostvars[inventory_hostname].wg_ip | default(wg_ru_ip) }}:9113"
nginx_exporter_bin_dir: "/usr/local/bin"
nginx_stub_status_port: 8081 # localhost-only nginx server block

Expand Down
Loading