monit-general
[Top][All Lists]
Advanced

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

Re: monit help


From: Christian Hopp
Subject: Re: monit help
Date: Fri, 12 Dec 2003 20:09:16 +0100 (CET)

On Fri, 12 Dec 2003, Jan-Henrik Haukeland wrote:

> Aleksandr Ivanov <address@hidden> writes:
>
> > I want monitor my squid tcp port 3128
> > and when tcp port "died" (squid died) then execute script which
> > shutdown dansguardian daemon.
> > This I can do by:
> > ---------------------------------------------------------------
> > check host myserver with address 192.168.0.1
> >     if failed port 3128 then exec "/etc/init.d/dansguardian stop"
> > ---------------------------------------------------------------
> > And when tcp port "alived" (squid "alived") then monit will execute
> > "/etc/init.d/dansguardian start"...
> > How I can make this?
>
> Unfortunately, this is not supported. I.e. you can perform an action
> when a service goes down, but not when it gets up again. We should
> really add this, especially since it should be a fairly easy thing to
> do.
>
> I suggest that we add this to our todo list, here's my +1.

It sounds useful to me (+1).

CHopp

-- 
Christian Hopp                                email: address@hidden
Institut für Elektrische Informationstechnik             fon: +49-5323-72-2113
TU Clausthal, Leibnizstr. 28, 38678 Clausthal-Zellerf.   fax: +49-5323-72-3197
                             pgpkey: https://www.iei.tu-clausthal.de/pgp-keys/





reply via email to

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