Sha256: 8811196653bc673ac7fea75c4b5cf988ae887faa2abfc4f2b25e8b1744beb73d

Contents?: true

Size: 688 Bytes

Versions: 15

Compression:

Stored size: 688 Bytes

Contents

<% processes.each do |process| %>
  
check process <%= mongrel_application %>_<%= process[:port] %> with pidfile <%= process[:pid_path] %>
   group <%= mongrel_application %>
   start program = "<%= process[:name] %> start <%= process[:start_options] %>"
   stop program = "<%= process[:name] %> stop <%= process[:stop_options] %>"
   if failed host 127.0.0.1 port <%= process[:port] %> protocol http
      and request "/" then alert
   if totalmem > 100 Mb then restart
   if cpu is greater than 60% for 2 cycles then alert
   if cpu > 80% for 5 cycles then restart
   if loadavg(5min) greater than 10 for 8 cycles then restart
   if 3 restarts within 5 cycles then timeout
   
<% end %>

Version data entries

15 entries across 15 versions & 2 rubygems

Version Path
calas-capitate-0.3.6 lib/templates/mongrel/mongrel_cluster.monitrc.erb
capitate-0.2.15 lib/templates/mongrel/mongrel_cluster.monitrc.erb
capitate-0.2.11 lib/templates/mongrel/mongrel_cluster.monitrc.erb
capitate-0.2.13 lib/templates/mongrel/mongrel_cluster.monitrc.erb
capitate-0.2.14 lib/templates/mongrel/mongrel_cluster.monitrc.erb
capitate-0.3.1 lib/templates/mongrel/mongrel_cluster.monitrc.erb
capitate-0.3.2 lib/templates/mongrel/mongrel_cluster.monitrc.erb
capitate-0.3.3 lib/templates/mongrel/mongrel_cluster.monitrc.erb
capitate-0.3.4 lib/templates/mongrel/mongrel_cluster.monitrc.erb
capitate-0.3.6 lib/templates/mongrel/mongrel_cluster.monitrc.erb
capitate-0.2.5 lib/templates/mongrel/mongrel_cluster.monitrc.erb
capitate-0.2.7 lib/templates/mongrel/mongrel_cluster.monitrc.erb
capitate-0.3.5 lib/templates/mongrel/mongrel_cluster.monitrc.erb
capitate-0.2.6 lib/templates/mongrel/mongrel_cluster.monitrc.erb
capitate-0.2.8 lib/templates/mongrel/mongrel_cluster.monitrc.erb