Re: Howto setup netsnmp for proxying and failover

Dave Shield <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On 18 May 2010 22:38, Boris Zweimueller <[email protected]> wrote:
> For failover reasons, the hardwares device is doubled.
> Failure of one device should be handeled transparently.
> So ...  SNMP Requests should always go to both internal devices

> How can one request be forwarded to two agents?
> How can answers be collected and be sentback to the manager?


That's not a model of operation which the current agent supports.
The proxy module can forward incoming SNMP requests to a specified (single)
subagent,  but isn't designed to handle multiple redundant subagents
for the same request.   You'd have to implement this yourself.

I'd suggest you start with the existing proxy code, and extend it to:
  -  send the delegated request to multiple destinations
  -  accept the first response (as currently)
  -  accept and discard all following responses

I don't know how you'd want to handle receiving different answers from
the parralel proxied agents, but the above should be a workable arrangement.



Dave

------------------------------------------------------------------------------

_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
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.