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.53 lib/generators/capistrano/magic_recipes/templates/monit/nginx.erb
magic_recipes_two-0.0.52 lib/generators/capistrano/magic_recipes/templates/monit/nginx.erb
magic_recipes_two-0.0.51 lib/generators/capistrano/magic_recipes/templates/monit/nginx.erb
magic_recipes_two-0.0.50 lib/generators/capistrano/magic_recipes/templates/monit/nginx.erb
magic_recipes_two-0.0.49 lib/generators/capistrano/magic_recipes/templates/monit/nginx.erb
magic_recipes_two-0.0.48 lib/generators/capistrano/magic_recipes/templates/monit/nginx.erb
magic_recipes_two-0.0.47 lib/generators/capistrano/magic_recipes/templates/monit/nginx.erb
magic_recipes_two-0.0.46 lib/generators/capistrano/magic_recipes/templates/monit/nginx.erb
magic_recipes_two-0.0.45 lib/generators/capistrano/magic_recipes/templates/monit/nginx.erb
magic_recipes_two-0.0.44 lib/generators/capistrano/magic_recipes/templates/monit/nginx.erb