Sha256: df21948a80498882e334375fac96170cc6f7b33233dd2e56ac211e348e5f41a6

Contents?: true

Size: 290 Bytes

Versions: 22

Compression:

Stored size: 290 Bytes

Contents

class MonitoringJob
  include Sidekiq::Worker

  sidekiq_options queue: 'my_nagios_monitoring'
  sidekiq_options retry: false

  def perform(checks, config = nil)
    if config
      MyNagios::Check.multiple_run!(checks, config)
    else
      MyNagios::Check.run!(checks)
    end
  end
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
my_nagios-0.0.22 app/jobs/monitoring_job.rb
my_nagios-0.0.21 app/jobs/monitoring_job.rb
my_nagios-0.0.20 app/jobs/monitoring_job.rb
my_nagios-0.0.19 app/jobs/monitoring_job.rb
my_nagios-0.0.18 app/jobs/monitoring_job.rb
my_nagios-0.0.17 app/jobs/monitoring_job.rb
my_nagios-0.0.16 app/jobs/monitoring_job.rb
my_nagios-0.0.15 app/jobs/monitoring_job.rb
my_nagios-0.0.14 app/jobs/monitoring_job.rb
my_nagios-0.0.13 app/jobs/monitoring_job.rb
my_nagios-0.0.12 app/jobs/monitoring_job.rb
my_nagios-0.0.11 app/jobs/monitoring_job.rb
my_nagios-0.0.10 app/jobs/monitoring_job.rb
my_nagios-0.0.9 app/jobs/monitoring_job.rb
my_nagios-0.0.8 app/jobs/monitoring_job.rb
my_nagios-0.0.7 app/jobs/monitoring_job.rb
my_nagios-0.0.6 app/jobs/monitoring_job.rb
my_nagios-0.0.5 app/jobs/monitoring_job.rb
my_nagios-0.0.4 app/jobs/monitoring_job.rb
my_nagios-0.0.3 app/jobs/monitoring_job.rb