nagios nrpe: add additional network interface names that must be checked.
This commit is contained in:
parent
52211d86ce
commit
a9f4b58f35
|
@ -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$
|
command[global_check_smart]={{ nagios_local_plugdir }}/check_smart -d $ARG1$ -i $ARG2$
|
||||||
|
|
||||||
# Network interfaces
|
# 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\|\xen\|en\|es\)
|
||||||
command[global_net_interfaces]={{ nagios_local_plugdir }}/check_netint.pl -K -f -e -D -S -n \(l\|eth\|p\|bond\)
|
|
||||||
|
|
||||||
# Restart ntp (via handler)
|
# Restart ntp (via handler)
|
||||||
command[global_restart_ntp]=/usr/bin/sudo /etc/init.d/ntp start
|
command[global_restart_ntp]=/usr/bin/sudo /etc/init.d/ntp start
|
||||||
|
|
Loading…
Reference in New Issue