I translated checks from sensu-core to sensu-go, few checks are working as expected but for some checks like
- check-disk-space.json which has command “/opt/sensu/plugins/check-disk.rb -w 85 -c 95”
- disk-metrics.json which has command “/opt/sensu/plugins/metrics-disk.rb --scheme stats.sc.vagrant.bastion01.system.disk”
I am getting below errors
check-disk-space
/opt/sensu/embedded/lib/ruby/site_ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require’: cannot load such file – sys/filesystem (LoadError)
disk-metrics
/usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require’: cannot load such file – sensu-plugin/metric/cli (LoadError)
Please help me on this.