Re: netsnmp_subtree_load

2012-02-01 Thread Dave Shield
On 1 February 2012 01:33, baicaiaichibaicai wrote: > I have problem with netsnmp_subtree_load when i learn snmpd code: > > 1.what's the effect of this function It's part of the internal workings of the agent, used to build up a list of which MIB handler should be used for

netsnmp_subtree_load

2012-01-31 Thread baicaiaichibaicai
hi: I have problem with netsnmp_subtree_load when i learn snmpd code: 1.what's the effect of this function 2. how doese these case work: if (!netsnmp_subtree_find_first(context_name)) { static int inloop = 0; if (!inloop) { oid ccitt[1]

Re: netsnmp_assert !"registration != duplicate" failed agent_registry.c:535 netsnmp_subtree_load()

2007-10-29 Thread Dave Shield
On 27/10/2007, Neetu Gupta <[EMAIL PROTECTED]> wrote: > > > I am using net-snmp 5.4.1 for subagent development. When i start master > agent(snmpd) with command > > /usr/local/sbin/snmpd -Dread_config -Dagentx -c > /usr/local/share/snmp/snmpd.conf -x tcp:localhost:705 > > It shows following error/wa

netsnmp_assert !"registration != duplicate" failed agent_registry.c:535 netsnmp_subtree_load()

2007-10-26 Thread Neetu Gupta
-Dread_config -Dagentx -c /usr/local/share/snmp/snmpd.conf -x tcp:localhost:705 *registered debug token read_config, 1 registered debug token agentx, 1 netsnmp_assert !"registration != duplicate" failed agent_registry.c:535 netsnmp_subtree_load() netsnmp_assert !"registration != du

RE: failed agent_registry.c:535 netsnmp_subtree_load()

2007-08-20 Thread ThomasJBrennan
Could we see your snmpd.conf? My snmpd.conf has the following 3 lines in it: master agentx agentxsocket /var/agentx/master rocommunity pace_ro I guess I should mention, when our environment starts up, then we load and start the subagent task. I see the "failed agent_registry.c:535 netsn

RE: failed agent_registry.c:535 netsnmp_subtree_load()

2007-08-17 Thread Need Help
My snmpd.conf has the following 3 lines in it: master agentx agentxsocket /var/agentx/master rocommunity pace_ro I guess I should mention, when our environment starts up, then we load and start the subagent task. I see the "failed agent_registry.c:535 netsnmp_subtree_load()" line

RE: failed agent_registry.c:535 netsnmp_subtree_load()

2007-08-17 Thread Bruce Shaw
ved? netsnmp_assert !"registration != duplicate" failed agent_registry.c:535 netsnmp_subtree_load() netsnmp_assert !"registration != duplicate" failed agent_registry.c:535 netsnmp_subtree_load() netsnmp_assert !"registration != duplicate" failed agent_registry.c:535 nets

failed agent_registry.c:535 netsnmp_subtree_load()

2007-08-17 Thread Need Help
stry.c:535 netsnmp_subtree_load() netsnmp_assert !"registration != duplicate" failed agent_registry.c:535 netsnmp_subtree_load() netsnmp_assert !"registration != duplicate" failed agent_registry.c:535 netsnmp_subtree_load() - Choose the right car b

Re: Questions about portion of code in agent_registry.c (netsnmp_subtree_load)

2005-06-20 Thread Dave Shield
On Thu, 2005-06-16 at 19:13, gg gg wrote: > I am trying to understand the purpose of a portion of > code in agent_registry.c/netsnmp_subtree_load. The > code was submitted in version 5.25.2.1. Actually, that particular section of code was submitted as part of revision 5.20: &qu

Questions about portion of code in agent_registry.c (netsnmp_subtree_load)

2005-06-16 Thread gg gg
I am trying to understand the purpose of a portion of code in agent_registry.c/netsnmp_subtree_load. The code was submitted in version 5.25.2.1. Here is the code: if (!netsnmp_subtree_find_first(context_name)) { static int inloop = 0; if (!inloop) { oid ccitt[1