Module: check_mk
Branch: master
Commit: 6b1492609de040a3a21d8013e28f281d954f7701
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=6b1492609de040…
Author: Andreas Boesl <ab(a)mathias-kettner.de>
Date: Tue Jan 27 09:26:04 2015 +0100
if.include, interface groups: removed needless mingle of data
---
checks/if.include | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/checks/if.include b/checks/if.include
index 882c86d..e460b0f 100644
--- a/checks/if.include
+++ b/checks/if.include
@@ -351,11 +351,10 @@ def check_if_common(item, params, info, has_nodeinfo = False):
"", # ifPhysAddress
]
- info.append(group_entry)
# If applicable, signal the check_if_common_single if the counter of the
# given interface has wrapped. Actually a wrap of the if group itself is
unlikely,
# however any counter wrap of one of its members causes the accumulation being
invalid
- return check_if_common_single(item, params, info, wrapped,
has_nodeinfo=has_nodeinfo)
+ return check_if_common_single(item, params, [group_entry], wrapped,
has_nodeinfo=has_nodeinfo)
return check_if_common_single(item, params, info, has_nodeinfo=has_nodeinfo)