Re: Multi-Agent doubt

Glenn McAllister <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Sergio Cabaço wrote:
> Hello you all,
> 
> 
> I'm have encountered a problem to what a still don't have a clue how to solve or if it is possible to do so.
> 
> It is a simple situation but a complicated jigsaw till the moment. The objective is to have different ip addresses or different ports that can receive snmp requests. The data is shared to this two ips so when a request comes into an ip, it gets the same answer that it would get if it was made to the other IP.
> 
> The thought solution was to run 2 snmp agents, one in each port/ip, that share the resources to the mib. This works if we define the persistent directory different from each other. I don't know if this is the best way to do this but it is working. 
> The problem is that the two agents don't share the usm table so a admin_client that connects to one of them cannot change the password of some client in the other agent.
> 
> Can anyone clarify me of what is the best approach to fulfil the objective and if there is a simpler way of achieving this objective?

Why don't you just bind to both addresses/ports?  See the agentaddress 
config option (man snmpd.conf).

-- 
Glenn McAllister     <[email protected]>      +1 416 348 1594
SOMA Networks, Inc.  http://www.somanetworks.com/  +1 416 977 1414

------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://www.creativitycat.com 
_______________________________________________
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.