We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
gstatus --version gstatus 1.0.4 gstatus output result - correct. When run gstatus_discovery.py - JSONDecodeError. ./gstatus_discovery.py Traceback (most recent call last): File "./gstatus_discovery.py", line 9, in gluster_info = json.loads(json_part) File "/usr/lib64/python3.6/json/init.py", line 354, in loads return _default_decoder.decode(s) File "/usr/lib64/python3.6/json/decoder.py", line 342, in decode raise JSONDecodeError("Extra data", s, end) json.decoder.JSONDecodeError: Extra data: line 1 column 2 (char 1)
The text was updated successfully, but these errors were encountered:
gstatus from 1.0.x changed somewhat since previous releases. it's now based on pyhton3 et output format is different as far as I remember.
Sorry, something went wrong.
Any fix for this? https://stackoverflow.com/questions/48140858/json-decoder-jsondecodeerror-extra-data-line-2-column-1-char-190 sounds explanatory, however i am no python men, so can't fix it myself.
looks like https://github.com/fabricat/zabbix-glusterfs fixed it on his fork
He also https://github.com/mofm/zabbix-glusterfs
No branches or pull requests
gstatus --version
gstatus 1.0.4
gstatus output result - correct.
When run gstatus_discovery.py - JSONDecodeError.
./gstatus_discovery.py
Traceback (most recent call last):
File "./gstatus_discovery.py", line 9, in
gluster_info = json.loads(json_part)
File "/usr/lib64/python3.6/json/init.py", line 354, in loads
return _default_decoder.decode(s)
File "/usr/lib64/python3.6/json/decoder.py", line 342, in decode
raise JSONDecodeError("Extra data", s, end)
json.decoder.JSONDecodeError: Extra data: line 1 column 2 (char 1)
The text was updated successfully, but these errors were encountered: