From 0ae17445a63feb12974e97ecf35f563174100593 Mon Sep 17 00:00:00 2001 From: Thorsten Spille Date: Sun, 13 Mar 2022 12:06:43 +0100 Subject: [PATCH] Update opnsense_checkmk_agent.py --- opnsense_checkmk_agent.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/opnsense_checkmk_agent.py b/opnsense_checkmk_agent.py index 9fe11cd..da74aed 100644 --- a/opnsense_checkmk_agent.py +++ b/opnsense_checkmk_agent.py @@ -453,7 +453,8 @@ class checkmk_checker(object): _all_interfaces[_interface] = _interface_dict if re.search("^[*]?(pflog|pfsync|lo)\d?",_interface): continue - + if not _opnsense_ifs.get(_interface): + continue for _key,_val in _interface_dict.items(): if _key in ("name","network","address","flags"): continue