Module: check_mk
Branch: master
Commit: c08aadcbac057e2e760c9ed7c474368e9ec6a007
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=c08aadcbac057e…
Author: Bastian Kuhn <bk(a)mathias-kettner.de>
Date: Thu Nov 28 18:12:53 2013 +0100
juniper_cpu Little cleanup
---
checks/juniper_cpu | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/checks/juniper_cpu b/checks/juniper_cpu
index a389081..d7a409c 100644
--- a/checks/juniper_cpu
+++ b/checks/juniper_cpu
@@ -55,11 +55,9 @@ def check_juniper_cpu(item, params, info):
state = max(state,1)
label15 = "(!)"
- perf = [
- ( "util1", util1, warn, crit ),
+ perf = [( "util1", util1, warn, crit ),
( "util5", util5, warn, crit ),
- ( "util15", util15, warn, crit ),
- ]
+ ( "util15", util15, warn, crit )]
message = "%d%% 1min%s, %d%% 5min%s, %d%% 15min%s" % \
@@ -70,8 +68,8 @@ def check_juniper_cpu(item, params, info):
check_info["juniper_cpu"] = {
"check_function" : check_juniper_cpu,
"inventory_function" : inventory_juniper_cpu,
- "service_description" : "CPU utilization %s",
"group" : "cpu_utilization",
+ "service_description" : "CPU utilization %s",
"has_perfdata" : True,
"snmp_scan_function" : lambda oid:
oid(".1.3.6.1.2.1.1.2.0").startswith(".1.3.6.1.4.1.2636.1.1.1.2"),
"snmp_info" : (".1.3.6.1.4.1.2636.3.1.13.1",[