Module: check_mk
Branch: master
Commit: ecc359cd1cc2ce48056f4f09e7db121e63ab8040
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=ecc359cd1cc2ce…
Author: Simon Betz <si(a)mathias-kettner.de>
Date: Tue Aug 22 15:11:57 2017 +0200
Revert "Updated werk 5112"
This reverts commit f9d8d4804cc4856428b42b2d96d74dfa3e1baa08.
---
checks/if.include | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/checks/if.include b/checks/if.include
index d606a50..3d0a3ed 100644
--- a/checks/if.include
+++ b/checks/if.include
@@ -432,7 +432,7 @@ def inventory_if_common(info, has_nodeinfo = False):
if ifSpeed != "" and if_inventory_monitor_speed:
params["speed"] = int(ifSpeed)
- local_seen.add(item)
+ local_seen.add(ifIndex)
pre_inventory.append( (item, "%r" % params, int(ifIndex))
)
global_seen = global_seen.union(local_seen)