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

update project

parent a464360c
No related branches found
No related tags found
No related merge requests found
......@@ -14,12 +14,15 @@
# 2018-09-04: changes for CMK 1.5.x (inv_tree --> inv_tree_list)
# 2020-03-15: added support for CMK1.6x
# 2021-07-10: rewritten vor CMK 2.0
# 2021-07-15 : added support for Catalyst 9800 Controllers
from cmk.base.plugins.agent_based.agent_based_api.v1 import (
register,
SNMPTree,
TableRow,
contains,
any_of,
)
from cmk.base.plugins.agent_based.agent_based_api.v1.type_defs import (
StringTable,
......@@ -168,7 +171,10 @@ register.snmp_section(
'16', # clcCdpApCacheInterfaceSpeed
]
),
detect=contains('.1.3.6.1.2.1.1.1.0', 'Cisco Controller'), # sysDescr
detect=any_of(
contains('.1.3.6.1.2.1.1.1.0', 'Cisco Controller'), # sysDescr
contains('.1.3.6.1.2.1.1.1.0', 'C9800 Software'), # sysDescr
)
)
register.inventory_plugin(
......
No preview for this file type
......@@ -18,5 +18,5 @@
'title': 'inventory for Cisco WLC AP CDP cache (CISCO-LWAPP-CDP-MIB)',
'version': '20210710.v0.3',
'version.min_required': '2.0.0',
'version.packaged': '2021.04.10',
'version.packaged': '2021.07.14',
'version.usable_until': None}
\ No newline at end of file
......@@ -19,7 +19,7 @@ from cmk.gui.plugins.wato.inventory import (
RulespecGroupInventory,
)
_removecolumns = [
_removecolumns_cisco_wlc_ap_cdp_cache = [
('duplex', 'Duplex'),
('speed', 'Speed'),
]
......@@ -46,7 +46,7 @@ def _valuespec_inv_cisco_wlc_ap_cdp_cache():
ListChoice(
title=_('List of columns to remove'),
help=_('information to remove from inventory'),
choices=_removecolumns,
choices=_removecolumns_cisco_wlc_ap_cdp_cache,
default_value=[],
)),
('use_short_if_name',
......
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