Sha256: 0d7bfd89017cb2b7b3b557eace16d11533ffdc9869ea33bfa284b4d7a42b5000
Contents?: true
Size: 704 Bytes
Versions: 10
Compression:
Stored size: 704 Bytes
Contents
<% processes.each do |process| %> check process mongrel_cluster_<%= application %>_<%= process[:port] %> with pidfile <%= process[:pid_path] %> group mongrel_cluster_<%= 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
10 entries across 10 versions & 2 rubygems