[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[monit] Executing a if statement based on another process
From: |
John |
Subject: |
[monit] Executing a if statement based on another process |
Date: |
Tue, 29 Apr 2008 09:32:44 -0700 (PDT) |
Hello,
I'm using monit to control my mythtv backend program. The only problem I have
is when mythfilldatabase is running the 6544 port is blocked. Since I have an
if statement to check this port to control the process, when mythfilldatabase
is running monti thinks that the backend has stopped thus it keeps restarting
the backend while mythfilldatabase is running.
Here's the if statement
if failed port 6544 proto http then restart
if 10 restarts within 15 cycles then timeout
How can I suspend the if failed statement when mythfilldatabase is running?
Thanks
____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now.
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
- [monit] Executing a if statement based on another process,
John <=