diff options
-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) |