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

Delete inv_wlc_aps_lwap.py

parent 661afa61
No related branches found
No related tags found
No related merge requests found
#!/usr/bin/python
# -*- encoding: utf-8; py-indent-offset: 4 -*-
removecolumns = [
('adj_channel_rogue_enabled' , 'Adj. channel rogue'),
('admin' , 'Admin state'),
('amsdu' , 'Aggregate MAC Service Data Unit'),
('antenna_band_mode' , 'Antenna band mode'),
('is_master' , 'AP is master'),
('is_universal' , 'AP is universal'),
('submode' , 'AP submode'),
('universal_prime_status' , 'AP universal prime status'),
('ble_fw_download_status' , 'Ble FW downaload status'),
('data_encryption' , 'Data encryption'),
('encryption' , 'Encryption enabled'),
('encryption_supported' , 'Encryption supported'),
('failover_priority' , 'failover priority'),
('floor_label' , 'Floor label'),
('last_reboot_reason' , 'Last reboot reason'),
('led_state' , 'LED state'),
('location' , 'Location'),
('max_#_of_dot11_slots' , 'max # of dot11 slots'),
('max_#_of_ethernet_slots' , 'max # of ethernet slots'),
('max_client_limit_cause' , 'Max client cause'),
('max_client_limit_number_trap' , 'Max client limit'),
('max_client_limit_set' , 'Max client set'),
('trunk_vlan' , 'Mgmt VLAN ID'),
('trunk_vlan_status' , 'Mgmt VLAN tagged state'),
('enable_module' , 'Module enabled'),
('module_inserted' , 'Module inserted'),
('monitor_mode_optimization' , 'monitor mode optimization'),
('port_number' , 'Port number'),
('power_status' , 'Power status'),
('pwr_injector_selection' , 'Pow. inj. selection'),
('pwr_injector_state' , 'Pow. inj. state'),
('pwr_injector_sw_mac_addr' , 'Pow. inj. MAC address'),
('pwr_pre_std_state' , 'PoE pre standard'),
('real_time_stats_mode_enabled' , 'Real time stats'),
('rogue_detection' , 'Rogue detection enabled'),
('ssh' , 'SSH enabled'),
('sys_net_id' , 'Sys net ID'),
('tcp_mss' , 'TCP MSS'),
('telnet' , 'Telnet enabled'),
('upgrade_failure_cause' , 'Upgrade failure cause'),
('upgrade_from_version' , 'Upgrade from version'),
('upgrade_to_version' , 'Upgrade to version'),
('venue_config_language' , 'Venue language'),
('venue_config_venue_group' , 'Venue group'),
('venue_config_venue_name' , 'Venue name'),
('venue_config_venue_type' , 'Venue type'),
('wips' , 'wireless IPS,'),
('wlc_primary_address' , 'primary WLC'),
('wlc_secondary_address' , 'secondary WLC'),
('wlc_tertiary_address' , 'tertiary WLC'),
]
register_rule('inventory', 'inv_parameters:inv_wlc_aps_lwap',
Dictionary(
title=_('Cisco WLC AP (CISCO-LWAPP-AP-MIB)'),
elements=[
('disable',
FixedValue(
True,
title=_('disable inventory'),
)),
('removecolumns',
ListChoice(
title=_('list of columns to remove'),
label=_('list of columns to remove'),
help=_('information to remove from inventory'),
choices=removecolumns,
default_value=['adj_channel_rogue_enabled', 'amsdu', 'is_master', 'is_universal', 'submode',
'universal_prime_status',
'max_client_limit_cause', 'ble_fw_download_status', 'antenna_band_mode',
'module_inserted', 'floor_label', 'max_client_limit_set', 'enable_module',
'pwr_injector_sw_mac_addr', 'pwr_injector_selection', 'pwr_injector_state',
'pwr_pre_std_state', 'trunk_vlan', 'trunk_vlan_status', 'tcp_mss', 'monitor_mode_optimization',
'sys_net_id', 'upgrade_failure_cause', 'upgrade_from_version',
'upgrade_to_version', 'venue_config_language', 'venue_config_venue_group',
'venue_config_venue_name', 'port_number', 'venue_config_venue_type',
'max_#_of_dot11_slots', 'max_#_of_ethernet_slots', 'failover_priority',
'wlc_primary_address', 'wlc_secondary_address', 'wlc_tertiary_address'
],
)),
],
),
match='dict',
)
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