Skip to content
New issue

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

ceph: failed to get stats :: float division by zero for ceph OSD percentage used metrics #54

Open
vishalbhosale04 opened this issue May 2, 2019 · 0 comments

Comments

@vishalbhosale04
Copy link

ceph: failed to get stats :: float division by zero :: Traceback (most recent call last):#12 File "/usr/lib/collectd/plugins/ceph/base.py", line 125, in read_callback#012 stats = self.get_stats(config)#12 File "/usr/lib/collectd/plugins/ceph/ceph_pg_plugin.py", line 73, in get_stats#012 data[ceph_cluster][osd_id]['percent_used'] = 100.0 * (osd['kb_used'] / float(osd['kb']))#012ZeroDivisionError: float division by zero

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant