Actions
Bug #23135
closedmgr zabbix module don't work with osds lost
Status:
Duplicate
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:
0%
Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
We lost one of cluster nodes and mgr stopped to send zabbix metrics.
root@ceph-mgr:~# ceph zabbix send
Error EINVAL: Traceback (most recent call last):
File "/usr/lib/ceph/mgr/zabbix/module.py", line 234, in handle_command
self.send()
File "/usr/lib/ceph/mgr/zabbix/module.py", line 206, in send
data = self.get_data()
File "/usr/lib/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
Ceph version: 12.2.1-1xenial
Updated by John Spray about 6 years ago
- Is duplicate of Bug #21518: mgr[zabbix] float division by zero added
Actions