Просмотр исходного кода

Made the two check_ifoperstatus commands unique to remove conflicts

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@547 f882894a-f735-0410-b71e-b25c423dba1c
Jeremy T. Bouse 23 лет назад
Родитель
Сommit
65a2b160be
2 измененных файлов с 3 добавлено и 2 удалено
  1. 2 2
      command.cfg.in
  2. 1 0
      configure.in

+ 2 - 2
command.cfg.in

@@ -140,10 +140,10 @@ command[snmp_tcpstats]=@libexecdir@/check_snmp -H $HOSTADDRESS$ -C $ARG1$ -o tcp
 command[check_ifstatus]=@libexecdir@/check_ifstatus -H $HOSTADDRESS$ -C public 
 
 # check particular interface by snmp ifIndex key
-command[check_ifoperstatus]=@libexecdir@/check_ifoperstatus -H $HOSTADDRESS$ -C public -k $ARG1$
+command[check_ifoperstatus_ifindex]=@libexecdir@/check_ifoperstatus -H $HOSTADDRESS$ -C public -k $ARG1$
 
 # check particular interface by snmp ifDescr value (verify uniqueness before using)
-command[check_ifoperstatus]=@libexecdir@/check_ifoperstatus -H $HOSTADDRESS$ -C public -d $ARG1$
+command[check_ifoperstatus_ifdescr]=@libexecdir@/check_ifoperstatus -H $HOSTADDRESS$ -C public -d $ARG1$
 
 # verify all you BGP session on a device are running (only returns warning due to some hardcoded option - to be fixed soon)
 command[check_snmp_bgpstate]=@libexecdir@/check_bgpstate -H $HOSTADDRESS$ -C public

+ 1 - 0
configure.in

@@ -1,5 +1,6 @@
 dnl Process this file with autoconf to produce a configure script.
 AC_REVISION ($Revision$)
+AC_PREREQ(2.50)
 AC_INIT(Helper.pm)
 VER=1.3.99
 REL=1