Module: check_mk
Branch: master
Commit: aef805b438726030ef1ca64dba901762765c9974
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=aef805b4387260…
Author: Simon Betz <si(a)mathias-kettner.de>
Date: Mon Jan 15 10:31:24 2018 +0100
5616 ceph_status.pgs: Added new states 'backfilling' and 'backfill_wait'
which are treated as WARNING
Change-Id: I01c2367105dc7a5c69980cbab599ff4887b39b06
---
.werks/5616 | 10 ++++++++++
checks/ceph_status | 2 ++
2 files changed, 12 insertions(+)
diff --git a/.werks/5616 b/.werks/5616
new file mode 100644
index 0000000..5d9aa04
--- /dev/null
+++ b/.werks/5616
@@ -0,0 +1,10 @@
+Title: ceph_status.pgs: Added new states 'backfilling' and
'backfill_wait' which are treated as WARNING
+Level: 1
+Component: checks
+Compatible: compat
+Edition: cre
+Version: 1.5.0i3
+Date: 1516008607
+Class: feature
+
+
diff --git a/checks/ceph_status b/checks/ceph_status
index 6e69d64..a2948ae 100644
--- a/checks/ceph_status
+++ b/checks/ceph_status
@@ -191,6 +191,8 @@ def check_ceph_status_pgs(_no_item, params, parsed):
map_pg_states = {
"active" : (0, "active"),
"backfill" : (0, "backfill"),
+ "backfill_wait" : (1, "backfill wait"),
+ "backfilling" : (1, "backfilling"),
"backfill_toofull" : (0, "backfill too full"),
"clean" : (0, "clean"),
"creating" : (0, "creating"),