From 075f41fdf2f97a1093647260987fb53afcdaf68d Mon Sep 17 00:00:00 2001 From: Jan Wagner Date: Mon, 9 Jul 2007 10:13:56 +0000 Subject: [PATCH] add interface check with exclude --- debian/pluginconfig/ifstatus.cfg | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/debian/pluginconfig/ifstatus.cfg b/debian/pluginconfig/ifstatus.cfg index 210e53c..bc3201b 100644 --- a/debian/pluginconfig/ifstatus.cfg +++ b/debian/pluginconfig/ifstatus.cfg @@ -4,6 +4,11 @@ define command{ 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 define command{ @@ -11,10 +16,8 @@ define command{ command_line /usr/lib/nagios/plugins/check_ifoperstatus -H $HOSTADDRESS$ -C $ARG1$ -k $ARG2$ } - # 'check_ifoperstatus_ifdescr' command definition define command{ command_name check_ifoperstatus_ifdescr command_line /usr/lib/nagios/plugins/check_ifoperstatus -H $HOSTADDRESS$ -C $ARG1$ -d $ARG2$ } -