]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/zabbix: drop "total_objects" field 26052/head
authorKefu Chai <kchai@redhat.com>
Mon, 21 Jan 2019 10:38:24 +0000 (18:38 +0800)
committerKefu Chai <kchai@redhat.com>
Mon, 21 Jan 2019 10:38:25 +0000 (18:38 +0800)
This field was removed from df output a while back in
342f309

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/pybind/mgr/zabbix/module.py

index cd670b9166fea986802851f0cecaa1ef7c3e6b17..6b428dc0acca57016f2b06b51ac1aea22ab0b241 100644 (file)
@@ -171,7 +171,6 @@ class Module(MgrModule):
 
         df = self.get('df')
         data['num_pools'] = len(df['pools'])
-        data['total_objects'] = df['stats']['total_objects']
         data['total_used_bytes'] = df['stats']['total_used_bytes']
         data['total_bytes'] = df['stats']['total_bytes']
         data['total_avail_bytes'] = df['stats']['total_avail_bytes']