[EMAIL PROTECTED] wrote on 02/05/2008 02:29:18 AM:

> On 04/02/2008, Lisa Morgan <[EMAIL PROTECTED]> wrote:
> > I have an AgentX subagent (NetSnmp version 5.3.0.1)...
> 
> That's a relatively early version of the 5.3.x line, and there have
> been a couple of releases since then.   It might well be worth
> trying with either 5.3.2, or 5.4.1.

Unfortunately, this is not easy for me to do. We get our NetSnmp
package from an outside source who handles legal issues and does
the cross-compilation for our platform. I'll give it a try but 
it could take some time.

> 
> You say that is the version of the AgentX subagent.
> What about the master agent?  Is that the same release?
> Or something different?

The master agent is the same release.

> 
> 
> >   ......   I'm having a problem where
> > 'handle_getnext_loop()' seems to get into a infinite loop if I do a
> > 'snmpgetnext printmib' and report 'SNMP_ERR_NOSUCHNAME'.
> 
> Is this the 'handle_getnext_loop' in the master agent, or in
> the subagent?   What is the exact code that you use to report
> this problem in your handler?   How did you register the MIB table?

It's the 'handle_getnext_loop' in the subagent.

The handler calls netsnmp_set_request_error() with SNMP_ERR_NOSUCHNAME and
then the handler function return value is SNMP_ERR_NOERROR. 

Each OID is registered individually by calling 
'netsnmp_create_handler_registration()'.

> 
> Dave
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to