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

update project

parent 14fdf37c
No related branches found
No related tags found
No related merge requests found
......@@ -86,16 +86,10 @@ def parse_checkpoint_inv_base(string_table: List[StringTable]) -> List:
def inventory_checkpoint_base(section: List) -> InventoryResult:
class invEntry(NamedTuple):
invPath: list
key: str
value: str
for entry in section:
entry = invEntry(*entry)
for invPath, key, value in section:
yield Attributes(
path=entry.invPath,
inventory_attributes={entry.key: entry.value})
path= invPath,
inventory_attributes={key: value})
register.snmp_section(
......
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