Sha256: 66cae10a9c599ec98c58ef609c57bca257619f664f738142e6cbf42351adccea

Contents?: true

Size: 272 Bytes

Versions: 51

Compression:

Stored size: 272 Bytes

Contents

always_start true
interval 60
default[:exim] = '/usr/sbin/exim'

run_if do
  File.exists? plugin.exim
end

collect do
  event(:service => 'exim', :metric => shell(plugin.exim, ' -bpc').to_i,
        :desc => 'Exim: count frozen mails', :warning => 5, :critical => 20)
end

Version data entries

51 entries across 51 versions & 1 rubygems

Version Path
kurchatov-0.4.7 examples/exim.rb
kurchatov-0.4.6 examples/exim.rb
kurchatov-0.4.5 examples/exim.rb
kurchatov-0.4.4 examples/exim.rb
kurchatov-0.4.3 examples/exim.rb
kurchatov-0.4.2 examples/exim.rb
kurchatov-0.4.1 examples/exim.rb
kurchatov-0.3.8 examples/exim.rb
kurchatov-0.3.7 examples/exim.rb
kurchatov-0.3.6 examples/exim.rb
kurchatov-0.3.5 examples/exim.rb
kurchatov-0.3.4 examples/exim.rb
kurchatov-0.3.3 examples/exim.rb
kurchatov-0.3.2 examples/exim.rb
kurchatov-0.3.1 examples/exim.rb
kurchatov-0.3.0 examples/exim.rb
kurchatov-0.2.9 examples/exim.rb
kurchatov-0.2.8 examples/exim.rb
kurchatov-0.2.7 examples/exim.rb
kurchatov-0.2.6 examples/exim.rb