Skip to content

Instantly share code, notes, and snippets.

@vladbabii
Created January 15, 2017 11:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vladbabii/1c0acf8ed3db133ee23d6c0369fba9c2 to your computer and use it in GitHub Desktop.
Save vladbabii/1c0acf8ed3db133ee23d6c0369fba9c2 to your computer and use it in GitHub Desktop.
Monit repcached configuration
check process repcached
matching "repcached -d -m"
start program = "/usr/bin/repcached -d -m 256 -p 11211 -u root -P /var/run/memcachedrep.pid -l$
stop program = "/bin/kill -9 $(pidof repcached)"
if failed host 172.16.62.104 port 11211 type tcp then restart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment