From 0ec7bc491d1d53fb14c741fe63971c6e7a82660a Mon Sep 17 00:00:00 2001 From: Wido den Hollander Date: Fri, 10 May 2019 10:50:40 +0200 Subject: [PATCH] mgr/zabbix: Fix typo in key name for PGs in backfill_wait state Fixes: http://tracker.ceph.com/issues/39666 Signed-off-by: Wido den Hollander --- PendingReleaseNotes | 6 ++++++ src/pybind/mgr/zabbix/module.py | 2 +- src/pybind/mgr/zabbix/zabbix_template.xml | 6 +++--- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/PendingReleaseNotes b/PendingReleaseNotes index 9ff276873263..6941d48843b4 100644 --- a/PendingReleaseNotes +++ b/PendingReleaseNotes @@ -59,3 +59,9 @@ bucket reshard in earlier versions of RGW. One subcommand lists such objects and the other deletes them. Read the troubleshooting section of the dynamic resharding docs for details. + +* In the Zabbix Mgr Module there was a typo in the key being send + to Zabbix for PGs in backfill_wait state. The key that was sent + was 'wait_backfill' and the correct name is 'backfill_wait'. + Update your Zabbix template accordingly so that it accepts the + new key being send to Zabbix. diff --git a/src/pybind/mgr/zabbix/module.py b/src/pybind/mgr/zabbix/module.py index 8f30233d7d6b..531018188726 100644 --- a/src/pybind/mgr/zabbix/module.py +++ b/src/pybind/mgr/zabbix/module.py @@ -153,7 +153,7 @@ class Module(MgrModule): pg_states = ['active', 'peering', 'clean', 'scrubbing', 'undersized', 'backfilling', 'recovering', 'degraded', 'inconsistent', - 'remapped', 'backfill_toofull', 'wait_backfill', + 'remapped', 'backfill_toofull', 'backfill_wait', 'recovery_wait'] for state in pg_states: diff --git a/src/pybind/mgr/zabbix/zabbix_template.xml b/src/pybind/mgr/zabbix/zabbix_template.xml index 40627eb86b0a..e2a8344ec81f 100644 --- a/src/pybind/mgr/zabbix/zabbix_template.xml +++ b/src/pybind/mgr/zabbix/zabbix_template.xml @@ -755,12 +755,12 @@ - Number of Placement Groups in wait_backfill state + Number of Placement Groups in backfill_wait state 2 0 - ceph.num_pg_wait_backfill + ceph.num_pg_backfill_wait 0 90 365 @@ -787,7 +787,7 @@ - Total number of Placement Groups in wait_backfill state + Total number of Placement Groups in backfill_wait state 0 -- 2.47.3