Dear members,
I am currently evaluating the Net-SNMP stack for the following study scenario.
I am working / editing source code for this study purpose.
Study Scenario:
1. Send multiple (more than 1, for example 5) Snmpv3 traps to a given
'trapsess'
2. SNMPv3 Trap user created with
createUser trapuser MD5 "passwordTest"
trapsess -v 3 -u trapuser1 -l authNoPriv a.b.c.d:162
3. Call snmp_add_var(pdu, trapOID1, trapOIDLeng, type, trap) 5 times and
then call send_trap_to_sess(ss, pdu) only once to send all the 5 messages to
the trapserver in a single frame.
4. Agent usage in this scenario is send a trap message for history
purpose and not immediate alarm. So there will be a low priority application
that shall send bulk of traps within the limited system resources allotted for
that trap sending application.
Concern:
In wireshark I can see the trap message with 5 OIDs, but the manager
(evaluation study with some free tools, NOT Net-SNMP manager) is not able to
decode all the 5. Only the first one is decoded.
Queries:
1. Is this the intended or correct usage from an 'snmpd' point of view ?
2. Is it possible for the SNMP manager from NetSNMP to handle such a
message with 5 (in this case) traps with in a single usage.
3. I could not find any SNMP standard for this use case scenario, please
guide if possible with any RFC. ( idea here is to refer any RFC that says send
only one trap OID in one PDU, a standard violation can be prevented )
Note:
I referred to
https://tools.ietf.org/html/rfc3416#page-22
https://tools.ietf.org/html/rfc1157#page-27
https://tools.ietf.org/html/rfc1157#page-29
Thanks and Regards,
Pavan
------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders