Hi all, I am in progress of implementing more than one parent agent for one agentX. The problem I try to solve is that I have multiple MIB with same OID but different vrfs.
Do you have any proposals on how to stick MIBs to one dedicated parent connection ? >From the sub agent trap code, I can see that a trap is supposed to be sent to all pending connections, but I think this is not what should be done by default ? Thanks, Regards, Philippe On Tue, Oct 13, 2020 at 5:49 PM Wes Hardaker <harda...@users.sourceforge.net> wrote: > Philippe Guibert <philippe.guib...@6wind.com> writes: > > > Instead of using agentX, I wonder if it could be possible to link the > > application with a master agent library Somehow, the agent would be > > configured as a proxy, and session would convey information over an > > unixSocket to the real snmpAgent. Could it be possible ? > > Yes, certainly you can have multiple "real" snmp daemons query to a > sub-process via a proxy like mechanism. There is no reason that > shouldn't work to allow multiple upstreams query to your internal agent. > > The net-snmp package's snmpd actually supports that through the use of > the "proxy" directive ; see the snmpd.conf manual page in the "Proxy > Support" section. > > -- > Wes Hardaker > Please mail all replies to net-snmp-coders@lists.sourceforge.net >
_______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/net-snmp-coders