This is a discussion on [AMaViS-user] Don't reset snmp.db at startup ? within the Amavis User forums, part of the Anti-Spam and Anti-Virus Related Forums category; I was wondering why snmp.db is reset at startup... is there some real need for that (perhaps internal statistics, ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
I was wondering why snmp.db is reset at startup... is there some real need
for that (perhaps internal statistics, counters growing too much or something like that) ? I'm pulling some of that data straight out of the db with an simple evolution of amavisd-agent, and dump it into mrtg, and I'd like not having at least counters like InMsgs restarted at every configuration tweak (counters would still wrap at some time but I can live with that). I didn't find support for this and I'm not familiar with BerkelyDB... I suppose changes would have to been made either in child_init_hook() or directly in Amavis::DB::SNMP->new() ? Hmmm I see in that db is child process data, too, this means just keeping the old db instead of creating a new one could be harmfull, since at least that selected data should be initialized freshly every time ? Heiko -- -- PREVINET S.p.A. www.previnet.it -- Heiko Herold Heiko.Herold@previnet.it Sistemisti@previnet.it -- +39-041-5907073 ph -- +39-041-5907472 fax ------------------------------------------------------- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click _______________________________________________ AMaViS-user mailing list AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/...fo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/ |