Sha256: f3dacb1dbf6d3850afbb17d4ea72bff796cd01e6502c5f80df7da73dd876c4d9

Contents?: true

Size: 159 Bytes

Versions: 51

Compression:

Stored size: 159 Bytes

Contents

interval 60
default[:file] = '/tmp/file'

collect do
  event(
      :state => system("test -f #{file.file}"),
      :desc => "Check file #{file.file}"
  )
end

Version data entries

51 entries across 51 versions & 1 rubygems

Version Path
kurchatov-0.0.7 examples/nfs.rb
kurchatov-0.0.7.pre.3 examples/nfs.rb
kurchatov-0.0.7.pre.2 examples/nfs.rb
kurchatov-0.0.7.pre.1 examples/nfs.rb
kurchatov-0.0.6 examples/nfs.rb
kurchatov-0.0.6.pre.5 examples/nfs.rb
kurchatov-0.0.6.pre.4 examples/nfs.rb
kurchatov-0.0.6.pre.3 examples/nfs.rb
kurchatov-0.0.6.pre.2 examples/nfs.rb
kurchatov-0.0.6.pre.1 examples/nfs.rb
kurchatov-0.0.5 examples/nfs.rb