Created
May 22, 2016 07:04
-
-
Save jacobwyke/f56de0064357b0ce7cea78eb0d532ba1 to your computer and use it in GitHub Desktop.
Memcached Monit File
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
# | |
# /etc/monit/conf.d/memcached | |
# | |
check process memcached with pidfile /var/run/memcached.pid | |
group memcache | |
start program = "/usr/bin/service memcached start" | |
stop program = "/usr/bin/service memcached stop" | |
if failed host 127.0.0.1 port 11211 protocol MEMCACHE then restart | |
if 5 restarts within 5 cycles then timeout |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment