Module: check_mk
Branch: master
Commit: a91e0404a6e2c617528bb7e8a4e1ef49021bc01f
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=a91e0404a6e2c6…
Author: Bastian Kuhn <bk(a)mathias-kettner.de>
Date: Thu May 3 16:02:10 2012 +0200
Added hr_cpu to a check_group
---
checks/hr_cpu | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/checks/hr_cpu b/checks/hr_cpu
index b066255..521b97d 100644
--- a/checks/hr_cpu
+++ b/checks/hr_cpu
@@ -50,6 +50,7 @@ def check_hr_cpu(item, params, info):
check_info["hr_cpu"] = (check_hr_cpu, "CPU utilization", 1,
inventory_hr_cpu)
snmp_info["hr_cpu"] = ( ".1.3.6.1.2.1.25.3.3.1", [ 2 ] )
+checkgroup_of['hr_cpu'] = "cpu_utilization"
# HOST-RESOURCES-MIB::hrSystemUptime.0
snmp_scan_functions["hr_cpu"] = lambda oid: \