Created
January 5, 2015 02:37
-
-
Save RabeaWahab/d4b039e992ab1364e7ca to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
check process redis with pidfile /var/run/redis/redis.pid | |
start program = “/etc/init.d/redis start” | |
stop program = “/etc/init.d/redis stop” | |
if failed host 127.0.0.1 port 6379 then restart | |
if 5 restarts within 5 cycles then alert |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment