diff --git a/web/plugins/wato/checkpoint_raid.py b/web/plugins/wato/checkpoint_raid.py deleted file mode 100644 index 352bde8cbcfe7c1d969934277c4ef1ef8be6b839..0000000000000000000000000000000000000000 --- a/web/plugins/wato/checkpoint_raid.py +++ /dev/null @@ -1,49 +0,0 @@ -#!/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 -# -# Check_MK checkpoint_raid WATO plugin -# -from cmk.gui.i18n import _ -from cmk.gui.valuespec import ( - Dictionary, - TextAscii, - TextUnicode, -) - -from cmk.gui.plugins.wato import ( - CheckParameterRulespecWithItem, - rulespec_registry, - RulespecGroupCheckParametersNetworking, -) - - -def _parameter_valuespec_checkpoint_raid(): - return Dictionary( - help=_(''), - elements=[ - ('ignore_disks', - TextUnicode( - title=_('list of comma separated disk IDs to ignore'), - help=_('This is useful for RAID Arrays with missing disks, like on the Smart-1 5150. There the ' - 'array is configured for 12 Disk but in the default Hardware are only 6 Disks.'), - default_value=None, - allow_empty=False, - )), - ], - ) - - -rulespec_registry.register( - CheckParameterRulespecWithItem( - check_group_name='checkpoint_raid', - group=RulespecGroupCheckParametersNetworking, - item_spec=lambda: TextAscii(title=_('RAID ID'), ), - match_type='dict', - parameter_valuespec=_parameter_valuespec_checkpoint_raid, - title=lambda: _('Check Point RAID'), - ))