monit-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: preparing for release?


From: rory
Subject: Re: preparing for release?
Date: Sun, 1 Dec 2002 11:28:14 -0800 (PST)

>>There are a few ways to do this I think:
>>
>>1) Make a copy of processlist before re-init, and copy old dynamic
>>values (not just do_validate).
>>
>>2) Use some kind of db structure for the process list that is
>>persistant, perhaps even across sessions (using a db file or something)
>>
> I think both suggestions are good - i though about something similar to
>  option 2.) for custom configuration source (ldap, sql) as well. It is
> needed to have some way to cache last valid configuration for the vent
> that monit won't be able to connect to the network database (for any
> reason). I though about either XML format (local file) or BerkeleyDB
> library. Option 1.) will be probably easier to implement and maybe we
> can live with it until third-party configuration sources can come in
> place and such feature will be needed. We should yet think about it -
> what does the others (and you, Rory) mean?

1) is very easy to implement, probably less than 10 lines of code,
however, I think that 2) is a better long term solution. As we add more
features (clustering, etc) and more dynamic flags, I think it makes more
sense. But, it also brings complexities with it, and possible dependencies
on 3rd party libs.
>
>>
>>
>>>I'm working now on dependecy stuff and i have maybe one wish - what
>>>about to use 'depend' statement to declare "master" process, instead
>>>of
>>> present "slave" processes?
>>>
>>>
>>
>>I thought about doing that, and found that one needs to loop more if
>>done that way.
>>I'll be looking at fixing the stuff up early next week.
>>
> Super :)
>
>
>
>
> _______________________________________________
> monit-dev mailing list
> address@hidden
> http://mail.nongnu.org/mailman/listinfo/monit-dev







reply via email to

[Prev in Thread] Current Thread [Next in Thread]