Project

General

Profile

Bug #48856

Ceph Zabbix module sending negative OSD numbers

Added by Robert Groenewald about 3 years ago. Updated over 2 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
zabbix module
Target version:
-
% Done:

0%

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

Description

Just noticed that the module is sending negative values

Examples :

ceph.[osd.-3,osd_latency_apply]
ceph.[osd.-13,num_pgs]
ceph.[osd.-11,up]
ceph.[osd.-3,osd_fill]

And there also seems to be only a fraction of the OSD's that are actually in our cluster ( 9 out of 144 )

Screen Shot 2021-10-27 at 10.48.52 AM.png View (165 KB) Jared Baker, 10/27/2021 02:50 PM

History

#1 Updated by Jared Baker over 2 years ago

Ubuntu 18.04
Ceph 15.2.14
Zabbix 5.0

I have the same issue with negative OSD's and an incomplete list of OSD's. I have 1404 OSD's and maybe a random amount between 11 and 95 negative OSD's are actually discovered in zabbix. Screenshot attached

#2 Updated by Jared Baker over 2 years ago

It looks like the negative numbers correspond to the negative numbers that are part of my crush map so I assume there's a parsing problem of the crush map.

ceph osd tree | grep "-"
ID CLASS WEIGHT TYPE NAME STATUS REWEIGHT PRI-AFF
-1 9280.76465 root default
-84 0 rack 1
-5 1563.83740 rack rack1
-83 388.79956 host storage1-r1
-91 388.79956 host storage2-r1
-95 131.03998 host storage3-r1
-9 131.03998 host storage4-r1
-10 131.03998 host storage5-r1
-24 196.55914 host storage6-r1
-25 196.55914 host storage7-r1
-7 1563.83899 rack rack2
-87 388.79956 host storage1-r2
-93 388.79956 host storage2-r2
-11 131.03998 host storage3-r2
-12 131.03998 host storage4-r2
-13 131.03998 host storage5-r2
-16 131.03998 host storage6-r2
-14 131.03998 host storage7-r2
-15 131.03998 host storage8-r2
-17 1566.33447 rack rack3
-18 194.73917 host storage1-r3
-19 196.55914 host storage2-r3
-20 196.55914 host storage3-r3
-21 196.55914 host storage4-r3
-22 196.55914 host storage5-r3
-23 196.55914 host storage6-r3
-89 388.79956 host storage7-r3
-27 1443.23767 rack rack4
-26 262.79956 host storage1-r4
-28 262.79956 host storage2-r4
-29 262.79956 host storage3-r4
-40 327.41949 host storage4-r4
-41 327.41949 host storage5-r4
-36 1571.75793 rack rack5
-35 327.41949 host storage1-r5
-37 327.41949 host storage2-r5
-38 327.41949 host storage3-r5
-39 327.41949 host storage4-r5
-4 131.03998 host storage5-r5
-3 131.03998 host storage6-r5
-31 1571.75793 rack rack6
-30 327.41949 host storage1-r6
-32 327.41949 host storage2-r6
-33 327.41949 host storage3-r6
-34 327.41949 host storage4-r6
-8 131.03998 host storage5-r6
-43 131.03998 host storage6-r6

Also available in: Atom PDF