- edited description
Monit is not able to detect that cassandra process is down
Issue #712
new
i am killing the cassadra process, but monit is not able to detect that process is dead on port 9042. i waited for long time(5mins to 30 mins), i did it many times, but monit was not able to detect that cassandra process was down.
Configs are as below :
cat /etc/monit/monitrc
set daemon 90
with start delay 5
cat /etc/monit/conf.d/cassandra.conf
check process cassandra
with pidfile /var/run/cassandra.pid
start "/usr/sbin/service cassandra start"
stop "/usr/sbin/service cassandra stop"
if failed port 9042 for 2 cycles
then restart
if 3 restarts within 3 cycles
then timeout
Comments (2)
-
repo owner -
repo owner If the process died and monit detected it's not running, the port check is skipped. Monit should try to restart the processes and will resume the port monitoring after 2 cycles.
You stop monit and start it in debug mode to see details:
monit -vI
- Log in to comment