I had followed this forum post
forums.cpanel.net
And created monitoring for my redis service as
The problem that is really annoying is that system continues throwing errors in
With messages like this
I am now at blind spot to fix this continued issue in service manager. If I remove the monitoring, the Redis keeps working fine, but the purpose of adding in monitoring is to ensure the 100% availability of services in absence of administrator which is why the chkserv is there.
Any help is really appreciated.
chkserv with one application and multiple processes
Let's say I've got 3 redis servers running on 1 machine. Each runs on a different port (1111, 2222, 3333). I create each chkserv.d file as follows: echo "service[redis_1111]=x,x,x,systemctl restart redis_1111.service,redis-server,redis_user" > /etc/chkserv.d/redis_1111 echo...
And created monitoring for my redis service as
Bash:
echo "service[redis]=6379,QUIT,220,systemctl restart redis.service,redis-server,redis" > /etc/chkserv.d/redis
Code:
/var/log/chkservd.log
Bash:
[check command:+][socket connect:-][socket failure threshold:163/3][fail count:161]Restarting redis....
Any help is really appreciated.
Last edited by a moderator: