Module: check_mk
Branch: master
Commit: 240635bfafc41ac76828b251042045de00edff85
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=240635bfafc41a…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Wed Feb 2 13:49:59 2011 +0100
Fix crash in Check_MK normal output
---
modules/check_mk_base.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/check_mk_base.py b/modules/check_mk_base.py
index 78ab047..52df50c 100755
--- a/modules/check_mk_base.py
+++ b/modules/check_mk_base.py
@@ -705,7 +705,7 @@ def do_check(hostname, ipaddress):
output = "WARNING - old plugin version %s (should be at least %s)"
% (agent_version, agent_min_version)
status = 1
else:
- output = "OK - Agent version %s" % (agent_version, num_success)
+ output = "OK - Agent version %s" % agent_version
status = 0
except MKGeneralException, e: