Hello, I am developing an emulator which requires an agent. I implemented the MIB's for this agent with the table array helper. My issue is that I need to decide at runtime if a given row is to skip over a column or not. For example, lets say we have a row which contains three columns: A (1.1.1),B (1.1.2),C (1.1.3). The MIB is defined such that if A does not equal x, B must not exist. So, as an agent, how do I implement a response that tells snmpwalk to keep going onto the next OID? I have tried to use the SNMP_NOSUCHINSTANCE and a few other error codes in the "tableName_get_value" method, but the snmpwalk program will stop at A, since it thinks that there are no more valid OIDS in that row. What I would like to do is have the snmpwalk return A and C. I am thinking it has to be implemented along the lines of: Request 1.1.1, Receive 1.1.1, Request 1.1.2, Receive SKIP, Request 1.1.3, Request 1.1.3. The problem is I do not know how the agent is supposed to instruct the manager to skip! a given oid or column. What is the preferred way to handle a skipped column?Thanks! - Daniel
------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ 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
