From: Wido den Hollander Date: Fri, 10 May 2019 08:50:40 +0000 (+0200) Subject: mgr/zabbix: Fix typo in key name for PGs in backfill_wait state X-Git-Tag: v14.2.5~56^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=66d1cdc4adef7a597e73414e53ba07bda2905079;p=ceph.git 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 (cherry picked from commit 0ec7bc491d1d53fb14c741fe63971c6e7a82660a) Conflicts: PendingReleaseNotes - rearranged so it makes sense --- diff --git a/PendingReleaseNotes b/PendingReleaseNotes index 131801d14de..81e23e2e778 100644 --- a/PendingReleaseNotes +++ b/PendingReleaseNotes @@ -1,4 +1,13 @@ ->=14.2.2 +14.2.4 +------ + +* 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. + +14.2.3 -------- * Nautilus-based librbd clients can now open images on Jewel clusters. diff --git a/src/pybind/mgr/zabbix/module.py b/src/pybind/mgr/zabbix/module.py index 6b428dc0acc..cc63d7c57b7 100644 --- a/src/pybind/mgr/zabbix/module.py +++ b/src/pybind/mgr/zabbix/module.py @@ -137,7 +137,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 1ce76605ac0..d75d912e959 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