Sha256: 2607fda6ecaba03d4b1c6c8304cfb61bbb9b380c4d7107f5a05b908cc223e847
Contents?: true
Size: 1.25 KB
Versions: 10
Compression:
Stored size: 1.25 KB
Contents
# Monit configuration for: # Delayed Job worker <%= fetch(:tmp_worker_number) %> # Application: <%= "#{fetch(:application)} running as #{fetch(:user)} in environment #{environment}" %> # # Service name: <%= fetch(:tmp_delayed_job_monit_service_name) %> # check process <%= fetch(:tmp_delayed_job_monit_service_name) %> with pidfile <%= fetch(:tmp_delayed_job_pid_file) %> start program = "<%= fetch(:tmp_delayed_job_start_command) %>" stop program = "<%= fetch(:tmp_delayed_job_stop_command) %>" <%= "if mem is greater than #{fetch(:delayed_job_monit_memory_alert_threshold)} then alert" unless fetch(:delayed_job_monit_memory_alert_threshold).nil? %> <%= "if mem is greater than #{fetch(:delayed_job_monit_memory_restart_threshold)} then restart" unless fetch(:delayed_job_monit_memory_restart_threshold).nil? %> <%= "if cpu is greater than #{fetch(:delayed_job_monit_cpu_alert_threshold)} then alert" unless fetch(:delayed_job_monit_cpu_alert_threshold).nil? %> <%= "if cpu is greater than #{fetch(:delayed_job_monit_cpu_restart_threshold)} then restart" unless fetch(:delayed_job_monit_cpu_restart_threshold).nil? %> group <%= fetch(:monit_application_delayed_job_group_name) %> group <%= fetch(:monit_application_group_name) %>
Version data entries
10 entries across 10 versions & 1 rubygems