Project

General

Profile

Actions

Bug #23135

closed

mgr zabbix module don't work with osds lost

Added by Oleg Morozov about 6 years ago. Updated about 6 years ago.

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


Related issues 1 (0 open1 closed)

Is duplicate of mgr - Bug #21518: mgr[zabbix] float division by zeroResolved09/22/2017

Actions
Actions #1

Updated by Greg Farnum about 6 years ago

  • Project changed from Ceph to mgr
Actions #2

Updated by John Spray about 6 years ago

  • Is duplicate of Bug #21518: mgr[zabbix] float division by zero added
Actions #3

Updated by John Spray about 6 years ago

  • Status changed from New to Duplicate
Actions

Also available in: Atom PDF