-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Checks Intermintent fail #33
Comments
I recall having the same issue a while back, but this is pre 1.0. I'm going to add the whole lot of Windows checks in my env and see what results I get, to see if this is still an issue. @alexwbaule are you still hitting these issues? Additionally, are you running the checks by explicitly specifying |
Hi @absolutejam , Im using the full path, but i call de .bat file. Not the Ruby. |
@absolutejam We have just started using this module and I am also seeing the issue in the latest version of the module, happening randomly, we are using the ruby full path, I am seeing this fail on processor queue, cpu usage and ram usage checks |
We have actually found out that ours appears to be tied to the same time the sensu agent restarts, which is caused by us putting a custom json file in sensu, which seems to be hitting a purge but see sensu/sensu-puppet#879, it has been fine now that the service doesn't restart. |
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:inrun'", "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.
The text was updated successfully, but these errors were encountered: