Collection of CheckMK checks (see https://checkmk.com/). All checks and plugins are provided as is. Absolutely no warranty. Send any comments to thl-cmk[at]outlook[dot]com

Skip to content
Snippets Groups Projects
Commit 865e1e65 authored by thl-cmk's avatar thl-cmk :flag_na:
Browse files

update project

parent 50123778
No related branches found
No related tags found
No related merge requests found
......@@ -186,8 +186,8 @@ class HostCache:
def __init__(self):
self.__cache = {}
self.__inventory_pre_fetch_list: List[str] = [
PATH_CDP,
PATH_LLDP,
# PATH_CDP,
# PATH_LLDP,
PATH_INTERFACES,
]
......
......@@ -287,9 +287,11 @@ if __name__ == '__main__':
jobs.append('STATIC')
elif layer in LAYERS.keys():
jobs.append(LAYERS[layer])
HOST_CACHE.add_inventory_prefetch_path(LAYERS[layer]['path'])
elif layer == 'CUSTOM':
for entry in CUSTOM_LAYERS:
jobs.append(entry)
HOST_CACHE.add_inventory_prefetch_path(entry['path'])
for job in jobs:
topology = {}
......
No preview for this file type
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment