Multiple Inform requests for single use of send_v2trap
"girish" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Hi All, In my subagent code for generating notifications I've used send_v2trap to send a inform request being sent to trap demon. But problem is whenever I trigger this function I can see that 2 inform requests being sent to demon. This is how it looks when I call send_v2trap:root@localhost .libs]#./snmptrapd -f -Le -Dsumregistered debug token sum, 1NET-SNMP version 5.42008-02-04 15:48:57 <UNKNOWN> [UDP: [127.0.0.1]:33951]:DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (1770623) 4:55:06.23 SNMPv2-MIB::snmpTrapOID.0 = OID: MY-MIB::MyNotification MY-MIB::MyNotifNum.0 = Counter32: 1 MY-MIB::MyNotifObject.0 = OID: ccitt.1 MY-MIB::MyNotifOID.0 = OID: ccitt.1 MY-MIB::MyNotifValue.0 = Hex-STRING: 5F 56 41 4C 55 45 5F 56 41 4C 55 45 5F 56 41 4C 55 45 5F 00 2008-02-04 15:48:57 <UNKNOWN> [UDP: [127.0.0.1]:33952]:DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (1770623) 4:55:06.23 SNMPv2- MIB::snmpTrapOID.0 = OID: MY-MIB::MyNotification MY-MIB::MyNotifNum.0 = Counter32: 1 MY-MIB::MyNotifObject.0 = OID: ccitt.1 MY-MIB::MyNotifOID.0 = OID: ccitt.1 MY-MIB::MYNotifValue.0 = Hex-STRING: 5F 56 41 4C 55 45 5F 56 41 4C 55 45 5F 56 41 4C 55 45 5F 00Wat could be the reason? Can anyone help in this regard. Regards, Girish ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ 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