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

update project

parent 517fc0e8
No related branches found
No related tags found
No related merge requests found
......@@ -22,7 +22,7 @@
#
import time
from typing import List, NamedTuple, Optional, Dict
from typing import Dict
from dataclasses import dataclass
from cmk.base.plugins.agent_based.agent_based_api.v1.type_defs import (
DiscoveryResult,
......@@ -46,7 +46,6 @@ from cmk.base.plugins.agent_based.agent_based_api.v1 import (
get_value_store,
IgnoreResultsError,
check_levels,
render,
)
......@@ -71,8 +70,8 @@ class CheckPointMhoPortBuffer:
def parse_checkpoint_mho_buffers(string_table: StringTable) -> Dict[str, CheckPointMhoPortBuffer]:
section = {}
for line in string_table:
_0_frames, _0_octet, _0_discard, _1_frames, _1_octet, _1_discard, _2_frames, _2_octet, _2_discard, _3_frames,\
_3_octet, _3_discard, _4_frames, _4_octet, _4_discard, _5_frames, _5_octet, _5_discard, _6_frames, _6_octet,\
_0_frames, _0_octet, _0_discard, _1_frames, _1_octet, _1_discard, _2_frames, _2_octet, _2_discard, _3_frames, \
_3_octet, _3_discard, _4_frames, _4_octet, _4_discard, _5_frames, _5_octet, _5_discard, _6_frames, _6_octet, \
_6_discard, _7_frames, _7_octet, _7_discard, index, label, link_state, admin_state = line
if len(string_table) < 100:
......
No preview for this file type
......@@ -10,7 +10,6 @@
from cmk.gui.i18n import _
from cmk.gui.valuespec import (
Dictionary,
TextAscii,
MonitoringState,
FixedValue,
)
......
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