From 016634846e143ed62730db701c9f111d5a3b9761 Mon Sep 17 00:00:00 2001 From: thl-cmk <thl-cmk@outlook.com> Date: Sun, 23 Apr 2023 11:38:53 +0000 Subject: [PATCH] Delete checkpoint_raid.py --- web/plugins/wato/checkpoint_raid.py | 49 ----------------------------- 1 file changed, 49 deletions(-) delete mode 100644 web/plugins/wato/checkpoint_raid.py diff --git a/web/plugins/wato/checkpoint_raid.py b/web/plugins/wato/checkpoint_raid.py deleted file mode 100644 index 352bde8..0000000 --- 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'), - )) -- GitLab