Hey Im Getting This Error for some checks.
I read in some websites that the solution is to install mysql2 gem but still didnt helped me.
/opt/sensu/embedded/lib/ruby/site_ruby/2.4.0/rubygems/core_ext/kernel_require.rb:54:in require': cannot load such file -- mysql (LoadError)
from /opt/sensu/embedded/lib/ruby/site_ruby/2.4.0/rubygems/core_ext/kernel_require.rb:54:in require' from /opt/sensu/embedded/lib/ruby/gems/2.4.0/gems/sensu-plugins-mysql-3.1.1/bin/check-mysql-replication-status.rb:33:in '
from /opt/sensu/embedded/bin/check-mysql-replication-status.rb:23:in load' from /opt/sensu/embedded/bin/check-mysql-replication-status.rb:23:in '`
Need to change - "Require 'mysql'" to "Require 'mysql2'" in ruby scripts