Best method to register scalar objects in AgentX SubAgents

"Zaryab M. Munir" <[email protected]>
Newsgroups gmane.network.net-snmp.devel,gmane.network.net-snmp.user
Message-ID <[email protected]>
Hi,
 
I have 6 subagents, each one supports the IP-MIB.  The master agent also supports the IP-MIB.
My question:
What API should I use for;  and how, to register the scalar objects of IP-MIB like "ipDefaultTTL" etc. such that I can query the values of these scalar objects from all 6 subagents through the master agent.
 
Ofcourse, the snmp manager will only query the master agent, hence I want all subagents to be queried by master agent and return the values.  We are using default context across all agents.
 
Also, if all subagents use the netsnmp_register_handler (  ) API to register the IF-MIB, will the master-agent automatically provide unique indexes to the interfaces created under different subagents.
 
Thanks!
zaryab

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects

_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
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.