@cryptotaxi247 / netdata-1 / commits / 72e5352b5

fix invalid json returned after 'prefix': 'osd df' (#5260)

Ilya Mashchenko committed Jan 24, 2019 at 21:15 UTC 72e5352b5dbed5fd56a33af86378fc9647bce9ad
1 file changed +1 -1
collectors/python.d.plugin/ceph/ceph.chart.py
+1 -1
@@ -319,7 +319,7 @@ class Service(SimpleService):
319 return json.loads(self.cluster.mon_command(json.dumps({
320 'prefix': 'osd df',
321 'format': 'json'
322 - }), '')[1])
322 + }), '')[1].replace('-nan', '"-nan"'))
323
324 def _get_osd_perf(self):
325 """