> when we do snmpwalk or snmpgetbulk, we know which tree/subtree is used to 
> retriving the values from.

Not really. A GETNEXT query can't return a lexicographically earlier
object, but apart from that you don't really know what'll be returned.
If you did, you could just issue consecutive GET queries asking for
the precise objects you want.

> Then, why the values are returned to the manager in the form of OID=value ?

> Are there any ways I can get only the values instead of OID=VALUE form.

Not using SNMP. You could roll your own protocol, of course.

> The reason it might occupy a lot of bandwidth in a budget link.

You can find out reasonably easily. For example if you made a thousand
single-OID queries a minute, the cumulative size of the OIDs would
probably be under 20kB. On a 56.6kbps modem, that would be under 5% of
your available bandwidth. I suggest you check your expected usage
against your available bandwidth if that's a concern to you.

You could also save some (but not much!) bandwidth by using GETBULK.

-Dan

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to