Re: Multiple Agents on a Platform Issues

Dave Shield <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <CAKoMtGaO9w_dngmWta7CHJ8e7tRZ7E7gCrum8FK6V84AK0-r6Q@mail.gmail.com>
On 6 March 2012 04:26, Bob ONeil <[email protected]> wrote:
> I have the need to have two agents operating in isolation on a platform,
> both extended using AgentX subagent techniques.

> To establish different connections between the agents and the subagents, I
> am using to different TCP ports, 705 and 706.
>
> However, on the Linux platform, the default is the named socket
> /var/agent/master.
>
> Is the TCP track the proper way of doing this, or under Linux, is the
> performance of the named socket preferential?

It's entirely up to you.
You can either use two different TCP ports, or specify a second
unix named socket  (e.g  /var/agentx/master2)

As long as both the master agent and the corresponding subagents
agree on a common communication path, the choice of what that
mechanism should be is entirely an internal matter - nothing other
than the master/subagents themselves need know anything about this.


> Assuming I wanted to do with the named socket procedure, what would be
> required on the platform to do this?

See the FAQ entry
   How can I run AgentX with a different socket address?
        http://www.net-snmp.org/wiki/index.php/FAQ:Agent_12


> I desire to have SNMP trap information sent on different ports between
> agents, say
>
>     162, 164, etc.
>
> How would this be accomplished for the multiple agent environment?

Each (master) agent would have its own snmpd.conf file.
You would specify the appropriate destination addresses/ports
as part of the 'trapsink' (or equivalent) directive(s) in the
relevant config files.

Dave

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
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.