OpenStack Sensu Agent Parsing Error on Startup

Solution Verified - Updated -

Issue

We have configured Sensu to check for OpenStack processes using checks inside of /etc/sensu/conf.d. However after adding these checks the message listed below is now showing up in the Sensu logs:

{"timestamp":"2015-12-14T15:50:04.454605-0500","level":"warn","message":"reconnecting to transport"}
/usr/share/gems/gems/multi_json-1.10.1/lib/multi_json/adapters/json_common.rb:21:in `encode': "\xE2" from ASCII-8BIT to UTF-8 (Encoding::UndefinedConversionError)
from /usr/share/gems/gems/multi_json-1.10.1/lib/multi_json/adapters/json_common.rb:21:in `to_json'
from /usr/share/gems/gems/multi_json-1.10.1/lib/multi_json/adapters/json_common.rb:21:in `dump'
from /usr/share/gems/gems/multi_json-1.10.1/lib/multi_json/adapter.rb:24:in `dump'
from /usr/share/gems/gems/multi_json-1.10.1/lib/multi_json.rb:136:in `dump'
from /usr/share/gems/gems/sensu-logger-1.0.0/lib/sensu/logger/stream.rb:127:in `create_log_event'
from /usr/share/gems/gems/sensu-logger-1.0.0/lib/sensu/logger/stream.rb:51:in `add'
from /usr/share/gems/gems/sensu-logger-1.0.0/lib/sensu/logger/stream.rb:31:in `block (2 levels) in create_level_methods'
from /usr/share/gems/gems/sensu-0.16.0/lib/sensu/client.rb:56:in `publish_result'
from /usr/share/gems/gems/sensu-0.16.0/lib/sensu/client.rb:105:in `block in execute_check_command'
from /usr/share/gems/gems/em-worker-0.0.2/lib/em/worker.rb:21:in `call'
from /usr/share/gems/gems/em-worker-0.0.2/lib/em/worker.rb:21:in `block (2 levels) in do_task'
from /usr/share/gems/gems/eventmachine-1.0.6/lib/eventmachine.rb:960:in `call'
from /usr/share/gems/gems/eventmachine-1.0.6/lib/eventmachine.rb:960:in `run_deferred_callbacks'
from /usr/share/gems/gems/eventmachine-1.0.6/lib/eventmachine.rb:187:in `run_machine'
from /usr/share/gems/gems/eventmachine-1.0.6/lib/eventmachine.rb:187:in `run'
from /usr/share/gems/gems/sensu-0.16.0/lib/sensu/client.rb:12:in `run'
from /usr/share/gems/gems/sensu-0.16.0/bin/sensu-client:10:in `<top (required)>'
from /usr/bin/sensu-client:23:in `load'
from /usr/bin/sensu-client:23:in `<main>'

Environment

Red Hat Enterprise Linux OpenStack (RHEL-OSP7) 7.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content