diff options
-rwxr-xr-x | plugins/check_gluster_syslog.py | 2 | ||||
-rw-r--r-- | tests/test_check_gluster_syslog.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/check_gluster_syslog.py b/plugins/check_gluster_syslog.py index 6a37f52..c938273 100755 --- a/plugins/check_gluster_syslog.py +++ b/plugins/check_gluster_syslog.py @@ -63,7 +63,7 @@ def processQuorumMsg(msgid, msg, level): pluginstatus = utils.PluginStatusCode.OK if pluginstatus >= 0: - serviceName = "Cluster - Quorum" + serviceName = "Cluster - Quorum Status" nscautils.send_to_nsca_subproc(nscautils.getNagiosClusterName(), serviceName, pluginstatus, diff --git a/tests/test_check_gluster_syslog.py b/tests/test_check_gluster_syslog.py index a3f341c..3aed1e0 100644 --- a/tests/test_check_gluster_syslog.py +++ b/tests/test_check_gluster_syslog.py @@ -58,7 +58,7 @@ class TestGlusterSyslog(TestCaseBase): "Stopping local bricks. ") check_gluster_syslog.processMsg(message) mock_send_to_nsca.assert_called_with("test-cluster", - "Cluster - Quorum", + "Cluster - Quorum Status", utils.PluginStatusCode.CRITICAL, "QUORUM: Cluster server-side " "quorum lost.") |