summaryrefslogtreecommitdiff
path: root/checks/mysql_repl
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2016-11-25 00:41:12 (GMT)
committerChristian Pointner <equinox@helsinki.at>2016-11-25 00:41:12 (GMT)
commit6014b438ade5bfe80681d4b4201c7252bcee04c6 (patch)
tree4ecbd1b247dc5852690fa99481a8aced1d949360 /checks/mysql_repl
parent7cbbe5220511fb3d28661cb7fccd3cf2d1fc50e3 (diff)
added rhctl check
Diffstat (limited to 'checks/mysql_repl')
-rw-r--r--checks/mysql_repl2
1 files changed, 1 insertions, 1 deletions
diff --git a/checks/mysql_repl b/checks/mysql_repl
index 0b1cf74..ce4be4e 100644
--- a/checks/mysql_repl
+++ b/checks/mysql_repl
@@ -42,7 +42,7 @@ def check_mysql_repl_status(item, params, info):
return (CRIT, 'Slave %s is not(!!) running: %s' % (params[0], values['Last_%s_Error' % params[0]]), perfdata)
except Exception, e:
- return (UNKNOWN, "mysql_repl check failed: %", e.message)
+ return (UNKNOWN, "mysql_repl check failed: %s" % e.message)
check_info["mysql_repl"] = {