diff options
author | Ramesh Nachimuthu <rnachimu@redhat.com> | 2014-06-11 14:26:51 +0530 |
---|---|---|
committer | Sahina Bose <sabose@redhat.com> | 2014-06-11 02:41:19 -0700 |
commit | c408fed3cd1b960a53bbde75e842ff498de79420 (patch) | |
tree | 8d8ebf1441488a0882d6912a2625157e61a60866 /plugins | |
parent | 854e88427cd3817aabb0a63e0cc5011f4ff3e664 (diff) |
glusterpmd: fix issue in CTDB status
Fixing issue in CTDB status. SMB and NFS status codes were
not passed properly to the check_proc_util.getCtdbStatus() method.
Bug-Url: https://bugzilla.redhat.com/1107977
Change-Id: I4bb7f61488e83fb1fbd6d0b4369b782ada37af7c
Signed-off-by: Ramesh Nachimuthu <rnachimu@redhat.com>
Reviewed-on: http://review.gluster.org/8033
Reviewed-by: Sahina Bose <sabose@redhat.com>
Diffstat (limited to 'plugins')
-rwxr-xr-x | plugins/check_proc_status.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/check_proc_status.py b/plugins/check_proc_status.py index 31825f1..99f7832 100755 --- a/plugins/check_proc_status.py +++ b/plugins/check_proc_status.py @@ -125,7 +125,8 @@ class App(): if smbStatus.isStatusChanged(status, msg): nscautils.send_to_nsca(hostName, _smbService, status, msg) - status, msg = check_proc_util.getCtdbStatus(smbStatus, nfsStatus) + status, msg = check_proc_util.getCtdbStatus(smbStatus.code, + nfsStatus.code) if ctdbStatus.isStatusChanged(status, msg): nscautils.send_to_nsca(hostName, _ctdbdService, status, msg) |