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

update project

parent 8df91773
No related branches found
No related tags found
No related merge requests found
No preview for this file type
{'author': u'Th.L. (thl-cmk[at]outlook[dot]com)',
'description': u'Via WATO you can:\n - enable/disable this inventory\n - can add/remove some fields\nChangelog:\n - 2018-01-24: added local interface\n - 2018-01-25: added option to remove domain name form neighbor name\n - 2019-03-04: added support for cmk1.5.x\n',
'description': u'Via WATO you can:\n - enable/disable this inventory\n - can add/remove some fields\nChangelog:\n - 2018-01-24: added local interface\n - 2018-01-25: added option to remove domain name form neighbor name\n - 2019-03-04: added support for cmk1.5.x\n - 2020-05-13: added support for CMK1.6x\n',
'download_url': 'https://thl-cmk.hopto.org',
'files': {'inventory': ['snmp_lldp_cache'],
'web': ['plugins/views/inv_lldp_cache.py',
......@@ -7,6 +7,6 @@
'name': 'inv_lldp_cache',
'num_files': 3,
'title': u'inventory for LLDP cache',
'version': '20190304.v04a',
'version': '20200513.v04b',
'version.min_required': '1.4.0p1',
'version.packaged': '1.4.0p35'}
\ No newline at end of file
'version.packaged': '1.6.0p8'}
\ No newline at end of file
#!/usr/bin/python
# -*- encoding: utf-8; py-indent-offset: 4 -*-
try:
from cmk.gui.plugins.views.inventory import (
declare_invtable_view,
render_inv_dicttable,
)
except:
pass
inventory_displayhints.update({
'.networking.lldp_cache:': {'title': _('LLDP Cache'), 'render': render_inv_dicttable,
'.networking.lldp_cache:': {'title': _('LLDP Cache'), 'render' : render_inv_dicttable,
'keyorder': ['system_name', 'chassis_id', 'port_id', 'local_port_num'],
'view': 'invlldpcache_of_host',
},
......@@ -17,6 +25,5 @@ inventory_displayhints.update({
'.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