sonian/sensu — Issue #234: Sensu-client exits when subscription is [""]
Author: smaftoul
Created: 2012-02-29 15:47:23+00:00
State: open

Snippet of config.json:

"client": {
"address": "hostname",
"name": "hostname",
"subscriptions": [""]
}

Error on client side:
/usr/lib/ruby/gems/1.8/gems/amqp-0.7.4/lib/amqp/channel.rb:833:in `send': The channel 1 was closed, you can't use it anymore! (AMQP::ChannelClosedError)
from /usr/lib/ruby/gems/1.8/gems/amqp-0.7.4/lib/amqp/channel.rb:826:in `each'
from /usr/lib/ruby/gems/1.8/gems/amqp-0.7.4/lib/amqp/channel.rb:826:in `send'
from /usr/lib/ruby/gems/1.8/gems/amqp-0.7.4/lib/amqp/channel.rb:825:in `synchronize'
from /usr/lib/ruby/gems/1.8/gems/amqp-0.7.4/lib/amqp/channel.rb:825:in `send'
from /usr/lib/ruby/gems/1.8/gems/eventmachine-1.0.0.beta.4/lib/em/deferrable.rb:48:in `call'
from /usr/lib/ruby/gems/1.8/gems/eventmachine-1.0.0.beta.4/lib/em/deferrable.rb:48:in `callback'
from /usr/lib/ruby/gems/1.8/gems/amqp-0.7.4/lib/amqp/channel.rb:824:in `send'
from /usr/lib/ruby/gems/1.8/gems/amqp-0.7.4/lib/amqp/exchange.rb:327:in `publish'
from /usr/lib/ruby/gems/1.8/gems/eventmachine-1.0.0.beta.4/lib/em/deferrable.rb:48:in `call'
from /usr/lib/ruby/gems/1.8/gems/eventmachine-1.0.0.beta.4/lib/em/deferrable.rb:48:in `callback'
from /usr/lib/ruby/gems/1.8/gems/amqp-0.7.4/lib/amqp/exchange.rb:312:in `publish'
from /usr/lib/ruby/gems/1.8/gems/amqp-0.7.4/lib/amqp/queue.rb:388:in `publish'
from /usr/lib/ruby/gems/1.8/gems/sensu-0.9.4/lib/sensu/client.rb:47:in `publish_keepalive'
from /usr/lib/ruby/gems/1.8/gems/sensu-0.9.4/lib/sensu/client.rb:54:in `setup_keepalives'
from /usr/lib/ruby/gems/1.8/gems/eventmachine-1.0.0.beta.4/lib/em/timers.rb:56:in `call'
from /usr/lib/ruby/gems/1.8/gems/eventmachine-1.0.0.beta.4/lib/em/timers.rb:56:in `fire'
from /usr/lib/ruby/gems/1.8/gems/eventmachine-1.0.0.beta.4/lib/eventmachine.rb:179:in `call'
from /usr/lib/ruby/gems/1.8/gems/eventmachine-1.0.0.beta.4/lib/eventmachine.rb:179:in `run_machine'
from /usr/lib/ruby/gems/1.8/gems/eventmachine-1.0.0.beta.4/lib/eventmachine.rb:179:in `run'
from /usr/lib/ruby/gems/1.8/gems/sensu-0.9.4/lib/sensu/client.rb:14:in `run'
from /usr/lib/ruby/gems/1.8/gems/sensu-0.9.4/bin/sensu-client:7
from /usr/bin/sensu-client:19:in `load'
from /usr/bin/sensu-client:19