[Top][All Lists]

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

External scripts (was Re: Quota Support)

From: Matt Corks
Subject: External scripts (was Re: Quota Support)
Date: Sun, 11 Feb 2007 11:58:40 -0500
User-agent: Mutt/1.5.13 (2006-08-11)

On Thu, Feb 08, 2007 at 01:16:51AM +0100, Martin Pala wrote:
>In general, it is possible to use external script for monitoring
>various services which are not supported by monit currently. There is
>nice trick developed by Pavel Urban, see for example: 

That's a very useful trick.  My one complaint with monit now is that
it's not possible to call an external script from monit and check the
return value, although I realize this is already described as a high
priority on the list of planned features for the future.  For example,
I'm currently using monit to watch a server pool running a custom
routing daemon running on top of postgis, and would like to be able to
use monit to watch several parts of this complex setup.  I've resorted
to writing a series of CGI test scripts and doing something like this:

    if failed url http://user:address@hidden/script.php and content == "OK"
        timeout 30 seconds then alert

This is good enough for me for now, but until that planned feature is
added, may I suggest adding that link to Pavel's message somewhere
under the documentation section of the monit webpages?  I'm sure I
wasn't the only one who's needed to do this and went looking there for

Thanks again for this useful program,

address@hidden |
Calvin: I'm not dumb. I just have a command of thoroughly useless

reply via email to

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