monit-general
[Top][All Lists]
Advanced

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

A feature(s) request-for-comment


From: Alexander
Subject: A feature(s) request-for-comment
Date: Tue, 21 Sep 2004 16:37:57 +0200
User-agent: Mutt/1.4i

Hi there,

        I digged through archives and was unable to find something similar
        to feature(s) which I would like to suggest... So... :)
        
        It would be nice to have a possibility to spawn non-daemons as well
        - exactly like init does - and there is no need to specifically
        monitor pid files or something like this, especially when there is
        no pid file at all (i.e., process was not designed to create one).
        Sure, there is an workaround, but simply waiting for child's death
        is much more convenient. After all, it would allow to almost instant
        reaction to process' death :)

        Also, this would allow use of monit as a replacement for init and
        daemontools as well.

        The dependency on "cycles" is not always good thing, i.e. there is
        no clean way to define intervals in "if N restarts N..." statement -
        it would be nice to have something like "if N restart within T
        minutes/seconds/etc...".

        Optionally, would be nice to have custom actions for serveral levels
        of failures, i.e. - what to do on 1st failure, what to do on 2nd
        etc. failure (say, 1st time the service may be silently restarted,
        2nd-5th - restarted and warning will be sent, 6th failure - a
        warning is sent and the service is stopped.

        Any comments? :)
        
Regards,
/Al




reply via email to

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