Sha256: 8acd905fbacc0bb9891ea6ccf7cca8d95f8a47a043e5c95bba2d9c0d02176ec3

Contents?: true

Size: 276 Bytes

Versions: 14

Compression:

Stored size: 276 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

14 entries across 14 versions & 1 rubygems

Version Path
kurchatov-0.0.5.pre5 examples/exim.rb
kurchatov-0.0.5.pre4 examples/exim.rb
kurchatov-0.0.5.pre2 examples/exim.rb
kurchatov-0.0.5.pre1 examples/exim.rb
kurchatov-0.0.4 examples/exim.rb
kurchatov-0.0.4d examples/exim.rb
kurchatov-0.0.4c examples/exim.rb
kurchatov-0.0.4b examples/exim.rb
kurchatov-0.0.3 examples/exim.rb
kurchatov-0.0.3b examples/exim.rb
kurchatov-0.0.3a examples/exim.rb
kurchatov-0.0.2 examples/exim.rb
kurchatov-0.0.2b examples/exim.rb
kurchatov-0.0.1 examples/exim.rb