Multiple Inform requests for single use of send_v2trap

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" ...


Go Back   Usenet Forums > Networking and Network Related > SNMP Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-05-2008
girish
 
Posts: n/a
Default Multiple Inform requests for single use of send_v2trap

--===============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 />&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; 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 &lt;UNKNOWN&gt; [UDP: [127.0.0.1]:33951]:<br />DISMAN-EVENT-=
MIB::sysUpTimeInstance =3D Timeticks: (1770623) 4:55:06.23&nbsp;&nbsp; SNMP=
v2-MIB::snmpTrapOID.0 =3D OID: <br />MY-MIB::MyNotification&nbsp;&nbsp; MY-=
MIB::MyNotifNum.0 =3D Counter32: 1&nbsp;&nbsp; MY-MIB::MyNotifObject.0 =3D =
OID: ccitt.1 MY-MIB::MyNotifOID.0 =3D OID: ccitt.1&nbsp; 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 &lt;UNKNOWN&gt; [UDP: [127.0.0.1]:33952]:<b=
r />DISMAN-EVENT-MIB::sysUpTimeInstance =3D Timeticks: (1770623) 4:55:06.23=
&nbsp;&nbsp; SNMPv2-MIB::snmpTrapOID.0 =3D OID: MY-MIB::MyNotification&nbsp=
;&nbsp; MY-MIB::MyNotifNum.0 =3D Counter32: 1&nbsp;&nbsp; MY-MIB::MyNotifOb=
ject.0 =3D OID: ccitt.1 MY-MIB::MyNotifOID.0 =3D OID: ccitt.1&nbsp; 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==--

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 07:45 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0