This is a discussion on Multiple Inform requests for single use of send_v2trap within the SNMP Users forums, part of the Networking and Network Related category; --===============1902331249== Content-Type: multipart/alternative; boundary="=_d45acb59b386dc9bb388be541d4a57bd" --=_d45acb59b386dc9bb388be541d4a57bd Content-Type: text/plain; charset="ISO-8859-1" ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
--===============1902331249==
Content-Type: multipart/alternative; boundary="=_d45acb59b386dc9bb388be541d4a57bd" --=_d45acb59b386dc9bb388be541d4a57bd Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit 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 --=_d45acb59b386dc9bb388be541d4a57bd Content-Type: text/html; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable Hi All,<br /><br /> In my subagent code for = generating notifications I've used send_v2trap to send a inform request bei= ng sent to trap demon. But problem is whenever I trigger this function I ca= n see that 2 inform requests being sent to demon. This is how it looks when= I call send_v2trap:<br /><br />root@localhost .libs]#./snmptrapd -f -Le -D= sum<br />registered debug token sum, 1<br />NET-SNMP version 5.4<br />2008-= 02-04 15:48:57 <UNKNOWN> [UDP: [127.0.0.1]:33951]:<br />DISMAN-EVENT-= MIB::sysUpTimeInstance =3D Timeticks: (1770623) 4:55:06.23 SNMP= v2-MIB::snmpTrapOID.0 =3D OID: <br />MY-MIB::MyNotification MY-= MIB::MyNotifNum.0 =3D Counter32: 1 MY-MIB::MyNotifObject.0 =3D = OID: ccitt.1 MY-MIB::MyNotifOID.0 =3D OID: ccitt.1 MY-MIB::MyNotifVal= ue.0 =3D Hex-STRING: 5F 56 41 4C 55 45 5F 56 41 4C 55 45 5F 56 41 4C 55 45 = 5F 00 <br />2008-02-04 15:48:57 <UNKNOWN> [UDP: [127.0.0.1]:33952]:<b= r />DISMAN-EVENT-MIB::sysUpTimeInstance =3D Timeticks: (1770623) 4:55:06.23= SNMPv2-MIB::snmpTrapOID.0 =3D OID: MY-MIB::MyNotification = ; MY-MIB::MyNotifNum.0 =3D Counter32: 1 MY-MIB::MyNotifOb= ject.0 =3D OID: ccitt.1 MY-MIB::MyNotifOID.0 =3D OID: ccitt.1 MY-MIB:= :MYNotifValue.0 =3D Hex-STRING: 5F 56 41 4C 55 45 5F 56 41 4C 55 45 5F 56 4= 1 4C 55 45 5F 00<br /><br /><br />Wat could be the reason? Can anyone help = in this regard.<br /> <br><br>Regards,<br /> Girish<br><Table border=3D0 Width=3D644 Height=3D57 cellspacing=3D0 cellpad= ding=3D0 style=3D'font-family:Verdana;font-size:11px;line-height:15px;'><TR= ><td><a href=3D'http://adworks.rediff.com/cgi-bin/AdWorks/click.cgi/www.red= iff.com/signature-home.htm/1050715198@Middle5/2041799_2034533/2041733/1?PAR= TNER=3D3&OAS_QUERY=3Dnull' target=3Dnew ><img src =3D'http://imadworks.redi= ff.com/cgi-bin/AdWorks/adimage.cgi/2041799_2034533/creative_2041733.gif' a= lt=3D'Singapore Tour' border=3D0></a></td></TR></Table> --=_d45acb59b386dc9bb388be541d4a57bd-- --===============1902331249== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------- 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/ --===============1902331249== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ 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 --===============1902331249==-- |