Re: Retrieving multiple oids in a single get

This is a discussion on Re: Retrieving multiple oids in a single get within the SNMP Coders forums, part of the Networking and Network Related category; On Sat, 5 Feb 2005 14:47:56 -0800 (PST) Shobana wrote: SS> I have an entry in my ...


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

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-16-2005
Robert Story
 
Posts: n/a
Default Re: Retrieving multiple oids in a single get

On Sat, 5 Feb 2005 14:47:56 -0800 (PST) Shobana wrote:
SS> I have an entry in my MIBs which is an entry in a
SS> table. So, when I send the OID x, I need to return the
SS> value of OID x, plus values of OID y and OID z. y and
SS> z need to be returned with every x. What can I use to
SS> implement it, so eventhough the PDU comes with a
SS> single OID, I modify it and return 3 OID values.

You can not do this. It is a violation of the SNMP protocol specs. A response
PDU must contain the exact same number of varbinds as the GET PDU.

--
Robert Story; NET-SNMP Junkie
Support: <http://www.net-snmp.org/> <irc://irc.freenode.net/#net-snmp>
Archive: <http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-coders>

You are lost in a twisty maze of little standards, all different.


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/...et-snmp-coders
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 08:29 PM.


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