--- # 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