Change the nagios network check so that it does not go critical if the docker interface is down.
This commit is contained in:
parent
4b798d98e1
commit
874be418a0
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue