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.2 | app/jobs/monitoring_job.rb |
my_nagios-0.0.1 | app/jobs/monitoring_job.rb |