summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy T. Bouse <undrgrid@users.sourceforge.net>2003-06-12 04:16:34 (GMT)
committerJeremy T. Bouse <undrgrid@users.sourceforge.net>2003-06-12 04:16:34 (GMT)
commit9b9fec32f344a3c48d3da45c31ca98132af95b79 (patch)
tree774dc8a3345f31bce07ce7d6e80d686455957341
parent3f72682fd748f921503f0bf40e7f55506a39a400 (diff)
downloadmonitoring-plugins-9b9fec32f344a3c48d3da45c31ca98132af95b79.tar.gz
Made the two check_ifoperstatus commands unique to remove conflicts
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/branches/release-1.3.0@547 f882894a-f735-0410-b71e-b25c423dba1c
-rw-r--r--command.cfg.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/command.cfg.in b/command.cfg.in
index 52cbafa..f72f2b9 100644
--- a/command.cfg.in
+++ b/command.cfg.in
@@ -140,10 +140,10 @@ command[snmp_tcpstats]=@libexecdir@/check_snmp -H $HOSTADDRESS$ -C $ARG1$ -o tcp
140command[check_ifstatus]=@libexecdir@/check_ifstatus -H $HOSTADDRESS$ -C public 140command[check_ifstatus]=@libexecdir@/check_ifstatus -H $HOSTADDRESS$ -C public
141 141
142# check particular interface by snmp ifIndex key 142# check particular interface by snmp ifIndex key
143command[check_ifoperstatus]=@libexecdir@/check_ifoperstatus -H $HOSTADDRESS$ -C public -k $ARG1$ 143command[check_ifoperstatus_ifindex]=@libexecdir@/check_ifoperstatus -H $HOSTADDRESS$ -C public -k $ARG1$
144 144
145# check particular interface by snmp ifDescr value (verify uniqueness before using) 145# check particular interface by snmp ifDescr value (verify uniqueness before using)
146command[check_ifoperstatus]=@libexecdir@/check_ifoperstatus -H $HOSTADDRESS$ -C public -d $ARG1$ 146command[check_ifoperstatus_ifdescr]=@libexecdir@/check_ifoperstatus -H $HOSTADDRESS$ -C public -d $ARG1$
147 147
148# verify all you BGP session on a device are running (only returns warning due to some hardcoded option - to be fixed soon) 148# verify all you BGP session on a device are running (only returns warning due to some hardcoded option - to be fixed soon)
149command[check_snmp_bgpstate]=@libexecdir@/check_bgpstate -H $HOSTADDRESS$ -C public 149command[check_snmp_bgpstate]=@libexecdir@/check_bgpstate -H $HOSTADDRESS$ -C public