mirror of
https://github.com/bashclub/check-opnsense.git
synced 2024-12-26 00:30:12 +01:00
Update opnsense_checkmk_agent.py
This commit is contained in:
parent
82059be23c
commit
0ae17445a6
@ -453,7 +453,8 @@ class checkmk_checker(object):
|
|||||||
_all_interfaces[_interface] = _interface_dict
|
_all_interfaces[_interface] = _interface_dict
|
||||||
if re.search("^[*]?(pflog|pfsync|lo)\d?",_interface):
|
if re.search("^[*]?(pflog|pfsync|lo)\d?",_interface):
|
||||||
continue
|
continue
|
||||||
|
if not _opnsense_ifs.get(_interface):
|
||||||
|
continue
|
||||||
for _key,_val in _interface_dict.items():
|
for _key,_val in _interface_dict.items():
|
||||||
if _key in ("name","network","address","flags"):
|
if _key in ("name","network","address","flags"):
|
||||||
continue
|
continue
|
||||||
|
Loading…
Reference in New Issue
Block a user