timed out while attempting to query the sensu api for a stash

Is it normal receive everytime this message?

{“timestamp”:“2017-03-24T17:35:49.594755-0300”,“level”:“info”,“message”:“handler output”,“handler”:{“type”:“pipe”,“command”:"/opt/sensu/embedded/bin/handler-zendesk.rb",“name”:“zendesk”},“event”:{“id”:“c3c9d942-732b-4dd3-8ef3-a1e613a55f5f”},“output”:["/opt/sensu/embedded/lib/ruby/gems/2.3.0/gems/sensu-plugin-1.2.0/lib/sensu-handler.rb:134:in block in filter_silenced': Object#timeout is deprecated, use Timeout.timeout instead.\n/opt/sensu/embedded/lib/ruby/gems/2.3.0/gems/sensu-plugin-1.2.0/lib/sensu-handler.rb:134:inblock in filter_silenced’: Object#timeout is deprecated, use Timeout.timeout instead.\n/opt/sensu/embedded/lib/ruby/gems/2.3.0/gems/sensu-plugin-1.2.0/lib/sensu-handler.rb:134:in block in filter_silenced': Object#timeout is deprecated, use Timeout.timeout instead.\n/opt/sensu/embedded/lib/ruby/gems/2.3.0/gems/sensu-plugins-zendesk-0.0.3/bin/handler-zendesk.rb:72:inhandle’: Object#timeout is deprecated, use Timeout.timeout instead.\ntimed out while attempting to query the sensu api for a stash\ntimed out while attempting to query the sensu api for a stash\ntimed out while attempting to query the sensu api for a stash\n"]}

Thanks.

That warning is because the Object#timeout method was deprecated in Ruby 2.3. I just pushed a fix to sensu-plugins-zendesk and it’s in version 1.0.0 on rubygems.

···

On Fri, Mar 24, 2017 at 1:59 PM, Marcos Dutra macdutra@gmail.com wrote:

Is it normal receive everytime this message?

{“timestamp”:“2017-03-24T17:35:49.594755-0300”,“level”:“info”,“message”:“handler output”,“handler”:{“type”:“pipe”,“command”:"/opt/sensu/embedded/bin/handler-zendesk.rb",“name”:“zendesk”},“event”:{“id”:“c3c9d942-732b-4dd3-8ef3-a1e613a55f5f”},“output”:["/opt/sensu/embedded/lib/ruby/gems/2.3.0/gems/sensu-plugin-1.2.0/lib/sensu-handler.rb:134:in block in filter_silenced': Object#timeout is deprecated, use Timeout.timeout instead.\n/opt/sensu/embedded/lib/ruby/gems/2.3.0/gems/sensu-plugin-1.2.0/lib/sensu-handler.rb:134:inblock in filter_silenced’: Object#timeout is deprecated, use Timeout.timeout instead.\n/opt/sensu/embedded/lib/ruby/gems/2.3.0/gems/sensu-plugin-1.2.0/lib/sensu-handler.rb:134:in block in filter_silenced': Object#timeout is deprecated, use Timeout.timeout instead.\n/opt/sensu/embedded/lib/ruby/gems/2.3.0/gems/sensu-plugins-zendesk-0.0.3/bin/handler-zendesk.rb:72:inhandle’: Object#timeout is deprecated, use Timeout.timeout instead.\ntimed out while attempting to query the sensu api for a stash\ntimed out while attempting to query the sensu api for a stash\ntimed out while attempting to query the sensu api for a stash\n"]}

Thanks.