Hi,

FYI:

In case someone is wondering why Sensu Server (would also affect the client most likely) doesn't run out of box on SmartOS (as of 06/11/2016) here's some background information and how I got it running.

Sensu Server was dying upon start with following error:

/opt/local/lib/ruby/gems/2.1.0/gems/eventmachine-1.2.0.1/lib/em/connection.rb:677:in `pending_connect_timeout=': undefined method `set_pending_connect_timeout' for EventMachine:Module (NoMethodError)

According to cwj @ #sensu on Freenode:
"I think the underlying issue is that we're packaging a modified version of eventmachine from a fork while we wait for changes to be integrated upstream, gem built from branch feature/pure_ruby_tls from https://github.com/portertech/eventmachine.git will get you past that error"

So I did that and # svcadm enable sensu-server worked like it should.

# gem uninstall eventmachine
# gem install rake-compiler
# git clone https://github.com/portertech/eventmachine.git
# cd eventmachine
# git pull origin feature/pure_ruby_tls
# gem build eventmachine.gemspec
# rake eventmachine-1.2.0.1.gem
# gem install eventmachine-1.2.0.1.gem

--
-Jussi Sallinen
 +358 40 700 7600
 [email protected]
 http://jus.si/
 http://jus.si/linkedin


-------------------------------------------
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb
Powered by Listbox: http://www.listbox.com

Reply via email to