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

Delete inv_cdp_cache.py

parent e127a8b2
No related branches found
No related tags found
No related merge requests found
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
from cmk.gui.plugins.views import (
inventory_displayhints,)
from cmk.gui.i18n import _
inventory_displayhints.update({
'.networking.cdp_cache:': {
'title': _('CDP Cache'),
'keyorder': ['address', 'device_id', 'device_port', 'local_port',
],
'view': 'invcdpcache_of_host',
},
'.networking.cdp_cache:*.address': {'title': _('Neighbour address'), },
'.networking.cdp_cache:*.version': {'title': _('Neighbour platform details'), },
'.networking.cdp_cache:*.device_id': {'title': _('Neighbour device'), },
'.networking.cdp_cache:*.device_port': {'title': _('Neighbour port'), },
'.networking.cdp_cache:*.local_port': {'title': _('Local port'), },
'.networking.cdp_cache:*.platform': {'title': _('Neighbour platform'), },
'.networking.cdp_cache:*.capabilities': {'title': _('Capabilites'), },
'.networking.cdp_cache:*.vtp_mgmt_domain': {'title': _('VTP domain'), },
'.networking.cdp_cache:*.native_vlan': {'title': _('Native VLAN'), },
'.networking.cdp_cache:*.duplex': {'title': _('Duplex'), },
'.networking.cdp_cache:*.powerconsumption': {'title': _('Power level'), },
'.networking.cdp_cache:*.last_change': {'title': _('Last Change'), },
})
from cmk.gui.plugins.views.inventory import declare_invtable_view
declare_invtable_view('invcdpcache', '.networking.cdp_cache:', _('CDP cache'), _('CDP 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