Sha256: d99b94e3727a5b3604e66a4ed20c04ca66479e9f2d5ac5a3d685408554846825

Contents?: true

Size: 592 Bytes

Versions: 50

Compression:

Stored size: 592 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 start # (default)
    # if does not exist for 3 cycles then alert
    if 3 restarts within 5 cycles then alert
    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

50 entries across 50 versions & 1 rubygems

Version Path
magic_recipes_two-0.0.94 lib/generators/capistrano/magic_recipes/templates/monit/redis.erb
magic_recipes_two-0.0.93 lib/generators/capistrano/magic_recipes/templates/monit/redis.erb
magic_recipes_two-0.0.91 lib/generators/capistrano/magic_recipes/templates/monit/redis.erb
magic_recipes_two-0.0.90 lib/generators/capistrano/magic_recipes/templates/monit/redis.erb
magic_recipes_two-0.0.89 lib/generators/capistrano/magic_recipes/templates/monit/redis.erb
magic_recipes_two-0.0.88 lib/generators/capistrano/magic_recipes/templates/monit/redis.erb
magic_recipes_two-0.0.87 lib/generators/capistrano/magic_recipes/templates/monit/redis.erb
magic_recipes_two-0.0.86 lib/generators/capistrano/magic_recipes/templates/monit/redis.erb
magic_recipes_two-0.0.85 lib/generators/capistrano/magic_recipes/templates/monit/redis.erb
magic_recipes_two-0.0.84 lib/generators/capistrano/magic_recipes/templates/monit/redis.erb
magic_recipes_two-0.0.83 lib/generators/capistrano/magic_recipes/templates/monit/redis.erb
magic_recipes_two-0.0.82 lib/generators/capistrano/magic_recipes/templates/monit/redis.erb
magic_recipes_two-0.0.81 lib/generators/capistrano/magic_recipes/templates/monit/redis.erb
magic_recipes_two-0.0.80 lib/generators/capistrano/magic_recipes/templates/monit/redis.erb
magic_recipes_two-0.0.79 lib/generators/capistrano/magic_recipes/templates/monit/redis.erb
magic_recipes_two-0.0.78 lib/generators/capistrano/magic_recipes/templates/monit/redis.erb
magic_recipes_two-0.0.77 lib/generators/capistrano/magic_recipes/templates/monit/redis.erb
magic_recipes_two-0.0.76 lib/generators/capistrano/magic_recipes/templates/monit/redis.erb
magic_recipes_two-0.0.75 lib/generators/capistrano/magic_recipes/templates/monit/redis.erb
magic_recipes_two-0.0.74 lib/generators/capistrano/magic_recipes/templates/monit/redis.erb