Sha256: 501db4646be990da25e11b2091be4153492bf329c98bd9bd9f71a59c65e9cb64

Contents?: true

Size: 534 Bytes

Versions: 9

Compression:

Stored size: 534 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 does not exist then alert
    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

9 entries across 9 versions & 1 rubygems

Version Path
magic_recipes_two-0.0.42 lib/generators/capistrano/magic_recipes/templates/monit/redis.erb
magic_recipes_two-0.0.41 lib/generators/capistrano/magic_recipes/templates/monit/redis.erb
magic_recipes_two-0.0.40 lib/generators/capistrano/magic_recipes/templates/monit/redis.erb
magic_recipes_two-0.0.39 lib/generators/capistrano/magic_recipes/templates/monit/redis.erb
magic_recipes_two-0.0.38 lib/generators/capistrano/magic_recipes/templates/monit/redis.erb
magic_recipes_two-0.0.37 lib/generators/capistrano/magic_recipes/templates/monit/redis.erb
magic_recipes_two-0.0.36 lib/generators/capistrano/magic_recipes/templates/monit/redis.erb
magic_recipes_two-0.0.35 lib/generators/capistrano/magic_recipes/templates/monit/redis.erb
magic_recipes_two-0.0.34 lib/generators/capistrano/magic_recipes/templates/monit/redis.erb