ceph-mgr bug - zabbix module division by zero

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 = "">
  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@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux