monit-general
[Top][All Lists]
Advanced

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

Re: [monit] Execute an external program as a test


From: alex
Subject: Re: [monit] Execute an external program as a test
Date: Mon, 28 Jul 2008 16:27:54 +0300

http://www.tildeslash.com/monit/doc/next.php#33


I have a somewhat complex collection of tests, and all of them must be positive in order to have Monit restart the task under management. Basically, if a process is i/o blocked, and also hasn't written a log file entry for more than 15 minutes, I'd like to restart it.

The only way I can see to support this is to write a script to look for the condition.

Is there a way to have Monit run a script and act on the return value? Or is there any other way for Monit to detect these conditions?

Thanks,
</edg>
Ed Greenberg
West Hollywood, CA

--------
Инновационный интернет-банк Prior Online - управляйте всеми своими счетами:
текущими, кредитными, депозитными, карточными. Подключитесь до 1 сентября
бесплатно и получите в подарок дебетовую пластиковую карточку!
http://www.priorbank.by/r/retail/internetbank/





reply via email to

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