RE: How to differentiate snmpwalk & snmpgetnext request ??

This is a discussion on RE: How to differentiate snmpwalk & snmpgetnext request ?? within the SNMP Users forums, part of the Networking and Network Related category; --===============1484130887== Content-Type: multipart/alternative; boundary="0-2121832089-1210229795=:79383" Content-Transfer-Encoding: 8bit --0-2121832089-1210229795=:79383 ...


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

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 05-08-2008
valantina arumugam
 
Posts: n/a
Default RE: How to differentiate snmpwalk & snmpgetnext request ??

--===============1484130887==
Content-Type: multipart/alternative; boundary="0-2121832089-1210229795=:79383"
Content-Transfer-Encoding: 8bit

--0-2121832089-1210229795=:79383
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

Thanks.

I do know the way how snmpwalk works.

Let me explain my requir. in detail.

For snmpgetnext request i have to do some operation for xx OID.
For snmpwalk request , i have to do the same operation plus some other
functionality for xx OID.

Eg :
snmpwalk of xx table :
we gather all the instance of xx table data for the 1st getnext req. itself.
while walk is going on , there is a chance an instance may get deleted/added thro' other appln( other than snmp) .which will result in displaying of ambiguous data.

In this case how to diff. walk & getnext.


Thanks
valantina

Pamidipati Suresh-G20238 <venkatasuresh.pamidipati@emerson.com> wrote: Message Hi Valantina,

Snmpwalk is nothing but a series of snmpgetnext requests.
For the given OID, snmpwalk first sends an snmpgetnext request. After receiving the response for the getnext, it retrieves the OID from the response and then sends snmpgetnext request on this OID. This way snmpgetnext requests are sent until all OIDs/variables in the subtree (and their values) below the given OID are retrieved.

Please see the man page of snmpwalk.

Regards,
Suresh.


-----Original Message-----
From: net-snmp-users-bounces@lists.sourceforge.net [mailto:net-snmp-users-bounces@lists.sourceforge.net] On Behalf Of valantina arumugam
Sent: Thursday, May 08, 2008 11:06 AM
To: net-snmp-users@lists.sourceforge.net
Subject: How to differentiate snmpwalk & snmpgetnext request ??


Hi all,

Is there a way to differentiate the request from snmpwalk & snmpgetnext ?

Like a flag in request structure which diff. walk & getnext..

I have surfed the net-snmp , but i couldn't find out a way.


Thanks
Valantina


---------------------------------
Did you know? You can CHAT without downloading messenger. Click here
__________________________________________________ ____________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
__________________________________________________ ____________________



---------------------------------
From Chandigarh to Chennai - find friends all over India. Click here.
--0-2121832089-1210229795=:79383
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

Thanks.<br> <br> I do know the way how snmpwalk works.<br> <br> Let me explain my requir. in detail.<br> <br> &nbsp;&nbsp;&nbsp; &nbsp; For snmpgetnext request i have to do some operation for xx OID.<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; For snmpwalk request , i have to do the same operation plus some other <br> functionality for xx OID.<br><br> Eg : <br> &nbsp;&nbsp;&nbsp; &nbsp;&nbsp; snmpwalk of xx table :<br> &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; we gather all the instance of xx table data for the 1st getnext req. itself.<br> &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; while walk is going on , there is a chance an instance may get deleted/added thro' other appln( other than snmp) .which will result in displaying of ambiguous data.<br> &nbsp;&nbsp;&nbsp; &nbsp;&nbsp; <br> &nbsp;&nbsp; &nbsp;&nbsp; In this case how to diff. walk &amp; getnext.<br> <br> <br> Thanks<br> valantina<br> <br><b><i>Pamidipati Suresh-G20238 &lt;venkatasuresh.pamidipati@emerson.com&gt;</i></b>
wrote:<blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"> <meta http-equiv="Content-Type" content="text/html; charset=us-ascii"><title>Message</title> <meta content="MSHTML 6.00.2900.3314" name="GENERATOR"> <div><span class="470210806-08052008"><font color="#0000ff" face="Arial" size="2">Hi Valantina,</font></span></div> <div><span class="470210806-08052008"><font color="#0000ff" face="Arial" size="2"></font></span>&nbsp;</div> <div><span class="470210806-08052008"><font color="#0000ff" face="Arial" size="2">Snmpwalk is nothing but a series of snmpgetnext requests.</font></span></div> <div><span class="470210806-08052008"><font color="#0000ff" face="Arial" size="2">For the given OID, snmpwalk first sends an snmpgetnext request. After receiving the response for the getnext, it retrieves the OID from the response and then sends snmpgetnext request on this OID. This way snmpgetnext requests are sent until
all OIDs/variables in the subtree (and their values) below the given OID are retrieved.</font></span></div> <div><span class="470210806-08052008"><font color="#0000ff" face="Arial" size="2"></font></span>&nbsp;</div> <div><span class="470210806-08052008"><font color="#0000ff" face="Arial" size="2">Please see the man page of snmpwalk.</font></span></div> <div><span class="470210806-08052008"><font color="#0000ff" face="Arial" size="2"></font></span>&nbsp;</div> <div><span class="470210806-08052008"><font color="#0000ff" face="Arial" size="2">Regards,</font></span></div> <div><span class="470210806-08052008"><font color="#0000ff" face="Arial" size="2">Suresh.</font></span></div> <div><span class="470210806-08052008"><font color="#0000ff" face="Arial" size="2"></font></span>&nbsp;</div> <blockquote style="margin-right: 0px;"> <div></div> <div class="OutlookMessageHeader" align="left" dir="ltr" lang="en-us"><font face="Tahoma" size="2">-----Original
Message-----<br><b>From:</b> net-snmp-users-bounces@lists.sourceforge.net [mailto:net-snmp-users-bounces@lists.sourceforge.net] <b>On Behalf Of </b>valantina arumugam<br><b>Sent:</b> Thursday, May 08, 2008 11:06 AM<br><b>To:</b> net-snmp-users@lists.sourceforge.net<br><b>Subject:</b> How to differentiate snmpwalk &amp; snmpgetnext request ??<br><br></font></div>Hi all,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs p; Is there a way to differentiate the request from snmpwalk &amp; snmpgetnext ?<br><br>&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; Like a flag in request structure which diff. walk &amp; getnext..<br><br>&nbsp;&nbsp; &nbsp; &nbsp;&nbsp; I have surfed the net-snmp , but i couldn't find out a way.<br><br><br>Thanks<br>Valantina<br> <div><!--2--> </div><hr size="1"> Did you know? You can CHAT without downloading messenger. <a
href="http://in.rd.yahoo.com/tagline_webmessenger_2/*http://in.messenger.yahoo.com/webmessengerpromo.php">Click here</a></blockquote> <br> __________________________________________________ ____________________<br> This email has been scanned by the MessageLabs Email Security System.<br> For more information please visit http://www.messagelabs.com/email <br> __________________________________________________ ____________________<br> </blockquote><br><p>


<!--10--><hr size=1></hr> From Chandigarh to Chennai - find friends all over India. <a href="http://in.rd.yahoo.com/tagline_groups_10/*http://in.promos.yahoo.com/groups/citygroups/"> Click here.</a>
--0-2121832089-1210229795=:79383--


--===============1484130887==
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
--===============1484130887==
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

--===============1484130887==--

Reply With Quote
Reply


Thread Tools
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

vB 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 12:37 PM.


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