I was letting that solution to the end because of a requisition of separating 
the processes. It's a valid solution but it would be gread if there was some 
kind of way of having multi processes just in case of one fail, the other 
continues running. That was the main reason to use two different snmp agents.

Thank you very much.


Best Regards / Cumprimentos,

Sérgio Cabaço

 

-----Original Message-----
From: Glenn McAllister [mailto:[email protected]] 
Sent: quinta-feira, 21 de Maio de 2009 16:09
To: Sergio Cabaço
Cc: Dave Shield; [email protected]; 
[email protected]
Subject: Re: Multi-Agent doubt

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

Reply via email to