[AGENT++] SharedTable Row Registration after Restart of Master-Agent

Frank Fock fock at agentpp.com
Wed Dec 22 00:16:31 CET 2004


Jens,

As far as I can see, you are right. The registration of the indexes and rows
of shared tables is not performed by the subagent. I will fix that issue
with an update release next week.

Thanks for reporting that one!

Best regards,
Frank

Jens Engel wrote:

>I observed a problem related the registration of SharedMibTable rows after
>the Master-Agent was restarted.
>
>SCENARIO:
>Master and Subagent both implement different rows in a shared MibTable, for
>example IF-MIB::ifTable.
>After the subagent connects itself to the master via AgentX, everything is
>fine:
>The subagent rows of the SharedMibTable can be retrieved by an SNMP client.
>When I stop the master agent and restart it after a while, only the
>subagent rows are no longer accessible
>(even after it reconnects to the master agent).
>
>PROBLEM DIAGNOSIS:
>The problem seems to be that subagent rows are not re-registered via AgentX
>when handleReconnect() occurs.
>
>During the initial startup the subagent rows are discovered and are
>registered via AgentX after the MibTable is registered.
>After restart of the master agent, the subagent only registers its
>SharedMibTable again via AgentX, but not the already existing rows.
>
>When I re-register all existing SharedMibTable rows in my subagent's
>reconnect handling, everything is fine again.
>
>NICE TO HAVE:
>Agentpp::SharedMibTable should have a (virtual) handleReconnect() (or
>reregisterAllRows()) method that reregisters all existing rows.
>
>Ciao,
>Jens Engel.
>
>mailto:Jens.Engel at marconi.com
>
>
>_______________________________________________
>AGENTPP mailing list
>AGENTPP at agentpp.org
>http://agentpp.org/mailman/listinfo/agentpp
>
>  
>





More information about the AGENTPP mailing list