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

Delete cisco_eigrp_topology_table.py

parent 4d5444fb
No related branches found
No related tags found
No related merge requests found
#!/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
# Date : 2017-12-27
#
#
# Check_MK cisco_eigrp_topology_table WATO plugin
#
from cmk.gui.i18n import _
from cmk.gui.valuespec import (
Dictionary,
ListChoice,
TextAscii,
)
from cmk.gui.plugins.wato import (
CheckParameterRulespecWithItem,
rulespec_registry,
RulespecGroupCheckParametersNetworking,
)
_nowarnon = [('siaroutes', 'Stuck in active (SIA) routes'),
('activeroutes', 'Active routes')]
def _parameter_valuespec_cisco_eigrp_topology_table():
return Dictionary(
help=_(''),
elements=[
('nowarnon',
ListChoice(
title=_('no warning if EIRGP SIA/active route found'),
help=_('no warning if EIRGP Stuck in active (SIA) / active route found'),
choices=_nowarnon,
default_value=[],
),
)
],
)
rulespec_registry.register(
CheckParameterRulespecWithItem(
check_group_name='cisco_eigrp_topology_table',
group=RulespecGroupCheckParametersNetworking,
item_spec=lambda: TextAscii(title=_('Cisco EIGRP topology table'), ),
match_type='dict',
parameter_valuespec=_parameter_valuespec_cisco_eigrp_topology_table,
title=lambda: _('Cisco EIGRP topology table'),
))
\ No newline at end of file
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