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 c8e0afa6 authored by thl-cmk's avatar thl-cmk :flag_na:
Browse files

update project

parent 8a0e6303
No related branches found
No related tags found
No related merge requests found
......@@ -49,7 +49,12 @@ class Neighbour(NamedTuple):
def _render_ip_address(bytestring):
return '.'.join(['%s' % ord(m) for m in bytestring])
bytestring_clean = bytestring.replace('"', '').replace('|4|', '').replace('.', ' ').strip().split(' ')
try:
return '.'.join(['%s' % int(m, 16) for m in bytestring_clean])
except ValueError:
return bytestring
_cdp_duplex = {
0: 'N/A',
......@@ -124,7 +129,7 @@ def parse_cisco_wlc_ap_cdp_cache(string_table: StringTable): # -> List[Neighbour
def inventory_cisco_wlc_ap_cdp_cache(params, section) -> InventoryResult:
removecolumns = []
remove_domain = True
remove_domain = False
domain_name = ''
use_short_if_name = False
......
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