diff --git a/src/worker/exporters/node_exporter.py b/src/worker/exporters/node_exporter.py index 152d5a3..bdf6d41 100644 --- a/src/worker/exporters/node_exporter.py +++ b/src/worker/exporters/node_exporter.py @@ -342,6 +342,8 @@ def init_ib_config(): config['counter']['link_flap'] = {} result = result.split('\n')[1:] for ib in result: + if "ib" not in ib: + continue if len(ib): mapping = re.search(r"ib\d", ib.strip()).group() config['counter']['link_flap'][mapping] = {}