Commit d65906b8 authored by Marin Jankovski's avatar Marin Jankovski

Add ping send to redis monit.

parent e175755d
check process redis-server with pidfile <%= @redis_pid_path %>
start program = "/etc/init.d/redis6379 start"
stop program = "/etc/init.d/redis6379 stop"
if failed host <%= @host %> port <%= @port %> then alert
if failed host <%= @host %> port <%= @port %>
send "PING\r\n" expect "PONG\r\n"
then alert
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment