sensu-plugins-windows icon indicating copy to clipboard operation
sensu-plugins-windows copied to clipboard

Checks Intermintent fail

Open alexwbaule opened this issue 8 years ago • 4 comments

Hi Guys,

Im using All checks, and sometimes i got this error in the execution.

Output: Check failed to run: undefined method split' for nil:NilClass, ["C:/opt/sensu/embedded/lib/ruby/gems/2.3.0/gems/sensu-plugins-windows-0.0.10/bin/check-windows-ram.rb:50:in acquire_ram_usage'", "C:/opt/sensu/embedded/lib/ruby/gems/2.3.0/gems/sensu-plugins-windows-0.0.10/bin/check-windows-ram.rb:57:in run'", "C:/opt/sensu/embedded/lib/ruby/gems/2.3.0/gems/sensu-plugin-1.4.4/lib/sensu-plugin/cli.rb:58:in block in class:CLI'"]

Sometimes is check-windows-ram, sometimes is the check-windows-process

C:/opt/sensu/embedded/lib/ruby/site_ruby/2.3.0/rubygems/core_ext/kernel_require.rb:120:in new': fail: OLE initialize (RuntimeError) HRESULT error code:0x80070583 Class does not exist. from C:/opt/sensu/embedded/lib/ruby/site_ruby/2.3.0/rubygems/core_ext/kernel_require.rb:120:in require' from C:/opt/sensu/embedded/lib/ruby/site_ruby/2.3.0/rubygems/core_ext/kernel_require.rb:120:in require' from C:/opt/sensu/embedded/lib/ruby/gems/2.3.0/gems/sensu-plugins-windows-0.0.10/bin/check-windows-process.rb:30:in <top (required)>' from C:/opt/sensu/embedded/bin/check-windows-process.rb:22:in load' from C:/opt/sensu/embedded/bin/check-windows-process.rb:22:in

'

The error appears, and 2 or 3 checks later back to normal.

alexwbaule avatar Feb 22 '17 12:02 alexwbaule