fail mib registration after reconnection

Alexander Bubnov <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hello!

I have the case:

1. run snmpd (machine_A)

2. run subagent (machine_B): the agent successfully registered mibs, I can
get it with snmpwalk, for example.

3. force reset machine_B: just push reset button on the computer

    - netstat shows the connection betweeen snmpd and my agent is
established.

    - snmpd does not know the agent is down.

4. when machine_B is up my agent trying to connect to snmpd and register its
own mibs. But, snmpd says about dublicate mib registration:

    - snmpd says 'netsnmp_assert !"registration != duplicate" failed
agent_registry.c:536 netsnmp_subtree_load()'

    - net-snmp agentx library says 'registering pdu failed: 263!'

5. here I cannot get mib variables wiht snmpget, snmpwalk etc.

please let me know a way to avoid double registration in that case, what
function can unregister the mibs inside my subagent?

Thank you in advance.

-- 
/BR, Alexander

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com

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