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

update project

parent f0ade1d0
No related branches found
No related tags found
No related merge requests found
......@@ -111,6 +111,7 @@ class OspfV3VirtualLink:
VirtNbrRestartHelperStatus: str
VirtNbrRestartHelperAge: int
VirtNbrRestartHelperExitReason: str
VitrNbrLocalInterface: str
def parse_ospfv3_virtuallink(string_table: List[StringTable]) -> Dict[str, OspfV3VirtualLink]:
......@@ -145,6 +146,7 @@ def parse_ospfv3_virtuallink(string_table: List[StringTable]) -> Dict[str, OspfV
VirtNbrRestartHelperStatus=ospf_nbr_helperstatus(VirtNbrRestartHelperStatus),
VirtNbrRestartHelperAge=int(VirtNbrRestartHelperAge),
VirtNbrRestartHelperExitReason=ospf_nbr_helperexitreason(VirtNbrRestartHelperExitReason),
VitrNbrLocalInterface=nbrLocalInterface,
)
if virtual_links:
return virtual_links
......@@ -198,6 +200,7 @@ def check_ospfv3_virtuallink(item, params, section: Dict[str, OspfV3VirtualLink]
yield Result(state=State.OK, notice=f'Virtual link helper age: {virtual_link.VirtNbrRestartHelperAge}')
yield Result(state=State.OK,
notice=f'Virtual link helper exit reason: {virtual_link.VirtNbrRestartHelperExitReason}')
yield Result(state=State.OK, notice=f'Virtual link local interface: {virtual_link.VitrNbrLocalInterface}')
yield Metric(name='ospfv3_events', value=virtual_link.VirtNbrEvents)
yield Metric(name='ospfv3_lsretransqlen', value=virtual_link.VirtNbrLsRetransQLen)
......
No preview for this file type
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