Thanks for the direction. 

Some high-level questions:
(1)Using those APIs to implement persistence means
that data is saved to some .conf file only once and
only when the sub-agent is normally terminated?

(2)When the sub-agent is restarted, what happens to
data in the saved file? Is it deleted, truncated or
new data appended to old saved data?

Thanks
Steve


--- Dave Shield <[EMAIL PROTECTED]> wrote:
> On Wed, 2005-05-25 at 01:15, Steve S. Law wrote:
> > Can you point me to what those APIs are?
> > Anything that make things easier will be helpful.
> 
> Have a look at some of the existing MIB modules -
> particularly those that work with purely internal
> data.
> 
> The file 'mibgroup/notification/snmpNotifyTable.c'
> might be a reasonable starting point.  You should
> pay particular attention to the routines
> 'parse_snmpNotifyTable' and 'store_snmpNotifyTable'
> 
> Dave
> 
> 


-------------------------------------------------------
SF.Net email is sponsored by: GoToMeeting - the easiest way to collaborate
online with coworkers and clients while avoiding the high cost of travel and
communications. There is no equipment to buy and you can meet as often as
you want. Try it free.http://ads.osdn.com/?ad_id=7402&alloc_id=16135&op=click
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to