From a9f4b58f359e73c79a10e31ab67259a314b6564c Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Sat, 10 Aug 2019 17:34:10 +0200 Subject: [PATCH] nagios nrpe: add additional network interface names that must be checked. --- library/roles/nagios/templates/common-nrpe.cfg.j2 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/library/roles/nagios/templates/common-nrpe.cfg.j2 b/library/roles/nagios/templates/common-nrpe.cfg.j2 index 5ff96c61..cbce9459 100644 --- a/library/roles/nagios/templates/common-nrpe.cfg.j2 +++ b/library/roles/nagios/templates/common-nrpe.cfg.j2 @@ -41,8 +41,7 @@ command[global_check_linux_raid]={{ nagios_plugins_dir }}/check_raid command[global_check_smart]={{ nagios_local_plugdir }}/check_smart -d $ARG1$ -i $ARG2$ # Network interfaces -#command[global_net_interfaces]={{ nagios_local_plugdir }}/check_netint.pl -K -f -e -command[global_net_interfaces]={{ nagios_local_plugdir }}/check_netint.pl -K -f -e -D -S -n \(l\|eth\|p\|bond\) +command[global_net_interfaces]={{ nagios_local_plugdir }}/check_netint.pl -K -f -e -D -S -n \(l\|eth\|p\|bond\|\xen\|en\|es\) # Restart ntp (via handler) command[global_restart_ntp]=/usr/bin/sudo /etc/init.d/ntp start