[AGENT++] Proposal: Explicit save of persistent objects via SNMP

Henning Eggers henning.eggers at plath.de
Tue Oct 19 09:29:15 CEST 2004


Hi Marek!

> I think this would be useful. Some parts of a MIB are built dynamically at
> startup (for example, on the basis of hardware configuration) and there is
> no need to store them.

But this is supported already. The MibEntry class has a is_volatile() method
which returns FALSE by default. So MIB objects usually get saved, if you set
a persistency name for the MibGroup to which they belong. You can reimplemnt
is_volatile() for Classes derived from MibEntry to prevent them ever being
saved to disk or only on certain conditions.

Regards,
Henning





More information about the AGENTPP mailing list