monit-general
[Top][All Lists]
Advanced

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

Odd Check


From: Mark Olliver
Subject: Odd Check
Date: Thu, 28 Oct 2010 06:22:27 +0100

Hi,

I have a check for a program called qdd which does not write a pid file, on some servers this check passes ok on others it gives execution failed even though the application is running. The OS and setup of all the servers effect (both working and not) are exactly the same. Any ideas


address@hidden:/etc/monit/conf.d# ps -ef|grep qdd
root     13813     1  0 05:14 ?        00:00:00 /usr/cqcs/software/qdd
root     13814 13813  0 05:14 ?        00:00:00 /usr/cqcs/software/qdd
root     13910 13457  0 05:20 pts/0    00:00:00 grep --color=auto qdd
address@hidden:/etc/monit/conf.d# cat cyberquery.monitrc 
#Cyberquery monit file

check process qdd
matching "/usr/cqcs/software/qdd"
start program = "/etc/init.d/qdirector start"
stop  program = "/etc/init.d/qdirector stop"
if 5 restarts within 5 cycles then timeout
depends on acs

check process acs with pidfile /var/run/acs.pid
start program = "/etc/init.d/cqcs_acs start"
stop  program = "/etc/init.d/cqcs_acs stop"
if failed port 612 type tcp then restart
if 5 restarts within 5 cycles then timeout


Regards

Mark

reply via email to

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