Module: check_mk
Branch: master
Commit: 0b93f08ec421f81747fd5e1dc8ceaf554a40070d
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=0b93f08ec421f8…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Mon Apr 15 15:08:55 2013 +0200
if64: minor code cleanup
---
checks/if64 | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/checks/if64 b/checks/if64
index 2cc9aa8..a5e6310 100644
--- a/checks/if64
+++ b/checks/if64
@@ -37,8 +37,6 @@ def check_if64(item, params, info):
fix_if64_highspeed(info)
return check_if_common(item, params, info)
-check_includes['if64'] = [ "if.include" ]
-
# check if number of network interfaces (IF-MIB::ifNumber.0) is at least 2
@@ -47,6 +45,7 @@ check_info["if64"] = {
'inventory_function': inventory_if64,
'service_description': 'Interface %s',
'has_perfdata': True,
+ 'includes': [ 'if.include' ],
'snmp_info': ( ".1.3.6.1.2.1", [
"2.2.1.1", # ifIndex 0
"2.2.1.2", # ifDescr 1