MeetMe / newrelic-plugin-agent

Multi-Plugin python-based Agent for NewRelic's Platform
BSD 3-Clause "New" or "Revised" License
425 stars 265 forks source link

Cannot run plugin #345

Open Lexipol opened 10 years ago

Lexipol commented 10 years ago

When attempting to run:

newrelic-plugin-agent -c /etc/newrelic/newrelic-plugin-agent.cfg -f

I get the following error:

INFO 2014-09-25 07:46:59,324 22195 MainProcess MainThread newrelic_plugin_agent.agent init L55 : Agent v1.3.0 initialized, Linux-3.10.0-123.el7.x86_64-x86_64-with-glibc2.2.5 (CentOS Linux 7.0.1406 Core) CPython v2.7.5 INFO 2014-09-25 07:46:59,324 22195 MainProcess MainThread helper.controller run L251 : newrelic-plugin-agent v2.4.1 started INFO 2014-09-25 07:46:59,324 22195 MainProcess MainThread newrelic_plugin_agent.agent start_plugin_polling L263 : Enabling plugin: redis INFO 2014-09-25 07:46:59,327 22195 MainProcess MainThread newrelic_plugin_agent.plugins.base poll L277 : Polling Redis Traceback (most recent call last): File "/usr/bin/newrelic-plugin-agent", line 9, in load_entry_point('newrelic-plugin-agent==1.3.0', 'console_scripts', 'newrelic-plugin-agent')() File "/usr/lib/python2.7/site-packages/newrelic_plugin_agent/agent.py", line 337, in main helper.start(NewRelicPluginAgent) File "/usr/lib/python2.7/site-packages/helper/init.py", line 174, in start obj.start() File "/usr/lib/python2.7/site-packages/helper/controller.py", line 266, in start self.run() File "/usr/lib/python2.7/site-packages/helper/controller.py", line 253, in run self.process() File "/usr/lib/python2.7/site-packages/newrelic_plugin_agent/agent.py", line 118, in process self.start_plugin_polling() File "/usr/lib/python2.7/site-packages/newrelic_plugin_agent/agent.py", line 280, in start_plugin_polling self.config.application.get(plugin)) File "/usr/lib/python2.7/site-packages/newrelic_plugin_agent/agent.py", line 108, in poll_plugin thread.run() File "/usr/lib64/python2.7/threading.py", line 764, in run self.target(_self.__args, *_self.kwargs) File "/usr/lib/python2.7/site-packages/newrelic_plugin_agent/agent.py", line 308, in thread_process obj.poll() File "/usr/lib/python2.7/site-packages/newrelic_plugin_agent/plugins/base.py", line 287, in poll data = self.fetch_data(connection) File "/usr/lib/python2.7/site-packages/newrelic_plugin_agent/plugins/redis.py", line 148, in fetch_data key, value = line.strip().split(':') ValueError: too many values to unpack

Any ideas?

Thanks!!

Lexipol commented 10 years ago

I have ensured the YAML is valid at http://yamllint.com/