Open crscybr opened 6 years ago
See https://github.com/sensu-plugins/sensu-plugins-raid-checks/pull/18 for a similar issue.
The latest updates to sensu-plugins-process-checks breaks in ruby versions 2.3 supplied by sensu-0.26.5-2.x86_64
/opt/sensu/embedded/bin/ruby -v ruby 2.3.0p0 (2015-12-25 revision 53290) [x86_64-linux]
/opt/sensu/embedded/bin/check-process.rb -p init Check failed to run: undefined method `zero?' for #<Process::Status: pid 29557 exit 1>, ["/opt/sensu/embedded/lib/ruby/gems/2.3.0/gems/sensu-plugins-process-checks-3.0.0/bin/check-process.rb:211:in `on_cygwin?'", "/opt/sensu/embedded/lib/ruby/gems/2.3.0/gems/sensu-plugins-process-checks-3.0.0/bin/check-process.rb:217:in `acquire_procs'", "/opt/sensu/embedded/lib/ruby/gems/2.3.0/gems/sensu-plugins-process-checks-3.0.0/bin/check-process.rb:252:in `run'", "/opt/sensu/embedded/lib/ruby/gems/2.3.0/gems/sensu-plugin-1.4.2/lib/sensu-plugin/cli.rb:58:in `block in <class:CLI>'"]
See https://github.com/sensu-plugins/sensu-plugins-raid-checks/pull/18 for a similar issue.
The latest updates to sensu-plugins-process-checks breaks in ruby versions 2.3 supplied by sensu-0.26.5-2.x86_64
/opt/sensu/embedded/bin/ruby -v ruby 2.3.0p0 (2015-12-25 revision 53290) [x86_64-linux]