Project

General

Profile

Bug #21518

mgr[zabbix] float division by zero

Added by Ilja Slepnev 3 months ago. Updated about 1 month ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
ceph-mgr
Target version:
-
Start date:
09/22/2017
Due date:
% Done:

0%

Source:
Community (user)
Tags:
Backport:
luminous
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Release:
luminous
Needs Doc:
No

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


Related issues

Copied to mgr - Backport #21648: luminous: mgr[zabbix] float division by zero Resolved

History

#1 Updated by Ilja Slepnev 3 months 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.

#2 Updated by John Spray 3 months ago

  • Status changed from New to Need 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

#3 Updated by Sage Weil 3 months ago

  • Status changed from Need Review to Pending Backport

#4 Updated by Nathan Cutler 2 months ago

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

#5 Updated by Kefu Chai about 1 month ago

  • Status changed from Pending Backport to Resolved

Also available in: Atom PDF