Sha256: 8051f9a31322fdece4df94064edfc579b35f8d3ea27dfe80f56aa5a0a98108c1
Contents?: true
Size: 256 Bytes
Versions: 24
Compression:
Stored size: 256 Bytes
Contents
name "sample" always_start true collect do data = YAML.load_file('./tests/data/event.yml') data["events"].each do |e| e[:metric] = eval(e[:eval]) if e.has_key? :eval event(e) end sleep(plugin.sleep.to_f || 0) exit 0 if plugin.sleep end
Version data entries
24 entries across 24 versions & 1 rubygems