feat: add node_exporter role and integrate into site playbook
OpenVPN Ansible / Ansible Lint (push) Failing after 14s
OpenVPN Ansible / Ansible Syntax Check (push) Failing after 14s
OpenVPN Ansible / Deploy VPN Networking and OpenVPN (push) Skipped
OpenVPN Ansible / Generate SBOM (push) Skipped
OpenVPN Ansible / Scan SBOM with Trivy (push) Skipped
OpenVPN Ansible / Ansible Lint (push) Failing after 14s
OpenVPN Ansible / Ansible Syntax Check (push) Failing after 14s
OpenVPN Ansible / Deploy VPN Networking and OpenVPN (push) Skipped
OpenVPN Ansible / Generate SBOM (push) Skipped
OpenVPN Ansible / Scan SBOM with Trivy (push) Skipped
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
---
|
||||
# Bind to private_ip, then the LB keepalived source IP, and use public ansible_host
|
||||
# only if neither private address is configured.
|
||||
node_exporter_listen_address: "{{ private_ip | default(keepalived_src_ip | default(ansible_host)) }}"
|
||||
# TCP listener port for node_exporter.
|
||||
node_exporter_port: 9100
|
||||
# Required: set to monitoring_vm_ip in inventory/group_vars.
|
||||
node_exporter_allowed_source: "{{ monitoring_vm_ip }}"
|
||||
# Root-owned, world-readable textfile collector directory.
|
||||
node_exporter_textfile_dir: /var/lib/node_exporter/textfile
|
||||
# Restrict systemd collector output to relevant service units.
|
||||
node_exporter_systemd_unit_filter: "^(openvpn.*|squid@.*|keepalived.service|nat-gateway-firewall.service)$"
|
||||
# Collect systemd, connection tracking, filesystem, network, textfile, time, and timex metrics.
|
||||
node_exporter_collectors:
|
||||
- systemd
|
||||
- conntrack
|
||||
- filesystem
|
||||
- netdev
|
||||
- textfile
|
||||
- time
|
||||
- timex
|
||||
# Use iptables allow/drop rules locally; NAT gateway disables this because its
|
||||
# firewall script owns those rules.
|
||||
node_exporter_manage_firewall: true
|
||||
Reference in New Issue
Block a user