Comments (7)
Can you please paste the redis portion of your config?
from newrelic-plugin-agent.
+1
note that we're using requirepass with redis
redis:
- name: localhost
host: localhost
port: 6379
db_count: 16
from newrelic-plugin-agent.
@msaffitz you're getting the same exception? The exception is telling me that the config is a string and not a dict which is pretty odd, it shouldn't be getting into this state. requirepass support is not in there but should be a quick iteration to add.
from newrelic-plugin-agent.
No, sorry-- now that I look closely at it, the exception is slightly different:
[ec2-user@redis ~]$ sudo newrelic_plugin_agent -fc /etc/newrelic_plugin_agent.yml
INFO 2013-06-19 16:47:53 16009 MainProcess MainThread clihelper run L382 : newrelic_plugin_agent 1.0.10 started
INFO 2013-06-19 16:47:53 16009 MainProcess MainThread newrelic_plugin_agent.agent process L91 : Polling
INFO 2013-06-19 16:47:53 16009 MainProcess MainThread newrelic_plugin_agent.plugins.redis poll L206 : Polling Memcached
Exception: AttributeError("'NoneType' object has no attribute 'get'",)
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/clihelper/__init__.py", line 742, in run
process.run()
File "/usr/lib/python2.6/site-packages/clihelper/__init__.py", line 384, in run
self.process()
File "/usr/lib/python2.6/site-packages/newrelic_plugin_agent/agent.py", line 93, in process
self.start_plugin_polling()
File "/usr/lib/python2.6/site-packages/newrelic_plugin_agent/agent.py", line 255, in start_plugin_polling
self.application_config.get(plugin))
File "/usr/lib/python2.6/site-packages/newrelic_plugin_agent/agent.py", line 82, in poll_plugin
thread.run()
File "/usr/lib64/python2.6/threading.py", line 484, in run
self.__target(*self.__args, **self.__kwargs)
File "/usr/lib/python2.6/site-packages/newrelic_plugin_agent/agent.py", line 274, in thread_process
obj.poll()
File "/usr/lib/python2.6/site-packages/newrelic_plugin_agent/plugins/redis.py", line 220, in poll
self.add_datapoints(server, self.fetch_data(connection))
File "/usr/lib/python2.6/site-packages/newrelic_plugin_agent/plugins/redis.py", line 30, in add_datapoints
stats.get('blocked_clients', 0))
AttributeError: 'NoneType' object has no attribute 'get'
from newrelic-plugin-agent.
@msaffitz Ah yeah so it wasn't able to poll stats due to the password issue. Tracking as issue #13
from newrelic-plugin-agent.
Looks like my issue was user error.
I re-enabled redis in the config and is reporting data now.
from newrelic-plugin-agent.
@a13x212 thanks for letting me know.
@msaffitz I just pushed a change that enables auth for redis. Will have 1.0.10 out today supporting it.
from newrelic-plugin-agent.
Related Issues (20)
- Unble to featch the data from bluemix instance
- Bad link on pypi page
- Request : Reconnect upon "connection reset by peer" condition
- mongodb database roles for newrelic user to monitor database
- force https for rabbitmq HOT 1
- newrelic and redis are running on server and generating logs but on newrelic console am not able to see the hostname under redis plugin
- Support pgbouncer over 1.8.0
- newrelic-plugin-agent issue on linux server
- L235 ConnectTimeoutError
- Enable 'php_apc' crashed newrelic_plugin_agent HOT 1
- New relic Plugin Agent Not starting
- Meetme Plugin Error - No metrics to send to NewRelic this interval HOT 2
- plugin does not seem to work with couch 2 stats format
- Startup fails with "AttributeError: 'tuple' object has no attribute 'major'"
- ImportError: No module named 'Queue' HOT 1
- not authorized on db to execute command { serverStatus: 1 }, but my user is full admin
- Not receiving data?
- Newrelic PostgreSQL Plugin agent failing HOT 2
- AttributeError: 'module' object has no attribute 'Controller' HOT 2
- Proposing a PR to fix a few small typos
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from newrelic-plugin-agent.