Skip to content

Commit

Permalink
fix format check
Browse files Browse the repository at this point in the history
  • Loading branch information
schorschii committed Oct 3, 2024
1 parent 8018fbd commit c4ad9a0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 4 additions & 2 deletions cmk/base/legacy_checks/ibm_tl_changer_devices.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,10 @@ def parse_ibm_tl_changer_devices(string_table: StringTable) -> StringTable:

check_info["ibm_tl_changer_devices"] = LegacyCheckDefinition(
parse_function=parse_ibm_tl_changer_devices,
detect=any_of(startswith(".1.3.6.1.2.1.1.2.0", ".1.3.6.1.4.1.32925.1"),
startswith(".1.3.6.1.2.1.1.2.0", ".1.3.6.1.4.1.2.6.254")),
detect=any_of(
startswith(".1.3.6.1.2.1.1.2.0", ".1.3.6.1.4.1.32925.1"),
startswith(".1.3.6.1.2.1.1.2.0", ".1.3.6.1.4.1.2.6.254")
),
fetch=SNMPTree(
base=".1.3.6.1.4.1.14851.3.1.11.2.1",
oids=["4", "8", "9"],
Expand Down
6 changes: 4 additions & 2 deletions cmk/base/legacy_checks/ibm_tl_media_access_devices.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,10 @@ def check_ibm_tl_media_access_devices(item, params, parsed):


check_info["ibm_tl_media_access_devices"] = LegacyCheckDefinition(
detect=any_of(startswith(".1.3.6.1.2.1.1.2.0", ".1.3.6.1.4.1.32925.1"),
startswith(".1.3.6.1.2.1.1.2.0", ".1.3.6.1.4.1.2.6.254")),
detect=any_of(
startswith(".1.3.6.1.2.1.1.2.0", ".1.3.6.1.4.1.32925.1"),
startswith(".1.3.6.1.2.1.1.2.0", ".1.3.6.1.4.1.2.6.254")
),
fetch=[
SNMPTree(
base=".1.3.6.1.4.1.14851.3.1.6.2.1",
Expand Down

0 comments on commit c4ad9a0

Please sign in to comment.