summaryrefslogtreecommitdiffstats
path: root/plugins/check_proc_util.py
diff options
context:
space:
mode:
authorTimothy Asir <tjeyasin@redhat.com>2014-05-21 18:05:11 +0530
committerTimothy Asir <tim.gluster@gmail.com>2014-05-22 00:56:11 -0700
commitb25fc3d0aeaf23a5245f9531b5a8ad78ae91a870 (patch)
treed345c02188408a5989d8ce1cd0328a4d75976b0f /plugins/check_proc_util.py
parentb8b7222a1451655aecd12779f8d6393e59bd6ac0 (diff)
brickstat: fix brick status information
Status Information for brick status service will have a proper message like "ok: brick <brickpath> is up" when the brick is up. Bug-url: https://bugzilla.redhat.com/show_bug.cgi?id=1090864 Change-Id: Id03c70d0e4d3b79a7cfc12552047f6905ec74fc9 Signed-off-by: Timothy Asir <tjeyasin@redhat.com> Reviewed-on: http://review.gluster.org/7827 Reviewed-by: Shubhendu Tripathi <shtripat@redhat.com> Tested-by: Timothy Asir <tim.gluster@gmail.com>
Diffstat (limited to 'plugins/check_proc_util.py')
-rwxr-xr-xplugins/check_proc_util.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/check_proc_util.py b/plugins/check_proc_util.py
index d3189b1..568f259 100755
--- a/plugins/check_proc_util.py
+++ b/plugins/check_proc_util.py
@@ -76,7 +76,7 @@ def getBrickStatus(volumeName, brickName):
msg = "UNKNOWN: Brick %s: %s" % (brickPath, str(e))
finally:
if status == utils.PluginStatusCode.OK:
- msg = "OK: Brick %s" % brickPath
+ msg = "OK: Brick %s is up" % brickPath
elif status == utils.PluginStatusCode.CRITICAL:
msg = "CRITICAL: Brick %s is down" % brickPath
return status, msg