Module: check_mk
Branch: master
Commit: aa7d6f31d227b2c70a293c518757a9a782d775dd
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=aa7d6f31d227b2…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Tue Jun 12 13:15:30 2012 +0200
Fix text output in j4p memory check
---
checks/j4p_performance | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/checks/j4p_performance b/checks/j4p_performance
index 70173ae..5188d6a 100644
--- a/checks/j4p_performance
+++ b/checks/j4p_performance
@@ -122,7 +122,7 @@ def check_j4p_performance_mem(item, params, info):
total = heap + non_heap
perfdata = [ ("heap", heap, warn, crit),
("nonheap", non_heap, warn, crit) ]
- infotext = "%.0f MB total (%.0f heap, %.0f MB non-heap), levels at
%.0f/%.0f" % (total, heap, non_heap, warn, crit)
+ infotext = "%.0f MB total (%.0f MB heap, %.0f MB non-heap), levels at
%.0f/%.0f" % (total, heap, non_heap, warn, crit)
if total >= crit:
return (2, "CRIT - " + infotext, perfdata)
elif total >= warn: