Module: check_mk
Branch: master
Commit: 877ec65a3a542a001f46fc82a371051dd6454d28
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=877ec65a3a542a…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Thu Mar 31 13:36:01 2011 +0200
netif.params: honor linux_nic_check
---
checks/netif | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/checks/netif b/checks/netif
index 155870f..ac3646c 100644
--- a/checks/netif
+++ b/checks/netif
@@ -57,6 +57,8 @@ def check_netif_link(item, targetstate, info):
def inventory_netif_params(checkname, info):
+ if linux_nic_check != "legacy":
+ return []
return [ (i[0], '', tuple(i[1:4])) for i in info if len(i) == 5 ]
def check_netif_params(item, params, info):