I'm guessing this is not expected behavior

$ ceph zabbix send
Error EINVAL: Traceback (most recent call last):
  File "/usr/lib64/ceph/mgr/zabbix/module.py", line 234, in handle_command
    self.send()
  File "/usr/lib64/ceph/mgr/zabbix/module.py", line 206, in send
    data = self.get_data()
  File "/usr/lib64/ceph/mgr/zabbix/module.py", line 174, in get_data
    osd_fill.append((float(osd['kb_used']) / float(osd['kb'])) * 100)
ZeroDivisionError: float division by zero


$rpm -qa |grep ceph
ceph-mon-12.2.1-0.el7.x86_64
ceph-12.2.1-0.el7.x86_64
libcephfs2-12.2.1-0.el7.x86_64
python-cephfs-12.2.1-0.el7.x86_64
ceph-base-12.2.1-0.el7.x86_64
ceph-common-12.2.1-0.el7.x86_64
ceph-osd-12.2.1-0.el7.x86_64
ceph-radosgw-12.2.1-0.el7.x86_64
ceph-deploy-1.5.39-0.noarch
ceph-selinux-12.2.1-0.el7.x86_64
ceph-mgr-12.2.1-0.el7.x86_64
ceph-release-1-1.el7.noarch
ceph-mds-12.2.1-0.el7.x86_64
_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to