Sha256: 5eec1da6dd945419394c4526d3cc194b5574047b58871e1696fc67c5f0954743

Contents?: true

Size: 499 Bytes

Versions: 30

Compression:

Stored size: 499 Bytes

Contents

# Monit configuration for REDIS :  <%= fetch(:application) %>
check process redis with pidfile <%= fetch(:redis_pid) %>
    start program = "/etc/init.d/redis-server start"
    stop program = "/etc/init.d/redis-server stop"
    if 2 restarts within 3 cycles then timeout
    if totalmem > 100 Mb then alert
    if children > 255 for 5 cycles then stop
    if cpu usage > 95% for 3 cycles then restart
    if failed host 127.0.0.1 port 6379 then restart
    if 5 restarts within 5 cycles then timeout

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
magic_recipes_two-0.0.10 lib/generators/capistrano/magic_recipes/templates/monit/redis.erb
magic_recipes_two-0.0.9 lib/generators/capistrano/magic_recipes/templates/monit/redis.erb
magic_recipes_two-0.0.8 lib/generators/capistrano/magic_recipes/templates/monit/redis.erb
magic_recipes_two-0.0.7 lib/generators/capistrano/magic_recipes/templates/monit/redis.erb
magic_recipes_two-0.0.6 lib/generators/capistrano/magic_recipes/templates/monit/redis.erb
magic_recipes_two-0.0.5 lib/generators/capistrano/magic_recipes/templates/monit/redis.erb
magic_recipes_two-0.0.4 lib/generators/capistrano/magic_recipes/templates/monit/redis.erb
magic_recipes_two-0.0.3 lib/generators/capistrano/magic_recipes/templates/monit/redis.erb
magic_recipes_two-0.0.2 lib/generators/capistrano/magic_recipes/templates/monit/redis.erb
magic_recipes_two-0.0.1 lib/generators/capistrano/magic_recipes/templates/monit/redis.erb