Sha256: 947a32ef0b205c0744dbc76a54723b818d811a8b39128690b95958db1f93d634

Contents?: true

Size: 557 Bytes

Versions: 50

Compression:

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

50 entries across 50 versions & 1 rubygems

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