Sha256: fd37b3689f3144230bc10a26af402a1665cb06d62a09221baa96465a6383be2a

Contents?: true

Size: 824 Bytes

Versions: 125

Compression:

Stored size: 824 Bytes

Contents

check process starling-<%= starling_port %> with pidfile <%= starling_run_dir %>/starling.pid
group starling
start program = "start-stop-daemon -c <%= starling_user %>:<%= starling_group %> --start --quiet --pidfile <%= starling_run_dir %>/starling.pid --exec /usr/local/bin/starling -- <%= starling_runtime_options %>"
stop program = "start-stop-daemon -c <%= starling_user %>:<%= starling_group %> --stop --quiet --pidfile <%= starling_run_dir %>/starling.pid --exec /usr/local/bin/starling -- <%= starling_runtime_options %>"
	
if failed host 127.0.0.1 port <%= starling_port %>
  	with timeout 10 seconds
  	then alert

if totalmem > 100 Mb then restart
if cpu > 60% for 2 cycles then alert
if cpu > 80% for 5 cycles then restart
if loadavg(5min) > 10 for 8 cycles then restart
if 3 restarts within 5 cycles then timeout

Version data entries

125 entries across 125 versions & 3 rubygems

Version Path
deprec-2.0.9 lib/deprec/templates/starling/monit.conf.erb
deprec-2.0.5 lib/deprec/templates/starling/monit.conf.erb
deprec-2.0.4 lib/deprec/templates/starling/monit.conf.erb
deprec-2.0.2 lib/deprec/templates/starling/monit.conf.erb
deprec-2.0.3 lib/deprec/templates/starling/monit.conf.erb