Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

memcache plugin is borken with syntax error #152

Closed
mancdaz opened this issue Jan 30, 2015 · 1 comment
Closed

memcache plugin is borken with syntax error #152

mancdaz opened this issue Jan 30, 2015 · 1 comment
Assignees

Comments

@mancdaz
Copy link
Contributor

mancdaz commented Jan 30, 2015

This is neither a list nor a dictionary:

MEMCACHE_METRICS = {'total_items': 'items',
        'get_hits': 'cache_hits',
        'get_misses': 'cache_misses',
        'total_connections': 'connections']
@mattt416
Copy link
Contributor

Still seeing this:

root@jenkins-151-node1:/usr/lib/rackspace-monitoring-agent/plugins# python memcached_status.py 172.29.236.133
status okay
metric memcache_api_local_status uint32 1
Traceback (most recent call last):
  File "memcached_status.py", line 77, in <module>
    main(args)
  File "memcached_status.py", line 68, in main
    metric('memcache_%s' % metric, 'uint64', stats[metric], unit)
TypeError: 'str' object is not callable
root@jenkins-151-node1:/usr/lib/rackspace-monitoring-agent/plugins#

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants