Re: multiple snmpd daemons vs. multiple agentX subagents problem

"ido ivri" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Thanks a lot Dave!!

This already helps me very much, I have some further questions (with your
permission):

How can I bind a daemon to a certain socket? is this controlled by the
"master agentX" setting in the .conf?
(I mean, can I bind to master17 socket by writing "master17 agentX" in the
conf? - and if so, how do I register a daemon to a certain socket? I didn't
find any documentation about this - - I reckon it should be very easy, I
might have missed that.

Ido


On 2/1/07, Dave Shield <[email protected]> wrote:
>
> On 31/01/07, ido ivri <[email protected]> wrote:
> > My goal is to run several snmp master agents (that's easy; I just bind
> every
> > daemon to a separate interface)
>
> Presumably each snmpd will have it's own snmpd.conf file?
>
> > The problems start when I want to bind a different agentX subagent to
> each
> > daemon.
>
> Why not have each master agent listen on a different socket
> (/var/agentx/master{N}) and have each AgentX subagent register with
> the appropriate one.
>
> >                      (The reason I want to do this is that each subagent
> should
> > report a similar MIB branch subtree - and the agentX protocol does not
> deal
> > with overlapping MIB branches).
>
> Errr... yes it does.
> That's the purpose of the "context" field in both SNMPv3 and AgentX
> protocols.
>
> Now I'm not sure how easy it would be to make use of that in your
> partticular
> situation, and having separate subagent processes might well be the most
> straightforward approach.
>   But a single AgentX subagent (and/or master agent) *can* in principle
> look
> after multiple copies of the same MIB objects.
>
> Dave
>



-- 
Ido

"If you could kick the person in the pants responsible for most of your
trouble, you wouldn't sit for a month."

    Theodore Roosevelt

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

_______________________________________________
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.