I was used cbstats for collecting metrics on couchbase 4.6.3 version.
but cbstats can not use couchbase 5.0 version because error occurred.
i was use two command becuase 4.6.3 type and 5.0 type is differ.
error message is follow:
/opt/couchbase/bin/cbstats localhost:11210 -j -b <bucket_name> -p<bucket_password> all
/opt/couchbase/bin/cbstats localhost:11210 -j -b <bucket_name> -u<user_name> -p<user_password> all
Traceback (most recent call last):
File “/opt/couchbase/lib/python/cbstats”, line 762, in
main()
File “/opt/couchbase/lib/python/cbstats”, line 759, in main
c.execute()
File “/opt/couchbase/lib/python/clitool.py”, line 75, in execute
f[0](mc, *args[2:], **opts.dict)
File “/opt/couchbase/lib/python/cbstats”, line 37, in g
f(*args, **kwargs)
File “/opt/couchbase/lib/python/cli_auth_utils.py”, line 75, in g
mc.bucket_select(bucket)
File “/opt/couchbase/lib/python/mc_bin_client.py”, line 531, in bucket_select
return self._doCmd(memcacheConstants.CMD_SELECT_BUCKET, name, ‘’)
File “/opt/couchbase/lib/python/mc_bin_client.py”, line 211, in _doCmd
return self._handleSingleResponse(opaque)
File “/opt/couchbase/lib/python/mc_bin_client.py”, line 204, in _handleSingleResponse
cmd, opaque, cas, keylen, extralen, data = self._handleKeyedResponse(myopaque)
File “/opt/couchbase/lib/python/mc_bin_client.py”, line 200, in _handleKeyedResponse
raise MemcachedError(errcode, msg)
mc_bin_client.ErrorKeyEnoent: Memcached error #1: KEY_ENOENT : Not Found :
why did occur this error message? also, how do i use cbstats cli? please let me know.
i know admin access role and i use admin account for viewing cbstats.
but couchbase cli occurred Error Message.
Traceback (most recent call last):
File “/opt/couchbase/lib/python/cbstats”, line 762, in
main()
File “/opt/couchbase/lib/python/cbstats”, line 759, in main
c.execute()
File “/opt/couchbase/lib/python/clitool.py”, line 75, in execute
f[0](mc, *args[2:], **opts.dict)
File “/opt/couchbase/lib/python/cbstats”, line 37, in g
f(*args, **kwargs)
File “/opt/couchbase/lib/python/cli_auth_utils.py”, line 75, in g
mc.bucket_select(bucket)
File “/opt/couchbase/lib/python/mc_bin_client.py”, line 531, in bucket_select
return self._doCmd(memcacheConstants.CMD_SELECT_BUCKET, name, ‘’)
File “/opt/couchbase/lib/python/mc_bin_client.py”, line 211, in _doCmd
return self._handleSingleResponse(opaque)
File “/opt/couchbase/lib/python/mc_bin_client.py”, line 204, in _handleSingleResponse
cmd, opaque, cas, keylen, extralen, data = self._handleKeyedResponse(myopaque)
File “/opt/couchbase/lib/python/mc_bin_client.py”, line 200, in _handleKeyedResponse
raise MemcachedError(errcode, msg)
mc_bin_client.ErrorKeyEnoent: Memcached error #1: KEY_ENOENT : Not Found
only query node has occurred this message, data node not occurred.