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
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to