nagios nrpe: add additional network interface names that must be checked.

This commit is contained in:
Andrea Dell'Amico 2019-08-10 17:34:10 +02:00
parent 52211d86ce
commit a9f4b58f35
1 changed files with 1 additions and 2 deletions

View File

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