Sha256: 831810a340246bf435f261b2a9c12ae1888b2063565b6023ee2a95d5e988b7b4

Contents?: true

Size: 698 Bytes

Versions: 29

Compression:

Stored size: 698 Bytes

Contents

require 'spec_helper'

describe JRMonitor::Report::System do

  let(:report) { subject.generate }

  it 'pulls system load information' do
    expect(report).to include( "system.load_average" => a_kind_of(Float) )
  end

  it 'pulls system available processors information' do
    expect(report).to include( "system.available_processors" => a_kind_of(Fixnum) )
  end

  it 'pulls os version information' do
    expect(report).to include( "os.version" => a_kind_of(String) )
  end

  it 'pulls os arch information' do
    expect(report).to include( "os.arch" => a_kind_of(String) )
  end

  it 'pulls os name information' do
    expect(report).to include( "os.name" => a_kind_of(String) )
  end

end

Version data entries

29 entries across 28 versions & 12 rubygems

Version Path
logstash-filter-csharp-0.2.1 vendor/bundle/jruby/2.3.0/gems/jrmonitor-0.4.2/spec/lib/system_monitor_spec.rb
logstash-filter-csharp-0.2.0 vendor/bundle/jruby/2.3.0/gems/jrmonitor-0.4.2/spec/lib/system_monitor_spec.rb
mrcooper-logstash-output-azuresearch-0.2.2 vendor/jruby/2.5.0/gems/jrmonitor-0.4.2/spec/lib/system_monitor_spec.rb
logstash-output-icinga-1.1.0 vendor/jruby/1.9/gems/jrmonitor-0.4.2/spec/lib/system_monitor_spec.rb
logstash-output-icinga-1.1.0 vendor/jruby/2.3.0/gems/jrmonitor-0.4.2/spec/lib/system_monitor_spec.rb
logstash-filter-cache-redis-0.1.0 vendor/bundle/jruby/1.9/gems/jrmonitor-0.4.2/spec/lib/system_monitor_spec.rb
logstash-filter-csharp-0.1.0 vendor/bundle/jruby/2.3.0/gems/jrmonitor-0.4.2/spec/lib/system_monitor_spec.rb
logstash-filter-htmlentities-0.1.0 vendor/bundle/jruby/1.9/gems/jrmonitor-0.4.2/spec/lib/system_monitor_spec.rb
logstash-output-icinga-1.0.0 vendor/jruby/1.9/gems/jrmonitor-0.4.2/spec/lib/system_monitor_spec.rb
logstash-input-fifo-0.9.1 vendor/bundle/jruby/1.9/gems/jrmonitor-0.4.2/spec/lib/system_monitor_spec.rb
logstash-input-fifo-0.9.0 vendor/bundle/jruby/1.9/gems/jrmonitor-0.4.2/spec/lib/system_monitor_spec.rb
logstash-input-salesforce-3.0.0 vendor/jruby/1.9/gems/jrmonitor-0.4.2/spec/lib/system_monitor_spec.rb
ivanvc-logstash-input-s3-3.1.1.4 vendor/local/gems/jrmonitor-0.4.2/spec/lib/system_monitor_spec.rb
ivanvc-logstash-input-s3-3.1.1.3 vendor/local/gems/jrmonitor-0.4.2/spec/lib/system_monitor_spec.rb
ivanvc-logstash-input-s3-3.1.1.2 vendor/local/gems/jrmonitor-0.4.2/spec/lib/system_monitor_spec.rb
logstash-filter-delta-1.1.0 vendor/bundle/jruby/2.2.0/gems/jrmonitor-0.4.2/spec/lib/system_monitor_spec.rb
logstash-filter-delta-1.0.1 vendor/bundle/jruby/2.2.0/gems/jrmonitor-0.4.2/spec/lib/system_monitor_spec.rb
logstash-filter-base64-1.0.4 vendor/bundle/jruby/2.2.0/gems/jrmonitor-0.4.2/spec/lib/system_monitor_spec.rb
logstash-filter-base64-1.0.3 vendor/bundle/jruby/2.2.0/gems/jrmonitor-0.4.2/spec/lib/system_monitor_spec.rb
logstash-filter-delta-1.0.0 vendor/bundle/jruby/2.2.0/gems/jrmonitor-0.4.2/spec/lib/system_monitor_spec.rb