Sha256: e52dbd22d1016f7c1debd29ad3b33bfc1b217f1d0dc702f79b758136dd1e9a33

Contents?: true

Size: 619 Bytes

Versions: 40

Compression:

Stored size: 619 Bytes

Contents

<%
  @path = '/etc/monit/monit.d/monit-selenium_grid_hub.conf'
%>

<%
  start_program = "/bin/bash -l -c '#{rubber_env.selenium_grid_hub_dir}/startup.sh'"
  stop_program  = "/bin/bash -l -c 'cat #{rubber_env.selenium_grid_hub_dir}/hub.pid | xargs kill; exit 0'"
%>

check process selenium_grid_hub with pidfile <%= rubber_env.selenium_grid_hub_dir %>/hub.pid
  group selenium_grid_hub
  start program = "<%= start_program %>"
  stop program = "<%= stop_program %>"

  if totalmem > <%= rubber_env.selenium_grid_hub_max_heap_in_mb.to_i + rubber_env.selenium_grid_hub_permgen_in_mb.to_i %>.0 MB for 5 cycles then restart

Version data entries

40 entries across 40 versions & 1 rubygems

Version Path
rubber-3.2.2 templates/selenium_grid_hub/config/rubber/role/selenium_grid_hub/monit-selenium_grid_hub.conf
rubber-3.2.1 templates/selenium_grid_hub/config/rubber/role/selenium_grid_hub/monit-selenium_grid_hub.conf
rubber-3.2.0 templates/selenium_grid_hub/config/rubber/role/selenium_grid_hub/monit-selenium_grid_hub.conf
rubber-3.1.0 templates/selenium_grid_hub/config/rubber/role/selenium_grid_hub/monit-selenium_grid_hub.conf
rubber-3.0.1 templates/selenium_grid_hub/config/rubber/role/selenium_grid_hub/monit-selenium_grid_hub.conf
rubber-3.0.0 templates/selenium_grid_hub/config/rubber/role/selenium_grid_hub/monit-selenium_grid_hub.conf
rubber-2.16.0 templates/selenium_grid_hub/config/rubber/role/selenium_grid_hub/monit-selenium_grid_hub.conf
rubber-2.15.2 templates/selenium_grid_hub/config/rubber/role/selenium_grid_hub/monit-selenium_grid_hub.conf
rubber-2.15.1 templates/selenium_grid_hub/config/rubber/role/selenium_grid_hub/monit-selenium_grid_hub.conf
rubber-2.15.0 templates/selenium_grid_hub/config/rubber/role/selenium_grid_hub/monit-selenium_grid_hub.conf
rubber-2.14.0 templates/selenium_grid_hub/config/rubber/role/selenium_grid_hub/monit-selenium_grid_hub.conf
rubber-2.13.1 templates/selenium_grid_hub/config/rubber/role/selenium_grid_hub/monit-selenium_grid_hub.conf
rubber-2.13.0 templates/selenium_grid_hub/config/rubber/role/selenium_grid_hub/monit-selenium_grid_hub.conf
rubber-2.12.2 templates/selenium_grid_hub/config/rubber/role/selenium_grid_hub/monit-selenium_grid_hub.conf
rubber-2.12.1 templates/selenium_grid_hub/config/rubber/role/selenium_grid_hub/monit-selenium_grid_hub.conf
rubber-2.12.0 templates/selenium_grid_hub/config/rubber/role/selenium_grid_hub/monit-selenium_grid_hub.conf
rubber-2.11.0 templates/selenium_grid_hub/config/rubber/role/selenium_grid_hub/monit-selenium_grid_hub.conf
rubber-2.10.2 templates/selenium_grid_hub/config/rubber/role/selenium_grid_hub/monit-selenium_grid_hub.conf
rubber-2.10.1 templates/selenium_grid_hub/config/rubber/role/selenium_grid_hub/monit-selenium_grid_hub.conf
rubber-2.10.0 templates/selenium_grid_hub/config/rubber/role/selenium_grid_hub/monit-selenium_grid_hub.conf