hilfe mein git ist komisch
This commit is contained in:
19
etc/monit/conf-available/memcached
Normal file
19
etc/monit/conf-available/memcached
Normal file
@@ -0,0 +1,19 @@
|
||||
check process memcache with pidfile /var/run/memcached.pid
|
||||
group cache
|
||||
group memcached
|
||||
start program = "/etc/init.d/memcached start"
|
||||
stop program = "/etc/init.d/memcached stop"
|
||||
if failed host 127.0.0.1 port 11211 and protocol memcache then restart
|
||||
if cpu > 60% for 2 cycles then alert
|
||||
if cpu > 98% for 5 cycles then restart
|
||||
if 5 restarts within 20 cycles then timeout
|
||||
depend memcache_bin
|
||||
depend memcache_rc
|
||||
|
||||
check file memcache_bin with path /usr/bin/memcached
|
||||
group memcached
|
||||
include /etc/monit/templates/rootbin
|
||||
|
||||
check file memcache_rc with path /etc/init.d/memcached
|
||||
group memcached
|
||||
include /etc/monit/templates/rootbin
|
||||
Reference in New Issue
Block a user