Sha256: 2b435752f0cddda9a34e19c22d7aacd41c35152a574fb3125ef262358cf90c55

Contents?: true

Size: 510 Bytes

Versions: 2

Compression:

Stored size: 510 Bytes

Contents

<% processes.each do |process| %>
  
check process <%= merb_application %>_<%= process[:port] %> with pidfile <%= process[:pid_path] %>
   group <%= merb_application %>
   start program = "<%= process[:start]  %>"
   stop program = "<%= process[:stop] %>"
   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

2 entries across 2 versions & 2 rubygems

Version Path
calas-capitate-0.3.6 lib/templates/merb/merb-no-http.monitrc.erb
capitate-0.3.6 lib/templates/merb/merb-no-http.monitrc.erb