add interface check with exclude

This commit is contained in:
Jan Wagner 2007-07-09 10:13:56 +00:00
parent 2049c540eb
commit 075f41fdf2

View file

@ -4,6 +4,11 @@ define command{
command_line /usr/lib/nagios/plugins/check_ifstatus -H $HOSTADDRESS$ -C $ARG1$ command_line /usr/lib/nagios/plugins/check_ifstatus -H $HOSTADDRESS$ -C $ARG1$
} }
# 'check_ifstatus_exclude' command definition
define command{
command_name check_ifstatus_exclude
command_line /usr/lib/nagios/plugins/check_ifstatus -H $HOSTADDRESS$ -C $ARG1$ -x $ARG2$
}
# 'check_ifoperstatus_ifindex' command definition # 'check_ifoperstatus_ifindex' command definition
define command{ define command{
@ -11,10 +16,8 @@ define command{
command_line /usr/lib/nagios/plugins/check_ifoperstatus -H $HOSTADDRESS$ -C $ARG1$ -k $ARG2$ command_line /usr/lib/nagios/plugins/check_ifoperstatus -H $HOSTADDRESS$ -C $ARG1$ -k $ARG2$
} }
# 'check_ifoperstatus_ifdescr' command definition # 'check_ifoperstatus_ifdescr' command definition
define command{ define command{
command_name check_ifoperstatus_ifdescr command_name check_ifoperstatus_ifdescr
command_line /usr/lib/nagios/plugins/check_ifoperstatus -H $HOSTADDRESS$ -C $ARG1$ -d $ARG2$ command_line /usr/lib/nagios/plugins/check_ifoperstatus -H $HOSTADDRESS$ -C $ARG1$ -d $ARG2$
} }