From 63dc57649aec8bec27782ac37d5fde133c34df53 Mon Sep 17 00:00:00 2001 From: huanwen ren Date: Wed, 16 Aug 2017 15:38:34 +0800 Subject: [PATCH] mon/pgmap: update pool nearfull display if "pool full" and "pool nearfull" show the same, we will not be able to distinguish between these two scenes in health check. Signed-off-by: huanwen ren --- src/mon/PGMap.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mon/PGMap.cc b/src/mon/PGMap.cc index 9ec7d8f8a834..8482538b1868 100644 --- a/src/mon/PGMap.cc +++ b/src/mon/PGMap.cc @@ -3068,7 +3068,7 @@ void PGMap::get_health_checks( } if (nearfull_pools) { ostringstream ss; - ss << nearfull_pools << " pools full"; + ss << nearfull_pools << " pools nearfull"; auto& d = checks->add("POOL_NEAR_FULL", HEALTH_WARN, ss.str()); d.detail.swap(nearfull_detail); } -- 2.47.3