diff options
Diffstat (limited to 'plugins/check_gluster_syslog.py')
-rwxr-xr-x | plugins/check_gluster_syslog.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/check_gluster_syslog.py b/plugins/check_gluster_syslog.py index 277f32f..62464dd 100755 --- a/plugins/check_gluster_syslog.py +++ b/plugins/check_gluster_syslog.py @@ -52,10 +52,10 @@ def processQuotaMsg(msg, alertlevel): alertMsg = "QUOTA: " + msg[msg.rfind(matches.group()) + len(matches.group()) + 1:] serviceName = nscautils.vol_service_name(volname, "Quota") - nscautils.send_to_nsca(nscautils.getNagiosClusterName(), - serviceName, - getStatusCode(alertlevel), - alertMsg) + nscautils.send_to_nsca_subproc(nscautils.getNagiosClusterName(), + serviceName, + getStatusCode(alertlevel), + alertMsg) def processMsg(msg): |