Hello all,

I'm working on an AgentX agent that instantiates a table. I generated
the code using mib2c. In mib2c, I used the options 2 (net-snmp style
code) -> 1 (tables where the list of rows is external to the agent) ->
1 (One based around a single handler), to generate the code.

The agent is working, but when I walk the agent, snmpwalk command ends
with the error
Error: OID not increasing

This is because after the agent serves the last row, it returns the
first row again. Is this inherent to the way generated code works, or
am I seeing a bug?

I do see that internally my agent returns SNMP_NOSUCHINSTANCE after
the last row, but it receives a repeat request from the master agent,
to which it replies with the first row. So may be, the problem is with
the master agent? How can I fix this?

-vish

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs 
proactively, and fine-tune applications for parallel performance. 
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to