From f4e204b19944383ce2de882e90b8ba958eeda05c Mon Sep 17 00:00:00 2001 From: Ludovic Cartier Date: Fri, 14 Nov 2025 12:01:17 +0100 Subject: [PATCH] check_eth - move to var --- templates/nrpe.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/nrpe.j2 b/templates/nrpe.j2 index bdc8673..4cb6386 100644 --- a/templates/nrpe.j2 +++ b/templates/nrpe.j2 @@ -12,7 +12,7 @@ command[check_dns]=/usr/lib/nagios/plugins/check_dns -H google.com {% if nrpe_ssl_host is defined %} command[check_ssl]=/usr/lib/nagios/plugins/check_http --sni '{{ nrpe_ssl_host }}' -C 14,3 {% endif %} -command[check_eth]=/usr/lib/nagios/plugins/check_eth -i {{ ansible_default_ipv4.interface }} -w 12M -c 15M +command[check_eth]=/usr/lib/nagios/plugins/check_eth -i {{ ansible_default_ipv4.interface }} -w {{ nrpe_eth_warning }} -c {{ nrpe_eth_critical }} command[check_proc_fail2ban]=/usr/lib/nagios/plugins/check_procs -a fail2ban -w 1: -c 1: command[check_proc_age]=/usr/lib/nagios/plugins/check_proc_age -p -w 400 -c 600 command[check_systemd_failed]=/usr/lib/nagios/plugins/check_systemd_failed