[AGENT++] disable persistent storage for all MIB objects

Jochen Katz katz at agentpp.com
Mon Feb 27 22:05:14 CET 2006


Hi,

> I want to disable the persistent storage for all of the MIB objects
> (including the snmp_target_mib & snmp_notification_mib) in my agent
> application. Because my agent application should not have any file IO
> operation, how should I do it?

as the function Mib::set_persistent_object_path() is missing, you can
subclass Mib and add a function that just does:

 	if (persistent_objects_path) {
	    delete persistent_objects_path;
	    persistent_objects_path = 0;
	}

The function Mib::set_persistent_object_path() will be added to the next
release.

Regards,
  Jochen



More information about the AGENTPP mailing list