I am getting error cannot load such file -- sensu-plugin/check/cli (LoadError)

/var/cache/sensu/sensu-agent/15af3667dce6f4f973b9b1818066a60d2542a22f9fd84dac017b7ae6597f1565ad7c8b9bf988eb7457ec42b69eabd347a90a0fc2d79910217bebd94b834312f2/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in require': cannot load such file -- sensu-plugin/check/cli (LoadError) from /var/cache/sensu/sensu-agent/15af3667dce6f4f973b9b1818066a60d2542a22f9fd84dac017b7ae6597f1565ad7c8b9bf988eb7457ec42b69eabd347a90a0fc2d79910217bebd94b834312f2/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in require’
from /var/cache/sensu/sensu-agent/1d05b428bb8f7c437a7b14f68c64a73371e22b1ceae5ab49bd50e59990c0e525a5211f3ea7edd7982fa38241a5a75ebe5fed5c7a48723d1634f068713a1cb164/bin/emr-cluster.rb:29:in `’

I have override the bonsai sensu-plugins/sensu-plugins-aws and upload the plugin on aws s3 bucket.
Here is the link for overirided plugins…
https://github.sec.samsung.net/abhijeet-raj/sensu-plugins-aws

CAN anyone help…i am stuck in this for almost 1-2 week.

My first guess is that you are trying to use an asset binary build that doesn’t match your linux distribution.

To be sure, we’d have to examine the runtime asset definitions for the runtime assets being used in the check you are running and the entity information to see how the asset build filters match up with your agent entity system information.

I recognize 15af3667dce6f4f973b9b1818066a60d2542a22f9fd84dac017b7ae6597f1565ad7c8b9bf988eb7457ec42b69eabd347a90a0fc2d79910217bebd94b834312f2 as the sha512sum for the lastest ruby-runtime asset build for alpine linux.

I do not recognize 1d05b428bb8f7c437a7b14f68c64a73371e22b1ceae5ab49bd50e59990c0e525a5211f3ea7edd7982fa38241a5a75ebe5fed5c7a48723d1634f068713a1cb164 as being related to the latest available build of sensu-plugins-aws asset for alpine.