diff options
author | Timothy Asir <tjeyasin@redhat.com> | 2014-05-21 18:05:11 +0530 |
---|---|---|
committer | Timothy Asir <tim.gluster@gmail.com> | 2014-05-22 00:56:11 -0700 |
commit | b25fc3d0aeaf23a5245f9531b5a8ad78ae91a870 (patch) | |
tree | d345c02188408a5989d8ce1cd0328a4d75976b0f /plugins/check_proc_util.py | |
parent | b8b7222a1451655aecd12779f8d6393e59bd6ac0 (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-x | plugins/check_proc_util.py | 2 |
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 |