[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Check program problem
From: |
Eric PAILLEAU |
Subject: |
Re: Check program problem |
Date: |
Mon, 19 Nov 2012 17:31:16 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux i686; rv:15.0) Gecko/20120912 Thunderbird/15.0.1 |
Le 19/11/2012 17:12, Dmitry Zamaruev a écrit :
check program with path '/tmp/script.sh'
every 2 cycles
if status != 0 then exec '/tmp/some_service.sh restart'
check program_thread with path '/tmp/script.sh'
every 2 cycles
if status != 0 then exec '/bin/rm -f /tmp/file.pid'
check process program with pidfile /tmp/file.pid
start = "/tmp/some_service.sh start'"
stop = "/tmp/some_service.sh stop'"
if 5 restarts within 5 cycles then timeout
--