Module: check_mk
Branch: master
Commit: fa52386cd28c5f90670538a60e5dea7225a29ac4
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=fa52386cd28c5f…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Mon Apr 7 16:10:44 2014 +0200
Minor cleanups in Juniper Checks
---
checks/juniper_trpz_mem | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/checks/juniper_trpz_mem b/checks/juniper_trpz_mem
index 6d4ebfb..e6060f0 100644
--- a/checks/juniper_trpz_mem
+++ b/checks/juniper_trpz_mem
@@ -39,7 +39,7 @@ def check_juniper_trpz_mem(_no_item, params, info):
perf = [( "usage", usage*1024, warn_a*1024, crit_a*1024, 0, mem_size )]
message = "Used: %s/%s (%.0f%%)" % \
( get_bytes_human_readable(usage*1024), get_bytes_human_readable(mem_size*1024),
usage_perc )
- levels = " ( Warning/Critical at %0.f%%/%.0f%%)" % ( warn, crit )
+ levels = " (Warning/Critical at %0.f%%/%.0f%%)" % ( warn, crit )
if usage_perc >= crit:
return 2, message + levels, perf
elif usage_perc >= warn:
diff --git a/checks/juniper_trpz_power b/checks/juniper_trpz_power
old mode 100755
new mode 100644