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: v15.1.0~2645^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F28057%2Fhead;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 --- 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