diff options
author | Timothy Asir <tjeyasin@redhat.com> | 2014-05-21 18:18:10 +0530 |
---|---|---|
committer | Timothy Asir <tim.gluster@gmail.com> | 2014-05-26 02:26:54 -0700 |
commit | 553fd98e7ae1c6a0c01afeabcdcdd9080c5ac64c (patch) | |
tree | 27330274819dcc3a603aee31239ce916f5014dc6 | |
parent | bb238a1049c229858dc1dbfeab9a36a90de1e062 (diff) |
brickstat: fix brick status message to have brick details.
Add brick details to the status message when the brick
status is unknown.
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1097231
Change-Id: I4692f7fb99696f64da9d48139da6e2763899c02d
Signed-off-by: Timothy Asir <tjeyasin@redhat.com>
Reviewed-on: http://review.gluster.org/7828
Reviewed-by: Shubhendu Tripathi <shtripat@redhat.com>
Reviewed-by: Ramesh N <rnachimu@redhat.com>
Tested-by: Timothy Asir <tim.gluster@gmail.com>
Reviewed-by: Kanagaraj M <kmayilsa@redhat.com>
-rwxr-xr-x | plugins/check_gluster_proc_status.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/check_gluster_proc_status.py b/plugins/check_gluster_proc_status.py index da719d4..6995d20 100755 --- a/plugins/check_gluster_proc_status.py +++ b/plugins/check_gluster_proc_status.py @@ -84,7 +84,7 @@ if __name__ == '__main__': status = utils.PluginStatusCode.CRITICAL msg = "Brick - %s not found" % args.brickPath elif args.type != _GLUSTERD: - msg = "UNKNOWN: Could not determine %s status " % args.type + msg = "UNKNOWN: Brick - %s status could not be determined" % args.brickPath status = utils.PluginStatusCode.UNKNOWN print msg exit(status) |