[Pacemaker] compatibility of net-snmp

Junko IKEDA ikedaj at intellilink.co.jp
Tue Jun 2 08:14:07 UTC 2009


Hi,

The latest crm_mon can send snmp trap,
but it uses "netsnmp_transport_open_client()".
This function is only included in net-snmp 5.4.
I have RHEL5.3, and net-snmp version is 5.3.
If I build pacemaker with --enable-snmp, 
snmp function would become invalid.

configure.in
   if test $SUPPORT_SNMP != no; then
      savedLibs=$LIBS
      LIBS="$LIBS $SNMPLIBS"
      AC_CHECK_FUNCS(netsnmp_transport_open_client)
      if test $ac_cv_func_netsnmp_transport_open_client != yes; then
      	 SUPPORT_SNMP=no
      fi
      LIBS=$savedLibs
   fi


SuSE 11 has net-snmp 5.4, so there is no problem.
How is debian or other OS?
Is it difficult to maintain net-snmp compatibility?

Best Regards,
Junko Ikeda

NTT DATA INTELLILINK CORPORATION






More information about the Pacemaker mailing list