Sha256: 6aaba35b74a5543f3247baa8a7b58e143f1064766cd25012cbb0a2d41a2e714a

Contents?: true

Size: 512 Bytes

Versions: 1

Compression:

Stored size: 512 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 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

1 entries across 1 versions & 1 rubygems

Version Path
magic_recipes_two-0.0.43 lib/generators/capistrano/magic_recipes/templates/monit/nginx.erb