Bluehost.com Web Hosting $6.95

How to find the completion of OID registrations by subagent with

This is a discussion on How to find the completion of OID registrations by subagent with within the SNMP Users forums, part of the Networking and Network Related category; This is a multi-part message in MIME format. --===============1872936820== Content-class: urn:content-classes:message Content-Type: multipart/alternative; ...


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

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-11-2008
Pamidipati Suresh-G20238
 
Posts: n/a
Default How to find the completion of OID registrations by subagent with

This is a multi-part message in MIME format.

--===============1872936820==
Content-class: urn:content-classes:message
Content-Type: multipart/alternative;
boundary="----_=_NextPart_001_01C89BE3.98C4FEFB"

This is a multi-part message in MIME format.

------_=_NextPart_001_01C89BE3.98C4FEFB
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Hi=20All,
=20
We=20are=20using=20Net-snmp-5.2.2=20as=20Agentx=20Master=20agent=20and=20s=
ubagent.
=20
Our=20subagent=20registers=20OIDs=20with=20SNMPD=2 0using=20helper=20functi=
ons=20in=20table.c
and=20scalar.c.
After=20subagent=20has=20established=20Agentx=20se ssion=20with=20SNMPD=20a=
nd=20registered
OIDs,=20when=20SNMPD=20goes=20down,=20subagent=20d etects=20this=20as=20the=
re=20will=20be=20no
response=20from=20SNMPD=20for=20Agentx=20ping=20re quest.=20Later=20when=20=
SNMPD=20comes=20up,
subagent=20detects=20this=20and=20registers=20the= 20OIDs=20present=20in=20=
it's=20data
structures=20with=20SNMPD.=20We=20can=20know=20tha t=20that=20registration=20=
of=20a=20certain
OID=20is=20completed=20by=20doing=20snmpwalk=20on= 20nsModuleTable.=20If=20=
the=20OID=20is
present=20in=20snmpwalk=20output,=20then=20the=20O ID=20is=20known=20to=20b=
e=20registered.
=20
In=20this=20kind=20of=20situation=20where=20Net-snmp=20code/function=20sen=
ds=20register
messages=20to=20SNMPD=20after=20SNMPD=20goes=20dow n=20and=20comes=20up,=20=
is=20there=20any=20other
mechanism=20to=20find=20out=20the=20completion=20o f=20all=20registrations=20=
with=20SNMPD.?
Because=20application=20code=20does=20not=20come=2 0to=20know=20that=20Net-=
snmp=20code=20in
subagent=20has=20sent=20out=20all=20the=20registra tion=20messages=20to=20S=
NMPD.=20For
example,=20does=20the=20net-snmp=20code=20of=20subagent=20send=20a=20trap=20=
to=20indicate=20that
it=20has=20sent=20out=20all=20the=20registrations= 20that=20were=20present=20=
in=20it's=20data
structures=20after=20SNMPD=20has=20come=20up.=20If =20this=20trap=20is=20no=
t=20existing
currently=20in=20Net-snmp,=20If=20I=20add=20it=20in=20Net-snmp=20code=20an=
d=20submit=20it=20as=20a
patch,=20will=20it=20be=20accepted=20by=20the=20gr oup.?=20
=20
We=20had=20this=20requirement=20to=20know=20the=20 completion=20of=20OID=20=
registrations=20by
subagent=20after=20SNMPD=20has=20come=20up.=20Our= 20test=20application=20w=
ill=20start=20doing
snmp=20operations=20after=20the=20registrations=20 are=20completed.=20As=20=
I=20mentioned
above,=20it=20is=20known=20by=20doing=20snmpwalk=2 0on=20nsModuleTable,=20b=
ut=20an
asynchronous=20event/trap=20from=20subagent=20would=20be=20more=20usefu l..=

=20
So=20please=20let=20us=20know=20your=20thoughts/comments=20on=20this.
=20
Thanks=20&=20Regards,
Suresh.
=20
=20
=20
=20
=20

__________________________________________________ ____________________
This=20email=20has=20been=20scanned=20by=20the=20M essageLabs=20Email=20Sec=
urity=20System.
For=20more=20information=20please=20visit=20http://www.messagelabs.com/ema=
il=20
__________________________________________________ ____________________
------_=_NextPart_001_01C89BE3.98C4FEFB
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE=20HTML=20PUBLIC=20"-//W3C//DTD=20HTML=204.0=20Transitional//EN">=

<HTML><HEAD>
<META=20HTTP-EQUIV=3D"Content-Type"=20CONTENT=3D"text/html;=20charset=3Dus=
-ascii">
<TITLE>Message</TITLE>

