Sha256: 11db6ac465c271b25d0c0a13cde1626d5f80c1db8c70638b750dcc7e67877862

Contents?: true

Size: 454 Bytes

Versions: 12

Compression:

Stored size: 454 Bytes

Contents

# Monit configuration for NGINX :  <%= fetch(:application) %>
check process nginx with pidfile /var/run/nginx.pid
  start program = "/etc/init.d/nginx start"
  stop program = "/etc/init.d/nginx stop"
  if does not exist then alert
  if children > 250 then restart
  if failed host 127.0.0.1 port 80 then restart
  if cpu is greater than 40% for 2 cycles then alert
  if cpu > 60% for 5 cycles then restart 
  if 10 restarts within 10 cycles then timeout

Version data entries

12 entries across 12 versions & 1 rubygems

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