[AGENT++] Troubleshooting in Save/Load to file
Patrice Bentolila
patricebento at hotmail.com
Thu Dec 2 16:06:34 CET 2004
Hi to everyone,
I have troubleshooting in save_to_file and load_from_file operations.
I have a file that I created (persist.bin) to save/load persistence MIB
scalars.
On every Mibleaf MIB object, I call instace->load_from_file("./persist.bin")
and every place I modify this MibLeaf (let say pointer *ml),
I call ml->save_to_file("./persist.bin").
I started from scratch the agent (i.e. persist.bin is empty) and I modified
one single integer
scalar. After restarting the agent, every scalar is now initialized to the
value of the modified scalar
(that is integer), including also scalars of type IpAddress, OctStr...
Did anyone get the same problem?
Best regards.
Patrice.
_________________________________________________________________
MSN Messenger : dialoguez en temps réel avec vos amis !
http://g.msn.fr/FR1001/866
More information about the AGENTPP
mailing list