Sha256: 90049e54fc13e15cef4c4e06105ccfbd1d2deaa6269ec5eca8137551e1cb698d
Contents?: true
Size: 414 Bytes
Versions: 1
Compression:
Stored size: 414 Bytes
Contents
require File.expand_path(File.dirname(__FILE__) + '/spec_helper') require 'rubygems' require 'virtualmonkey' dep=VirtualMonkey::SimpleRunner.new(ENV['DEPLOYMENT']) s= dep.servers.first s.monitoring mon=s.get_sketchy_data({'start'=>-180,'end'=>"-20",'plugin_name'=>"df",'plugin_type'=>"df-mnt"}) data=mon['data'] free=data['free'] raise "No df free data" unless free.length > 0 raise "DF not free" unless free[0]
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
virtualmonkey-0.0.1 | spec/monitoring.rb |