<META=20content=3D"MSHTML=206.00.2900.3268"=20name =3DGENERATOR></HEAD>
<BODY>
<DIV><SPAN=20class=3D132405913-11042008><FONT=20face=3DArial=20size=3D2>Hi=
=20
All,</FONT></SPAN></DIV>
<DIV><SPAN=20class=3D132405913-11042008><FONT=20face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN=20class=3D132405913-11042008><FONT=20face=3DArial=20size=3D2>We=
=20are=20using=20
Net-snmp-5.2.2=20as=20Agentx=20Master=20agent=20and=20subag ent.</FONT></SP=
AN></DIV>
<DIV><SPAN=20class=3D132405913-11042008><FONT=20face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN=20class=3D132405913-11042008><FONT=20face=3DArial=20size=3D2>Ou=
r=20subagent=20
registers=20OIDs=20with=20SNMPD=20using=20helper=2 0functions=20in=20table.=
c=20and=20
scalar.c.</FONT></SPAN></DIV>
<DIV><SPAN=20class=3D132405913-11042008><FONT=20face=3DArial=20size=3D2>Af=
ter=20subagent=20has=20
established=20Agentx=20session=20with=20SNMPD=20an d=20registered=20OIDs,=20=
w</FONT></SPAN><SPAN=20
class=3D132405913-11042008><FONT=20face=3DArial=20size=3D2>hen=20SNM PD=20g=
oes=20down,=20subagent=20
detects=20this=20as=20there=20will=20be=20no=20res ponse=20from=20SNMPD=20f=
or=20Agentx=20ping=20request.=20
Later=20when=20SNMPD=20comes=20up,=20subagent=20de tects=20this=20and=20reg=
isters=20the=20OIDs=20present=20
in=20it's=20data=20structures=20with=20SNMPD.=20We =20can=20know=20that=20t=
hat=20registration=20of=20a=20
certain=20OID=20is=20completed=20by=20doing=20snmp walk=20on=20nsModuleTabl=
e.=20If=20the=20OID=20is=20
present=20in=20snmpwalk=20output,=20then=20the=20O ID=20is=20known=20to=20b=
e=20
registered.</FONT></SPAN></DIV>
<DIV><SPAN=20class=3D132405913-11042008><FONT=20face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN=20class=3D132405913-11042008><FONT=20face=3DArial=20size=3D2>In=
=20this=20kind=20of=20
situation=20where=20Net-snmp=20code/function=20sends=20register=20messages=
=20to=20SNMPD=20after=20
SNMPD=20goes=20down=20and=20comes=20up,=20is=20the re=20any=20other&nbsp;me=
chanism&nbsp;to=20find=20out=20
the=20completion=20of=20all=20registrations=20with =20SNMPD.?=20Because=20a=
pplication=20code=20does=20
not=20come=20to=20know=20that=20Net-snmp=20code=20in=20subagent=20has=20se=
nt=20out=20all=20the=20
registration=20messages=20to=20SNMPD.=20For=20exam ple,=20does=20the=20net-=
snmp=20code&nbsp;of=20
subagent=20send=20a=20trap=20to=20indicate=20that= 20it=20has=20sent=20out=20=
all=20the=20registrations=20that=20
were=20present=20in=20it's=20data=20structures=20a fter=20SNMPD=20has=20com=
e=20up.=20If=20this=20trap=20is=20
not=20existing=20currently=20in=20Net-snmp,=20If=20I=20add=20it=20in=20Net=
-snmp=20code=20and=20
submit&nbsp;it=20as=20a=20patch,=20will=20it=20be= 20accepted=20by=20the=20=
group.?=20
</FONT></SPAN></DIV>
<DIV><SPAN=20class=3D132405913-11042008><FONT=20face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN=20class=3D132405913-11042008><FONT=20face=3DArial=20size=3D2>We=
=20had=20this=20
requirement=20to=20know=20the=20completion=20of=20 OID=20registrations=20by=
=20subagent=20after=20SNMPD=20
has=20come=20up.=20Our=20test=20application=20will =20start=20doing=20snmp=20=
operations=20after=20the=20
registrations=20are=20completed.=20As=20I=20mentio ned=20above,=20it=20is=20=
known=20by=20doing=20snmpwalk=20
on=20nsModuleTable,=20but=20an=20asynchronous=20ev ent/trap=20from=20subage=
nt=20would=20be=20more=20
useful..</FONT></SPAN></DIV>
<DIV><SPAN=20class=3D132405913-11042008><FONT=20face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN=20class=3D132405913-11042008><FONT=20face=3DArial=20size=3D2>So=
=20please=20let=20us=20
know=20your=20thoughts/comments=20on=20this.</FONT></SPAN></DIV>
<DIV><SPAN=20class=3D132405913-11042008><FONT=20face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN=20class=3D132405913-11042008><FONT=20face=3DArial=20size=3D2>Th=
anks=20&amp;=20
Regards,</FONT></SPAN></DIV>
<DIV><SPAN=20class=3D132405913-11042008><FONT=20face=3DArial=20
size=3D2>Suresh.</FONT></SPAN></DIV>
<DIV><SPAN=20class=3D132405913-11042008><FONT=20face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN=20class=3D132405913-11042008><FONT=20face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN=20class=3D132405913-11042008><FONT=20face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN=20class=3D132405913-11042008><FONT=20face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN=20class=3D132405913-11042008><FONT=20face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<BR>
__________________________________________________ ____________________<BR>=

This=20email=20has=20been=20scanned=20by=20the=20M essageLabs=20Email=20Sec=
urity=20System.<BR>
For=20more=20information=20please=20visit=20http://www.messagelabs.com/ema=
il=20<BR>
__________________________________________________ ____________________<BR>=

</BODY></HTML>

------_=_NextPart_001_01C89BE3.98C4FEFB--


--===============1872936820==
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 the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757...un.com/javaone
--===============1872936820==
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

--===============1872936820==--

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 08:42 PM.


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