Re: net-snmp as subagent

"Dave Shield" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
[Sorry for the delay in responding to this]

On 22/10/06, Johnny Ljunggren <[email protected]> wrote:
> I'm trying to use net-snmp as a subagent to a master AgentX built using
> the agentpp AgentX implementation.
> When I start net-snmp (./snmpd -f -L -X localhost:4700) a few MIB's (or
> parts of them) get registered that are already registered.

That's probably due to the way that AgentX handles overlapping
registrations.  It will always prefer a "deeper" (more-specific) registration
over a "shallower" (less-specific) one.   So if the master agent is
registering a complete group, and the subagent is registering individual
objects or a table - then the more-specific subagent registrations will
be used.


> From what I gather the first nine should be a part of the master agent and
> not the subagent. Is there a way to remove them?

Try using  '-I-{module}' to disable the unwanted modules from the subagent

Dave

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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.