Re: Connect 1 agent/application to several snmpd/master

Philippe Guibert <[email protected]>
Newsgroups gmane.network.net-snmp.devel
Message-ID <CABkgeBPtjUCaGdTyG+jvZGGg1HqavsaeFBCMWutuvxmA5xPrKw@mail.gmail.com>
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 <[email protected]>
wrote:

> Philippe Guibert <[email protected]> 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 [email protected]
>

_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.