diff options
author | Christian Pointner <equinox@helsinki.at> | 2016-11-25 00:41:12 (GMT) |
---|---|---|
committer | Christian Pointner <equinox@helsinki.at> | 2016-11-25 00:41:12 (GMT) |
commit | 6014b438ade5bfe80681d4b4201c7252bcee04c6 (patch) | |
tree | 4ecbd1b247dc5852690fa99481a8aced1d949360 /checks/mysql_repl | |
parent | 7cbbe5220511fb3d28661cb7fccd3cf2d1fc50e3 (diff) |
added rhctl check
Diffstat (limited to 'checks/mysql_repl')
-rw-r--r-- | checks/mysql_repl | 2 |
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"] = { |