diff --git a/checkpoint_mho_buffers.mkp b/checkpoint_mho_buffers.mkp index c95f83735f558ec52b9bf8fa6e30b2c83aebd11a..a5df0745b63a0f2afe7f73902e33f2e782549511 100644 Binary files a/checkpoint_mho_buffers.mkp and b/checkpoint_mho_buffers.mkp differ diff --git a/web/plugins/wato/checkpoint_mho_buffers.py b/web/plugins/wato/checkpoint_mho_buffers.py index 3680032f4bca2edb0519087c69d0b598cbbc6363..3975773f3556d8b3325fd38121e4d4d8f544c229 100644 --- a/web/plugins/wato/checkpoint_mho_buffers.py +++ b/web/plugins/wato/checkpoint_mho_buffers.py @@ -10,55 +10,16 @@ from cmk.gui.i18n import _ from cmk.gui.valuespec import ( Dictionary, - MonitoringState, FixedValue, ) from cmk.gui.plugins.wato import ( - CheckParameterRulespecWithItem, rulespec_registry, - RulespecGroupCheckParametersNetworking, RulespecGroupCheckParametersDiscovery, HostRulespec, ) -# def _parameter_valuespec_checkpoint_mho_buffers(): -# return Dictionary( -# elements=[ -# ('state_admin_down', -# MonitoringState( -# title=_('State if port is Admin down'), -# help=_('Monitoring state if port is Admin down'), -# default_value=1, -# )), -# ('state_link_down', -# MonitoringState( -# title=_('State if port Link state is down'), -# help=_('Monitoring state if port link state is down'), -# default_value=2, -# )), -# ('state_speed_changed', -# MonitoringState( -# title=_('State if port speed has changed'), -# help=_('Monitoring state if port speed has changed from discovery'), -# default_value=1, -# )), -# ], -# ) -# -# -# rulespec_registry.register( -# CheckParameterRulespecWithItem( -# check_group_name='checkpoint_mho_buffers', -# group=RulespecGroupCheckParametersNetworking, -# match_type='dict', -# parameter_valuespec=_parameter_valuespec_checkpoint_mho_buffers, -# title=lambda: _('Check Point MHO buffers'), -# item_spec=lambda: TextAscii(title=_('Port index'), ), -# )) - - def _valuespec_discovery_checkpoint_mho_buffers(): return Dictionary( title=_('Check Point MHO buffers'),