|
From: | Martin Pala |
Subject: | Re: configuration patch - final version |
Date: | Tue, 11 Feb 2003 21:43:27 +0100 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20021226 Debian/1.2.1-9 |
Jan-Henrik Haukeland wrote:
Yet one remains - to add Oliver's documentation for monit+heartbeat. I can add it if needed too :)So all our remaining tasks are done according to the monit 3.2 release plan,
I propose that we test the system a few days and release it this Friday, if everything is okay. Agree?
Agree
It will be probably the simplest way to do it. Maybe it will be suitable to use ASN.1 BER rules to encode runtime structures into binary form - it defines standard method for encoding/decoding structured data into binary format and it will be easier than XML parser (however XML file is more user-friendly for edit :)Ps. I was thinking about Olivier's proposal about writing the state to a "state-file". I suggest that we simply write the processlist to a binary file (on reload and for each poll cycle) and upon reload or restart (in case of an error) we re-read this file into a temporary processlist data-structure - traverse the old list and for all processes that match the new list use the old values especially reuse the do_validate flag per process. It's a very simple but effective strategy and will solve the state problem. What do you think? Jan-Henrik
Martin
[Prev in Thread] | Current Thread | [Next in Thread] |