[AGENT++] Question about Mib's Loadfile and SaveFile

Frank Fock fock at agentpp.com
Fri Jan 18 20:17:18 CET 2008


Hi Joe,

The Mib.load and Mib.save[_all] methods load and store
persistent data of the agent. They are not related
to MIB specifications written in SMI in any way.

Best regards,
Frank

Joe wrote:
> Hi all,
> 
> I have compiled the agent++/snmp++ . Now it worked. But I got some question about Mib.Loadfile() & Savefile function. I try to set the global path to it. and place the Mibs txt file ,but the Loadfile function seems don't recognize the Mibs txt file. It seems it recognize other format file. Is it right? As I know , in the main(). We have called the function init() to add mib based on the Class we defined. Those classes presented the Mibs we need to support in our system. So why we still need to call the Mib->init to load file from disk? Now I have remarked the mib->init function. Is it ok for our agent? Thanks a lot!
> 
> 
> Joe
> _______________________________________________
> AGENTPP mailing list
> AGENTPP at agentpp.org
> http://lists.agentpp.org/mailman/listinfo/agentpp

-- 
AGENT++
http://www.agentpp.com
http://www.mibexplorer.com
http://www.mibdesigner.com




More information about the AGENTPP mailing list