[Top][All Lists]

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

Re: monit help

From: Martin Pala
Subject: Re: monit help
Date: Fri, 12 Dec 2003 19:30:47 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031107 Debian/1.5-3

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
        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
I suggest that we add this to our todo list, here's my +1.

+1 :)


reply via email to

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