[root@monitor-001 yum.repos.d]#
/usr/lib64/nagios/plugins/gluster/discovery.py -c ssd -H
stor1
Traceback (most recent call last):
File "/usr/lib64/nagios/plugins/gluster/discovery.py",
line 510, in <module>
clusterdata = discoverCluster(args.hostip,
args.cluster, args.timeout)
File "/usr/lib64/nagios/plugins/gluster/discovery.py",
line 88, in discoverCluster
componentlist = discoverVolumes(hostip, timeout)
File "/usr/lib64/nagios/plugins/gluster/discovery.py",
line 56, in discoverVolumes
timeout=timeout)
File
"/usr/lib64/nagios/plugins/gluster/server_utils.py", line
107, in execNRPECommand
resultDict = json.loads(outputStr)
File "/usr/lib64/python2.6/json/__init__.py", line 307,
in loads
return _default_decoder.decode(s)
File "/usr/lib64/python2.6/json/decoder.py", line 319,
in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib64/python2.6/json/decoder.py", line 336,
in raw_decode
obj, end = self._scanner.iterscan(s, **kw).next()
File "/usr/lib64/python2.6/json/scanner.py", line 55,
in iterscan
rval, next_pos = action(m, context)
File "/usr/lib64/python2.6/json/decoder.py", line 183,
in JSONObject
value, end = iterscan(s, idx=end,
context=context).next()
File "/usr/lib64/python2.6/json/scanner.py", line 55,
in iterscan
rval, next_pos = action(m, context)
File "/usr/lib64/python2.6/json/decoder.py", line 183,
in JSONObject
value, end = iterscan(s, idx=end,
context=context).next()
File "/usr/lib64/python2.6/json/scanner.py", line 55,
in iterscan
rval, next_pos = action(m, context)
File "/usr/lib64/python2.6/json/decoder.py", line 217,
in JSONArray
value, end = iterscan(s, idx=end,
context=context).next()
File "/usr/lib64/python2.6/json/scanner.py", line 55,
in iterscan
rval, next_pos = action(m, context)
File "/usr/lib64/python2.6/json/decoder.py", line 183,
in JSONObject
value, end = iterscan(s, idx=end,
context=context).next()
File "/usr/lib64/python2.6/json/scanner.py", line 55,
in iterscan
rval, next_pos = action(m, context)
File "/usr/lib64/python2.6/json/decoder.py", line 155,
in JSONString
return scanstring(match.string, match.end(),
encoding, strict)
ValueError: ('Invalid control character at: line 1 column
1023 (char 1023)', '{"ssd": {"name": "ssd", "disperseCount":
"0", "bricks": [{"brickpath": "/bricks/b/vol1",
"brickaddress": "stor1", "hostUuid":
"5fcb5150-f0a5-4af8-b383-11fa5d3f82f0"}, {"brickpath":
"/bricks/b/vol1", "brickaddress": "stor2", "hostUuid":
"b78d42c1-6ad7-4044-b900-3ccfe915859f"}, {"brickpath":
"/bricks/b/vol1", "brickaddress": "stor3", "hostUuid":
"40500a9d-418d-4cc0-aec5-6efbfb3c24e5"}, {"brickpath":
"/bricks/b/vol1", "brickaddress": "stor4", "hostUuid":
"5886ef94-df5e-4845-a54c-0e01546d66ea"}, {"brickpath":
"/bricks/c/vol1", "brickaddress": "stor1", "hostUuid":
"5fcb5150-f0a5-4af8-b383-11fa5d3f82f0"}, {"brickpath":
"/bricks/c/vol1", "brickaddress": "stor2", "hostUuid":
"b78d42c1-6ad7-4044-b900-3ccfe915859f"}, {"brickpath":
"/bricks/c/vol1", "brickaddress": "stor3", "hostUuid":
"40500a9d-418d-4cc0-aec5-6efbfb3c24e5"}, {"brickpath":
"/bricks/c/vol1", "brickaddress": "stor4", "hostUuid":
"5886ef94-df5e-4845-a54c-0e01546d66ea"}, {"brickpath":
"/bricks/d/vol1", "brickaddress": "stor1", "hostUuid":
"5fcb5150-f0a5-4a\n')
[root@monitor-001 yum.repos.d]#
Please help me to solve this issue...