Re: Help : Get list of registered subagents on net snmp master agent

Dave Shield <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On 16 June 2011 10:46, manaswini sugatoor <[email protected]> wrote:
> I have a requirement for my application , where I need to list down
> all registered agentxs on net-snmp.
> I did try to find out on the net and in net-snmp documentation but no help.
> Could you please let me know how to get the list of registered
> subagents on a system.

There's not really an easy way to do this.

It would normally be handled by information from the AGENTX-MIB,
but the Net-SNMP agent doesn't implement this MIB, so that doesn't
help you much.

You could try walking the NET-SNMP-AGENT-MIB::nsRegistry
and look for entries that mention "agentx".  This would at least
allow you to identify which areas of the OID tree are handled by
AgentX subagents.   I'm not sure whether you could identify
individual subagents though.

Dave

PS: Please make sure that you use the email address
    [email protected]
rather than net-snmp-users-request

------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
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.