Project

General

Profile

Actions

Bug #21518

closed

mgr[zabbix] float division by zero

Added by Ilja Slepnev over 6 years ago. Updated over 6 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
ceph-mgr
Target version:
-
% Done:

0%

Source:
Community (user)
Tags:
Backport:
luminous
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Enabled Zabbix module, configured as described on http://docs.ceph.com/docs/master/mgr/zabbix/, but no data is received.
float division by zero is logged in ceph-mgr.log

ceph-mgr.log


Related issues 2 (0 open2 closed)

Has duplicate mgr - Bug #23135: mgr zabbix module don't work with osds lostDuplicate02/26/2018

Actions
Copied to mgr - Backport #21648: luminous: mgr[zabbix] float division by zeroResolvedShinobu KinjoActions
Actions #1

Updated by Ilja Slepnev over 6 years ago

After upgrading all OSDs to bluestore, the issue resolved.

One of OSD had filestore format while others had bluestore. This may be related to the issue.
No more "division by zero" message and data is actually sent by zabbix_sender, verified by using tcpdump.

ceph-mgr.log

Actions #2

Updated by John Spray over 6 years ago

  • Status changed from New to Fix Under Review
  • Backport set to luminous

By inspection, I'm assuming this was happening in the avg() function due to lack of data (why there was no data is a separate mystery...)

https://github.com/ceph/ceph/pull/17931

Actions #3

Updated by Sage Weil over 6 years ago

  • Status changed from Fix Under Review to Pending Backport
Actions #4

Updated by Nathan Cutler over 6 years ago

  • Copied to Backport #21648: luminous: mgr[zabbix] float division by zero added
Actions #5

Updated by Kefu Chai over 6 years ago

  • Status changed from Pending Backport to Resolved
Actions #6

Updated by John Spray about 6 years ago

  • Has duplicate Bug #23135: mgr zabbix module don't work with osds lost added
Actions

Also available in: Atom PDF