I have sensu server and sensu-client Installed on one machine (centos)
and installed the the plugins through gem.
Everything was good when I run the check_ping.rb from the command line,
but When I configure the same check in /etc/sensu/conf.d/ and check in
the UI I am getting this ruby issue;
gem install sensu-plugins-network-checks
I have ruby installed of 1.9.3 version
and configured EMBEDDED_RUBY=true
when I check the UI the below is the error I am facing
/opt/sensu/embedded/lib/ruby/site_ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in
`require': cannot load such file -- net/ping (LoadError)
from
/opt/sensu/embedded/lib/ruby/site_ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in
`require'
from
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/sensu-plugins-network-checks-0.2.4/bin/check-ping.rb:31:in
`<main>'
Sensu::Plugin::CLI: ["Not implemented! You should override
Sensu::Plugin::CLI#run."]
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/e6be348d7ed9e8697da8ee3cda6b02df%40ruby-forum.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment