Net-SNMP 5.4.2 released - SNMP

This is a discussion on Net-SNMP 5.4.2 released - SNMP ; I'm happy to announce the release of version 5.4.2 of Net-SNMP, which is the newest version in the development of the project and contains many bug fixes over the 5.4.1 release. The most significant changes are snmplib: - [PATCH 1921861]: ...

+ Reply to Thread
Results 1 to 5 of 5

Thread: Net-SNMP 5.4.2 released

  1. Net-SNMP 5.4.2 released

    I'm happy to announce the release of version 5.4.2 of Net-SNMP,
    which is the newest version in the development of the project
    and contains many bug fixes over the 5.4.1 release.
    The most significant changes are

    snmplib:
    - [PATCH 1921861]: Avoid endless loop after truncating 64bit int
    - Better handling of CONTAINER_INSERT failures with multiple indices

    snmpd:
    - [PATCH 2023633]: add SCTP-MIB implementation (Linux only)
    - suppress annoying "registration != duplicate" warning for root oids

    build:
    - [BUG 2023803]: Compilation problems on HP-UX 11.31
    - Update to libtool 1.5.26

    AIX:
    - Add support for AIX 6.x.

    A fuller list of bug fixes and applied patches can be found in the
    CHANGES file, and is also included as part of the SourceForge
    release notes on the download page for this version.

    Dave

    -------------------------------------------------------------------------
    This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
    Build the coolest Linux based applications with Moblin SDK & win great prizes
    Grand prize is a trip for two to an Open Source event anywhere in the world
    http://moblin-contest.org/redirect.p...r_id=100&url=/
    _______________________________________________
    Net-snmp-users mailing list
    Net-snmp-users@lists.sourceforge.net
    Please see the following page to unsubscribe or change other options:
    https://lists.sourceforge.net/lists/...net-snmp-users


  2. Re: Net-SNMP 5.4.2 released

    Dave,

    Most of the test cases FAIL for net-snmp 5.4.2.
    I compiled net-snmp 5.4.2 sources under HP-UX B.11.11 using the
    following configure options.

    configure --with-cc=cc --with-libs=-lnm CFLAGS="-g +DD64 +z" --without-
    openssl --disable-embedded-perl
    --disable-shared --without-perl-modules --prefix


    NOTE: is my personal directory structure.

    After running configure, I ran "make" and then "make test".
    Here is the output of "make test"

    1: testing SNMPv1 support... FAIL
    2: testing SNMPv2c get of system.sysUpTime.0... FAIL
    3: testing SNMPv2c getnext of system.sysUpTime... FAIL
    4: testing SNMPv2c bulkget of system components... FAIL
    5: testing for failure of SNMPv2c get with wrong community... ok
    6: testing for failure of SNMPv2c get against SNMPv1 agent... ok
    7: testing for failure of SNMPv1 get against SNMPv2c agent... ok
    8: testing SNMPv2c get of system.sysUpTime.1... FAIL
    9: testing SNMPv3 get using noAuthNoPriv of .1.3.6.1.2.1.1.3.0... FAIL
    10: testing SNMPv3 getnext using initial of .1.3.6.1.2.1.1.3.0... FAIL
    11: testing SNMPv3 bulkget of system... FAIL
    12: testing SNMPv3 get using MD5/noPriv of .1.3.6.1.2.1.1.3.0... FAIL
    13: testing SNMPv3 get using MD5/AES of .1.3.6.1.2.1.1.3.0... SKIPPED
    14: testing SNMPv3 get using MD5/DES of .1.3.6.1.2.1.1.3.0... SKIPPED
    15: testing SNMPv3 get using SHA/noPriv of .1.3.6.1.2.1.1.3.0...
    SKIPPED
    16: testing SNMPv3 get using SHA/DES of .1.3.6.1.2.1.1.3.0... SKIPPED
    17: testing SNMPv3 get using SHA/AES of .1.3.6.1.2.1.1.3.0... SKIPPED
    18: testing for failure of SNMPv3 get using unknown user.... FAIL
    19: testing SNMPv3 agent USM user management with snmpusm... SKIPPED
    20: testing SNMPv3 snmptrapd USM user management with snmpusm...
    SKIPPED
    21: testing SNMPv3 informs (noAuthNoPriv) received and sent by
    tools... FAIL
    22: testing SNMPv3 informs (authNoPriv) received and sent by tools...
    FAIL
    23: testing SNMPv3 informs (authPriv) received and sent by tools...
    SKIPPED
    24: testing SNMPv3 traps received and sent by tools... SKIPPED
    25: testing SNMPv2c traps received and sent by tools... FAIL
    26: testing SNMPv2c informs received and sent by tools... FAIL
    27: testing snmpv1 traps are sent by snmpd API... SKIPPED
    28: testing snmpv2c traps are sent by snmpd API... SKIPPED
    29: testing snmpv1 traps are sent by snmpd without notification mib
    support... SKIPPED
    30: testing snmpv2c traps are sent by snmpd without notification mib
    support... SKIPPED
    31: testing snmptrapd authorization failure of non authorized users...
    ok
    32: testing snmptrapd discards of unauthorized notification types...
    ok
    33: testing snmptrapd discards of incorrect view types... ok
    34: testing authentication failure traps are sent by snmpd... FAIL
    35: testing snmptrapd traphandle: launching external shell
    script... ..FAIL
    36: testing snmptrapd embedded perl support (NetSNMP::TrapReceiver)...
    SKIPPED
    37: testing snmpd embedded perl support (using NetSNMP::agent)...
    SKIPPED
    38: testing extending agent functionality with extend... FAIL
    39: testing that the agent responds properly to a kill -HUP... FAIL
    40: testing AgentX GET support... FAIL
    41: testing AgentX SET support... FAIL
    42: testing AgentX illegal SET handling support... FAIL
    43: testing AgentX trap sending support... SKIPPED
    44: testing AgentX subagent in Perl (using NetSNMP::agent)... SKIPPED
    45: testing Proxy GET support... FAIL
    46: testing Proxy SET support... FAIL
    47: testing Proxy illegal SET handling support... FAIL
    48: testing SNMPv1 vacm acceptance support... FAIL
    49: testing SNMPv2 vacm acceptance support... FAIL
    50: testing SNMPv3 vacm acceptance support... FAIL
    51: testing SNMPv1 vacm denial support... FAIL
    52: testing SNMPv2 vacm denial support... FAIL
    53: testing SNMPv3 vacm denial support... FAIL
    54: testing 1st CPU on Solaris using HOST-RESOURCES... SKIPPED
    55: testing initial load device on Solaris using HOST-RESOURCES...
    SKIPPED
    56: testing uptime using HOST-RESOURCES... FAIL
    57: testing swap on Solaris using HOST-RESOURCES... SKIPPED
    58: testing if snmpnetstat finds the running agent in udpTable...
    SKIPPED
    59: testing full snmpwalk (SNMPv2c) against agent (may take time)...
    SKIPPED
    Summary: 28 / 59 succeeded.


  3. Snmp statistics - snmp_get_statistic does not work


    I would like to know if there is a way to allow a sub agent to control
    the object snmpEnableAuthenTraps while allowing the master agent to
    respond to counters in the snmp_mib such as snmpInASNParseErrs.

    I want to control the setting of the snmpEnableAuthenTraps in the
    subagent but I need the other objects to be reported correctly by the
    master agent.

    If I take over the snmp_mib and use
    snmp_get_statistic(STAT_SNMPINASNPARSEERRS)I get invalid data from
    net-snmp. If I do not take over snmp_mib I can not register for
    snmpEnableAuthenTraps.

    Any ideas on getting this resolved would be appreciated.
    Thanks

    -------------------------------------------------------------------------
    This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
    Build the coolest Linux based applications with Moblin SDK & win great prizes
    Grand prize is a trip for two to an Open Source event anywhere in the world
    http://moblin-contest.org/redirect.p...r_id=100&url=/
    _______________________________________________
    Net-snmp-users mailing list
    Net-snmp-users@lists.sourceforge.net
    Please see the following page to unsubscribe or change other options:
    https://lists.sourceforge.net/lists/...net-snmp-users


  4. RE: Snmp statistics - snmp_get_statistic does not work

    > From: net-snmp-users-bounces@lists.sourceforge.net
    > [mailto:net-snmp-users-bounces@lists.sourceforge.net] On
    > Behalf Of Joan Landry
    > Sent: Tuesday, September 09, 2008 9:18 AM


    > I would like to know if there is a way to allow a sub agent to control
    > the object snmpEnableAuthenTraps while allowing the master agent to
    > respond to counters in the snmp_mib such as snmpInASNParseErrs.


    Even if there is a way, this is a really bad idea. I think you should re-examine what you are trying to do, and extract your control logic to an external application, for which the subagent can provide data. This is typical SNMP design, and there is good reason for it. Also be sure to document clearly any changes to the master agent configuration your application may make, as such changes have implications on all applications working with that master. Therefore, it is probably better to have your application configure its notification listener to process or ignore authentication traps, rather than turning them on or off on the master agent(s).

    > If I take over the snmp_mib and use
    > snmp_get_statistic(STAT_SNMPINASNPARSEERRS)I get invalid data from
    > net-snmp. If I do not take over snmp_mib I can not register for
    > snmpEnableAuthenTraps.


    Do Not Do This. Only bad things can happen...


    HTH,

    Mike

    -------------------------------------------------------------------------
    This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
    Build the coolest Linux based applications with Moblin SDK & win great prizes
    Grand prize is a trip for two to an Open Source event anywhere in the world
    http://moblin-contest.org/redirect.p...r_id=100&url=/
    _______________________________________________
    Net-snmp-users mailing list
    Net-snmp-users@lists.sourceforge.net
    Please see the following page to unsubscribe or change other options:
    https://lists.sourceforge.net/lists/...net-snmp-users


  5. RE: Snmp statistics - snmp_get_statistic does not work

    The environment I am running is one subabgent and one masteragent, where
    I want the subagent to control, store, and save in an sql database the
    snmpEnableAuthenTraps object value. Therefore I need to be able to
    control the get/set of this object in the subagent.

    I want to be able to allow/not allow the sening of authentication traps
    from my system - via the mib object snmpEnableAuthenTraps.

    Is it possible to do this - without the subagent taking over all of the
    other snmp_mib objects? If not does net-snmp have working api's to get
    the snmp counters?

    Thanks,



    -----Original Message-----
    From: Mike Ayers [mailto:mike_ayers@tvworks.com]
    Sent: Wednesday, September 10, 2008 2:31 PM
    To: Joan Landry; Net-snmp-users
    Subject: RE: Snmp statistics - snmp_get_statistic does not work

    > From: net-snmp-users-bounces@lists.sourceforge.net
    > [mailto:net-snmp-users-bounces@lists.sourceforge.net] On Behalf Of
    > Joan Landry
    > Sent: Tuesday, September 09, 2008 9:18 AM


    > I would like to know if there is a way to allow a sub agent to control


    > the object snmpEnableAuthenTraps while allowing the master agent to
    > respond to counters in the snmp_mib such as snmpInASNParseErrs.


    Even if there is a way, this is a really bad idea. I think you
    should re-examine what you are trying to do, and extract your control
    logic to an external application, for which the subagent can provide
    data. This is typical SNMP design, and there is good reason for it.
    Also be sure to document clearly any changes to the master agent
    configuration your application may make, as such changes have
    implications on all applications working with that master. Therefore,
    it is probably better to have your application configure its
    notification listener to process or ignore authentication traps, rather
    than turning them on or off on the master agent(s).

    > If I take over the snmp_mib and use
    > snmp_get_statistic(STAT_SNMPINASNPARSEERRS)I get invalid data from
    > net-snmp. If I do not take over snmp_mib I can not register for
    > snmpEnableAuthenTraps.


    Do Not Do This. Only bad things can happen...


    HTH,

    Mike

    -------------------------------------------------------------------------
    This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
    Build the coolest Linux based applications with Moblin SDK & win great prizes
    Grand prize is a trip for two to an Open Source event anywhere in the world
    http://moblin-contest.org/redirect.p...r_id=100&url=/
    _______________________________________________
    Net-snmp-users mailing list
    Net-snmp-users@lists.sourceforge.net
    Please see the following page to unsubscribe or change other options:
    https://lists.sourceforge.net/lists/...net-snmp-users


+ Reply to Thread