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 ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
--===============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> For snmpgetnext request i have to do some operation for xx OID.<br> For snmpwalk request , i have to do the same operation plus some other <br> functionality for xx OID.<br><br> Eg : <br> snmpwalk of xx table :<br> we gather all the instance of xx table data for the 1st getnext req. itself.<br> 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> <br> In this case how to diff. walk & getnext.<br> <br> <br> Thanks<br> valantina<br> <br><b><i>Pamidipati Suresh-G20238 <venkatasuresh.pamidipati@emerson.com></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> </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> </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> </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> </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 & snmpgetnext request ??<br><br></font></div>Hi all,<br> <br> &nbs p; Is there a way to differentiate the request from snmpwalk & snmpgetnext ?<br><br> Like a flag in request structure which diff. walk & getnext..<br><br> 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==-- |
![]() |
| Thread Tools | |
| Display Modes | |
|
|