Parcourir la source

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 il y a 23 ans
Parent
commit
65a2b160be
2 fichiers modifiés avec 3 ajouts et 2 suppressions
  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 
 command[check_ifstatus]=@libexecdir@/check_ifstatus -H $HOSTADDRESS$ -C public 
 
 
 # check particular interface by snmp ifIndex key
 # 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)
 # 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)
 # 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
 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.
 dnl Process this file with autoconf to produce a configure script.
 AC_REVISION ($Revision$)
 AC_REVISION ($Revision$)
+AC_PREREQ(2.50)
 AC_INIT(Helper.pm)
 AC_INIT(Helper.pm)
 VER=1.3.99
 VER=1.3.99
 REL=1
 REL=1