From 5c3865717de1a2ef58a0021e6a1ff4d17e0f9056 Mon Sep 17 00:00:00 2001 From: Sahina Bose Date: Wed, 4 May 2016 12:40:46 +0530 Subject: nagios: correcting self-heal info plugin status BUG: 1329936 Change-Id: Id5494a34d4ba8296e2fa245329261ba7e2e92d94 Signed-off-by: Sahina Bose Reviewed-on: http://review.gluster.org/14200 Reviewed-by: Ramesh N --- plugins/check_volume_status.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/check_volume_status.py b/plugins/check_volume_status.py index ee7cef0..16ecdab 100755 --- a/plugins/check_volume_status.py +++ b/plugins/check_volume_status.py @@ -134,11 +134,11 @@ def getVolumeSelfHealProgressStatus(args): exitstatus = utils.PluginStatusCode.OK message = "Volume is not of replicate type" elif volume[args.volume]['undergoingheal'] > 0: - exitstatus = utils.PluginStatusCode.CRITICAL + exitstatus = utils.PluginStatusCode.WARNING message = "Volume self-heal in progress." elif volume[args.volume]['unsyncedentries'] > 0: exitstatus = utils.PluginStatusCode.WARNING - message = "Unsynced entries found." + message = "Unsynced entries found across bricks." elif (volume[args.volume]['unsyncedentries'] == 0): exitstatus = utils.PluginStatusCode.OK message = "No unsynced entries found." -- cgit