File: http://svn.grimore.org/configuration-templates/monit/debian/templates/memcached -

###########################################################################
##  Copyright (C) Wizardry and Steamworks 2017 - License: GNU GPLv3      ##
###########################################################################
 
check process memcache with pidfile /var/run/memcached.pid
   group cache
   group memcached
   depend memcache_bin
   depend memcache_rc
   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
 
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

unix/monit/debian/templates/memcached.txt ยท Last modified: 2022/04/19 08:28 by 127.0.0.1

Access website using Tor Access website using i2p Wizardry and Steamworks PGP Key


For the contact, copyright, license, warranty and privacy terms for the usage of this website please see the contact, license, privacy, copyright.