path: root/plugins
diff options
authorRamesh Nachimuthu <>2014-06-11 14:26:51 +0530
committerSahina Bose <>2014-06-11 02:41:19 -0700
commitc408fed3cd1b960a53bbde75e842ff498de79420 (patch)
tree8d8ebf1441488a0882d6912a2625157e61a60866 /plugins
parent854e88427cd3817aabb0a63e0cc5011f4ff3e664 (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: Change-Id: I4bb7f61488e83fb1fbd6d0b4369b782ada37af7c Signed-off-by: Ramesh Nachimuthu <> Reviewed-on: Reviewed-by: Sahina Bose <>
Diffstat (limited to 'plugins')
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/ b/plugins/
index 31825f1..99f7832 100755
--- a/plugins/
+++ b/plugins/
@@ -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)