[Pacemaker] compatibility of net-snmp
Andrew Beekhof
andrew at beekhof.net
Tue Jun 2 09:17:20 UTC 2009
On Tue, Jun 2, 2009 at 10:14 AM, Junko IKEDA <ikedaj at intellilink.co.jp> wrote:
> 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?
I've no idea. I just developed for the current version I had available.
If you have a clean patch that enables support for the older libraries
I'd be happy to apply it.
More information about the Pacemaker
mailing list