RE: How to differentiate snmpwalk & snmpgetnext request ??
valantina arumugam <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
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 <[email protected]> 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: [email protected] [mailto:[email protected]] On Behalf Of valantina arumugam
Sent: Thursday, May 08, 2008 11:06 AM
To: [email protected]
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.
-------------------------------------------------------------------------
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;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users