You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Anything under the get leaf is failing. I'm calling this via es_stats_zabbix.py
# ./zabbix_get -s localhost -k nodestats[node-1,indices.get.current]
Traceback (most recent call last):
File "/usr/bin/es_stats_zabbix", line 11, in <module>
sys.exit(main())
File "/usr/lib/python2.6/site-packages/es_stats_zabbix/es_stats_zabbix.py", line 173, in main
cli(obj={})
File "/usr/lib/python2.6/site-packages/click/core.py", line 716, in __call__
return self.main(*args, **kwargs)
File "/usr/lib/python2.6/site-packages/click/core.py", line 696, in main
rv = self.invoke(ctx)
File "/usr/lib/python2.6/site-packages/click/core.py", line 1060, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/lib/python2.6/site-packages/click/core.py", line 889, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/lib/python2.6/site-packages/click/core.py", line 534, in invoke
return callback(*args, **kwargs)
File "/usr/lib64/python2.6/contextlib.py", line 34, in __exit__
self.gen.throw(type, value, traceback)
File "/usr/lib/python2.6/site-packages/click/core.py", line 86, in augment_usage_errors
yield
File "/usr/lib/python2.6/site-packages/click/core.py", line 534, in invoke
return callback(*args, **kwargs)
File "/usr/lib/python2.6/site-packages/click/decorators.py", line 17, in new_func
return f(get_current_context(), *args, **kwargs)
File "/usr/lib/python2.6/site-packages/es_stats_zabbix/es_stats_zabbix.py", line 117, in single
result = apiobj.get(ztuple[2], name=ztuple[1])
File "/usr/lib/python2.6/site-packages/es_stats/es_stats.py", line 69, in get
return get_value(self.stats, key)
File "/usr/lib/python2.6/site-packages/es_stats/utils.py", line 23, in get_value
return eval("dotted." + notation)
File "<string>", line 1, in <module>
AttributeError: 'function' object has no attribute 'current'
Anything under the get leaf is failing. I'm calling this via es_stats_zabbix.py
Viewing the JSON through port 9200 shows that the key is there and exists in http://server:9200/_nodes/stats
Thanks.
The text was updated successfully, but these errors were encountered: