]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/zabbix: Fix typo in key name for PGs in backfill_wait state 28057/head
authorWido den Hollander <wido@42on.com>
Fri, 10 May 2019 08:50:40 +0000 (10:50 +0200)
committerWido den Hollander <wido@42on.com>
Tue, 14 May 2019 05:45:41 +0000 (07:45 +0200)
Fixes: http://tracker.ceph.com/issues/39666
Signed-off-by: Wido den Hollander <wido@42on.com>
PendingReleaseNotes
src/pybind/mgr/zabbix/module.py
src/pybind/mgr/zabbix/zabbix_template.xml

index 9ff276873263732bca0d51c278b903499734c7f3..6941d48843b408fade919c3c05a61542121d2178 100644 (file)
@@ -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.
index 8f30233d7d6bcd3e92583f9e3de5657350fd1bd3..53101818872682a40a2506331a3ea2ee79c64ce1 100644 (file)
@@ -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:
index 40627eb86b0a1443fdb74dea7b805f7cfe63abfb..e2a8344ec81f4a8aaf2147d17ae73eff4e6c3f02 100644 (file)
                     <logtimefmt/>
                 </item>
                 <item>
-                    <name>Number of Placement Groups in wait_backfill state</name>
+                    <name>Number of Placement Groups in backfill_wait state</name>
                     <type>2</type>
                     <snmp_community/>
                     <multiplier>0</multiplier>
                     <snmp_oid/>
-                    <key>ceph.num_pg_wait_backfill</key>
+                    <key>ceph.num_pg_backfill_wait</key>
                     <delay>0</delay>
                     <history>90</history>
                     <trends>365</trends>
                     <publickey/>
                     <privatekey/>
                     <port/>
-                    <description>Total number of Placement Groups in wait_backfill state</description>
+                    <description>Total number of Placement Groups in backfill_wait state</description>
                     <inventory_link>0</inventory_link>
                     <applications>
                         <application>