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

update project

parent 64ff638f
No related branches found
No related tags found
No related merge requests found
No preview for this file type
......@@ -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'),
......
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