Module: check_mk
Branch: master
Commit: f59994ee99778477ce24d44446d5c37d67939ee2
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=f59994ee997784…
Author: Bastian Kuhn <bk(a)mathias-kettner.de>
Date: Tue Dec 17 15:05:14 2013 +0100
cisco_sys_mem: Changed check_group
---
checks/cisco_sys_mem | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/checks/cisco_sys_mem b/checks/cisco_sys_mem
index ddadfe1..a56af93 100644
--- a/checks/cisco_sys_mem
+++ b/checks/cisco_sys_mem
@@ -33,9 +33,9 @@ def inventory_cisco_sys_mem(info):
if info:
return [ (None, "cisco_mem_default_levels") ]
else:
- return (3, "no snmp data found")
+ return []
-def check_cisco_sys_mem(item, params, info):
+def check_cisco_sys_mem(_no_item, params, info):
warn, crit = params
if info[0][0]:
mem_used = float(info[0][0])
@@ -56,7 +56,7 @@ check_info["cisco_sys_mem"] = {
"inventory_function" : inventory_cisco_sys_mem,
"service_description" : "Supervisor Mem Used",
"has_perfdata" : True,
- "group" : "cisco_mem",
+ "group" : "memory",
"snmp_scan_function" : lambda oid:
oid(".1.3.6.1.4.1.9.9.305.1.1.2.0"),
"snmp_info" : ( ".1.3.6.1.4.1.9.9.305.1.1.2", "0"
),
}