Update opnsense_checkmk_agent.py

This commit is contained in:
Thorsten Spille 2022-03-13 12:06:43 +01:00 committed by GitHub
parent 82059be23c
commit 0ae17445a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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