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

update project

parent cb475a48
No related branches found
No related tags found
No related merge requests found
......@@ -186,7 +186,6 @@ register.snmp_section(
'14', # ospfv3AreaNssaTranslatorEvents
'15', # ospfv3AreaStubMetricType
'16', # ospfv3AreaTEEnabled
# '9', # ospfv3AreaRowStatus
]
),
detect=exists('.1.3.6.1.2.1.191.1.2.1.2.*') # OSPFV3-MIB::ospfv3AreaImportAsExtern
......
......@@ -160,17 +160,6 @@ register.snmp_section(
'14', # ospfv3ReferenceBandwidth
'22', # ospfv3StubRouterSupport
'23', # ospfv3StubRouterAdvertisement
# '12', # ospfv3ExitOverflowInterval
# '13', # ospfv3DemandExtensions
# '15', # ospfv3RestartSupport
# '16', # ospfv3RestartInterval
# '17', # ospfv3RestartStrictLsaChecking
# '18', # ospfv3RestartStatus
# '19', # ospfv3RestartAge
# '20', # ospfv3RestartExitReason
# '21', # ospfv3NotificationEnable
# '24', # ospfv3DiscontinuityTime
# '25', # ospfv3RestartTime
]
),
detect=exists('.1.3.6.1.2.1.191.1.1.1.*') # OSPFV3-MIB::ospfv3RouterId
......
......@@ -232,15 +232,6 @@ register.snmp_section(
'18', # ospfv3IfMetricValue
'19', # ospfv3IfLinkScopeLsaCount
'20', # ospfv3IfLinkLsaCksumSum
# '7', # ospfv3IfTransitDelay
# '8', # ospfv3IfRetransInterval
# '16', # ospfv3IfRowStatus
# '17', # ospfv3IfDemand
# '21', # ospfv3IfDemandNbrProbe
# '22', # ospfv3IfDemandNbrProbeRetransLimit
# '23', # ospfv3IfDemandNbrProbeInterval
# '24', # ospfv3IfTEDisabled
# '25', # ospfv3IfLinkLSASuppression
]
),
SNMPTree(
......
......@@ -90,7 +90,6 @@ from cmk.base.plugins.agent_based.agent_based_api.v1.type_defs import (
)
from cmk.base.plugins.agent_based.utils.ospfv3 import (
ospf_nbr_addresstype,
ospf_nbr_hellosuppressed,
ospf_nbr_helperstatus,
ospf_nbr_helperexitreason,
......@@ -103,9 +102,6 @@ from cmk.base.plugins.agent_based.utils.ospfv3 import (
@dataclass
class OspfV3Neighbor:
# nbrLocalInterface: str,
# nbrAddressType: str
# nbrAddress: str
nbrRtrId: str
nbrOptions: str
nbrPriority: int
......@@ -137,9 +133,6 @@ def parse_ospfv3_neighbor(string_table: List[StringTable]) -> Dict[str, OspfV3Ne
nbrLocalInterface = get_short_if_name(ifName)
neighbors[f'{nbrAddress} on {nbrLocalInterface}'] = OspfV3Neighbor(
# nbrLocalInterface=nbrLocalInterface,
# nbrAddressType=ospf_nbr_addresstype(nbrAddressType),
# nbrAddress=nbrAddress,
nbrRtrId=render_ipv4_neighbor_id(nbrRtrId),
nbrOptions=nbrOptions,
nbrPriority=int(nbrPriority),
......
......@@ -88,7 +88,6 @@ from cmk.base.plugins.agent_based.agent_based_api.v1.type_defs import (
)
from cmk.base.plugins.agent_based.utils.ospfv3 import (
ospf_nbr_addresstype,
ospf_nbr_hellosuppressed,
ospf_nbr_helperstatus,
ospf_nbr_helperexitreason,
......
No preview for this file type
......@@ -7,7 +7,7 @@
# URL : https://thl-cmk.hopto.org
# Date : 2019-11-02
#
# OSPFv3 metrics plugin
# OSPFv3 plugin metrics
#
from cmk.gui.i18n import _
......
......@@ -7,7 +7,7 @@
# URL : https://thl-cmk.hopto.org
# Date : 2021-09-28
#
# wato plugin for ospfv3_neighbor check
# wato plugin for ospfv3 check
#
#
from cmk.gui.i18n import _
......@@ -300,7 +300,7 @@ rulespec_registry.register(
CheckParameterRulespecWithItem(
check_group_name='ospfv3_neighbor',
group=RulespecGroupCheckParametersNetworking,
item_spec=lambda: TextAscii(title=_('OSPFv3 Neighbor'), ),
item_spec=lambda: TextAscii(title=_('OSPFv3 neighbor'), ),
match_type='dict',
parameter_valuespec=_parameter_valuespec_ospfv3_neighbor,
title=lambda: _('OSPFv3 neighbor'),
......
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