monit-general
[Top][All Lists]
Advanced

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

Re: monit5.5: Problem with process restart


From: shiva rkreddy
Subject: Re: monit5.5: Problem with process restart
Date: Thu, 6 Dec 2012 08:38:08 -0600

Ok, I'll try this method.

On Thu, Dec 6, 2012 at 8:30 AM, Martin Pala <address@hidden> wrote:
Currently there is no test for number of threads - you can use the "check program" with custom script that will return error if the number of threads go bellow some number. Example of the program test: http://www.mmonit.com/monit/documentation/monit.html#program_status_testing

Regards,
Martin


On Dec 6, 2012, at 3:27 PM, shiva rkreddy <address@hidden> wrote:

> I've another question on whether monit can restart a process based on number of threads that are running?
> For example:  A process has 10 threads to start with and then 7 of the threads have crashed. It needs 5 threads to be running to be considered healthy. If thread count is less than 5, can monit restart the whole process?
>
>
> Thanks
>



reply via email to

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