From 874be418a05afdcb58eacc5de94106e7bb2a0a00 Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Thu, 23 Nov 2017 16:54:10 +0100 Subject: [PATCH] Change the nagios network check so that it does not go critical if the docker interface is down. --- nagios/templates/common-nrpe.cfg.j2 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nagios/templates/common-nrpe.cfg.j2 b/nagios/templates/common-nrpe.cfg.j2 index 0965f01a..338da03e 100644 --- a/nagios/templates/common-nrpe.cfg.j2 +++ b/nagios/templates/common-nrpe.cfg.j2 @@ -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