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

moved mkps

parent c255a419
No related branches found
No related tags found
No related merge requests found
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
# License: GNU General Public License v2
#
# Author: thl-cmk[at]outlook[dot]com
# URL : https://thl-cmk.hopto.org
# Date : 2016-04-08
#
# 2023-02-17: moved from ~/local/share/check_mk/web/plugins/metrics -> ~7local/lib/check_mk/gui/plugins/metrics
# 2023-06-14: removed declare_invtable_view from view definition on cmk 2.2 (see werk 15493)
# changed inventory_displayhints import (see werk 15493)
from cmk.gui.views.inventory.registry 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'), },
})
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