summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xplugins/check_proc_status.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/check_proc_status.py b/plugins/check_proc_status.py
index a899d0f..83bde1f 100755
--- a/plugins/check_proc_status.py
+++ b/plugins/check_proc_status.py
@@ -48,7 +48,7 @@ _checkCtdbCmd = [_checkProc.cmd, "-c", "1:", "-C", "ctdbd"]
_nfsService = "NFS"
_shdService = "Self-Heal"
_smbService = "CIFS"
-_brickService = "Brick - "
+_brickService = "Brick - %s"
_glusterdService = "Gluster Management"
_quotadService = "Quota"
_ctdbdService = "CTDB"
@@ -67,7 +67,7 @@ def getBrickStatus(volInfo):
if brick.get('hostUuid') != hostUuid:
continue
brickPath = brick['name'].split(':')[1]
- brickService = "Brick Status - %s" % brickPath
+ brickService = _brickService % brickPath
pidFile = brick['name'].replace(
":/", "-").replace("/", "-") + ".pid"
try: