check process memcached_sa with pidfile /var/www/scooter_accessoires_production/shared/pids/sa_memcached.pid
start program = "/bin/sh /usr/local/bin/monit-wrapper.sh /usr/local/bin/memcached_sa-start" as uid root and gid root
stop program = "/bin/sh /usr/local/bin/monit-wrapper.sh /usr/local/bin/memcached_sa-stop" as uid root and gid root
if failed host 127.0.0.1 port 11212 then restart
if cpu > 60% for 2 cycles then alert
if cpu > 98% for 5 cycles then restart
if 2 restarts within 3 cycles then timeout
group memcached