[AGENT++] persistence storage question
Frank Fock
fock at agentpp.com
Wed Mar 10 00:06:37 CET 2010
Hello,
I would suggest using an external class/object that
fetches the data from the standard MibTable/MibLeaf
instances and then stores the data into the DB.
In addition, that class/object would read the
serialized data from the DB and create/initialize
the MibTable/MibLeaf instances.
Both operations need to be synchronized with the
agent (if it is running) by using Mib->lock_mib()
and then locking the particular MibTable/MibLeaf
with ->start_sync().
Best regards,
Frank
On 08.03.2010 16:14, Gal Waldman wrote:
> Hello,
>
> I am new to agent++.
> I am looking to integrate the agent++ as front end to our own permanent
> storage (SQL based),
> so persistence storage would be based on our implementation.
> Where would be the right place to intervene?
> the storage class or directly via the leaf class get/set functionality?
> _______________________________________________
> AGENTPP mailing list
> AGENTPP at agentpp.org
> http://lists.agentpp.org/mailman/listinfo/agentpp
--
AGENT++
http://www.agentpp.com
http://www.snmp4j.com
http://www.mibexplorer.com
http://www.mibdesigner.com
More information about the AGENTPP
mailing list