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

Delete inv_lldp_cache.py

parent 73d8f0cb
No related branches found
No related tags found
No related merge requests found
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
# 2023-01-14: fixed missing import for declare_invtable_view
#
from cmk.gui.plugins.views import (
inventory_displayhints,
)
from cmk.gui.plugins.views.inventory import (
declare_invtable_view,
)
from cmk.gui.i18n import _
inventory_displayhints.update({
'.networking.lldp_cache:': {'title': _('LLDP Cache'),
'keyorder': ['system_name', 'chassis_id', 'port_id', 'local_port_num'],
'view': 'invlldpcache_of_host',
},
'.networking.lldp_cache:*.chassis_id' : {'title': _('Neighbour Chassis ID'), },
'.networking.lldp_cache:*.port_id' : {'title': _('Neighbour port ID'), },
'.networking.lldp_cache:*.port_description' : {'title': _('Neighbour port description'), },
'.networking.lldp_cache:*.system_name' : {'title': _('Neighbour name'), },
'.networking.lldp_cache:*.system_description' : {'title': _('Neighbour description'), },
'.networking.lldp_cache:*.local_port_num' : {'title': _('Local port ID'), },
'.networking.lldp_cache:*.capabilities_map_supported': {'title': _('Capabilities map supported'), },
'.networking.lldp_cache:*.cache_capabilities' : {'title': _('Cache Capabilities'), },
})
declare_invtable_view('invlldpcache', '.networking.lldp_cache:', _('LLDP cache'), _('LLDP Cache'))
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