Change the nagios network check so that it does not go critical if the docker interface is down.

This commit is contained in:
Andrea Dell'Amico 2017-11-23 16:54:10 +01:00
parent 4b798d98e1
commit 874be418a0
1 changed files with 2 additions and 1 deletions

View File

@ -35,7 +35,8 @@ command[global_check_linux_raid]={{ nagios_plugins_dir }}/check_raid
command[global_check_smart]={{ nagios_isti_plugdir }}/check_smart -d $ARG1$ -i $ARG2$
# Network interfaces
command[global_net_interfaces]={{ nagios_isti_plugdir }}/check_netint.pl -K -f -e
#command[global_net_interfaces]={{ nagios_isti_plugdir }}/check_netint.pl -K -f -e
command[global_net_interfaces]={{ nagios_isti_plugdir }}/check_netint.pl -K -f -e -D -S -n \(l\|eth\|p\|bond\)
# Restart ntp (via handler)
command[global_restart_ntp]=/usr/bin/sudo /etc/init.d/ntp start