Re: snmp trap handler issue (net-snmp-5.3.pre4)
"Holger (Woosh)" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
First of all, Thomas, thank you very much for pointing me towards version 5.2.2! > I'd suggest to try the just released 5.2.2 which will work out of the > box for you. Downloaded, compiled, tested, installed, all good - except the memory leak, which is still quite viable. Next attempt: > As for 5.3.pre4 (and later), please note the following NEWS snippet: > > snmptrapd: > - a brand new authorization scheme that is based on the VACM > authorization scheme from snmpd. > - Note: now drops unauthenticated notifications by default > > If you're using community-based SNMP (v1 or v2c), then you'll need to add > > authcommunity execute <yourcommunity> > > to snmptrapd.conf in order to handle traps. Did not work, either, so I re-compiled 5.3.pre4 with debugging enabled, but the tests failed, see below. Do you guys have any ideas how to narrow this down? Many thanks, Holger --- make test; 1:testing SNMPv1 support.......ok 2:testing SNMPv2c get of system.sysUpTime.0...ok 3:testing SNMPv2c getnext of system.sysUpTime...ok 4:testing SNMPv2c bulkget of system components......ok 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...ok 9:testing SNMPv3 get using noAuthNoPriv of .1.3.6.1.2.1.1.3.0...ok 10:testing SNMPv3 getnext using initial of .1.3.6.1.2.1.1.3.0...ok 11:testing SNMPv3 bulkget of system......ok 12:testing SNMPv3 get using MD5/noPriv of .1.3.6.1.2.1.1.3.0...ok 13:testing SNMPv3 get using MD5/AES of .1.3.6.1.2.1.1.3.0...ok 14:testing SNMPv3 get using MD5/DES of .1.3.6.1.2.1.1.3.0...ok 15:testing SNMPv3 get using SHA/noPriv of .1.3.6.1.2.1.1.3.0...ok 16:testing SNMPv3 get using SHA/DES of .1.3.6.1.2.1.1.3.0...ok 17:testing SNMPv3 get using SHA/AES of .1.3.6.1.2.1.1.3.0...ok 18:testing for failure of SNMPv3 get using unknown user....ok 19:testing SNMPv3 agent USM user management with smpusm...........ok 20:testing SNMPv3 snmptrapd USM user management with snmpusm.....FAIL 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...FAIL 24:testing SNMPv3 traps received and sent by tools...FAIL 25:testing SNMPv2c traps received and sent by tools...FAIL 26:testing SNMPv2c informs received and sent by tools...ok 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..FAIL 32:testing snmptrapd discards of unauthorized notification types...FAIL 33:testing snmptrapd discards of incorrect view types...FAIL 34:testing authentication failure traps are sent by snmpd...ok 35:testing snmptrapd traphandle: launching external shell script...ok 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........ok 39:testing that the agent responds properly to a kill -HUP...FAIL 40:testing AgentX GET support...ok 41:testing AgentX SET support...ok 42:testing AgentX illegal SET handling support...ok 43:testing AgentX trap sending support...SKIPPED 44:testing Proxy GET support...ok 45:testing Proxy SET support...ok 46:testing Proxy illegal SET handling support...ok 47:testing SNMPv1 vacm acceptance support....ok 48:testing SNMPv2 vacm acceptance support....ok 49:testing SNMPv3 vacm acceptance support....ok 50:testing SNMPv1 vacm denial support.....ok 51:testing SNMPv2 vacm denial support.....ok 52:testing SNMPv3 vacm denial support.....ok 53:testing 1st CPU on Solaris using HOST-RESOURCES...SKIPPED 54:testing initial load device on Solaris using HOST-RESOURCES...SKIPPED 55:testing uptime using HOST-RESOURCES....ok 56:testing swap on Solaris using HOST-RESOURCES...SKIPPED 57:testing if snmpnetstat finds the running agent in udpTable....FAIL 58 testing full snmpwalk: ok ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Net-snmp-users mailing list [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users