Yes, I have indexes also, and I can individualize them for each process for
sure, but it appears as though only one process instance can "register" in the
*_interface.c file with the master agent, or you will get the duplicate entry
issue. How did you work around the registration process if your subagent is
embedded in your application?
...Really appreciate your input by the way.
Judy
From: Fulko Hew [mailto:[email protected]]
Sent: Tuesday, December 14, 2010 6:37 PM
To: Judith Walker
Cc: [email protected]
Subject: Re: multiple subagents using the same MIB
On Tue, Dec 14, 2010 at 8:27 PM, Judith Walker
<[email protected]<mailto:[email protected]>> wrote:
I see an error AGENTX_ERR_DUPLICATE_REGISTRATION number 263, when I try to run
the same subagent that I created, but in different processes (embedded). What
can I do to unique-iffy my subagents so that I can run them simultaneously, but
within different programs or instances of the same program. I know that
multiple subagents running and connecting to the same master agent is
well-supported, as spoken about in this article:
http://web.archiveorange.com/archive/v/WnPpSC2DnnmzoHzSArZh
I just want to make the subagents I've created unique enough that I won't get a
duplicate registration error. My two programs both want to report the exact
same statistics, so I want to use the same MIB/code.
I do the same thing, but because I need to (effectively) duplicate the
statistics for each instance,
the statistics are defined in a table that is indexed (in my case because thats
_my_ design)
by PID. So each sub-agent instance requests its portion of that MIB by its
portion up to and
including the PID/index of the table.
------------------------------------------------------------------------------
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders