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

update project

parent 290471f5
No related branches found
No related tags found
No related merge requests found
......@@ -52,9 +52,9 @@ class CheckpointLicensing(NamedTuple):
activationstatus: str
def parse_inv_checkpoint_support(string_table: List[StringTable]) -> List:
def parse_inv_checkpoint_support(string_table: StringTable) -> List:
section = []
for license in string_table[0]:
for license in string_table:
license = CheckpointLicensing(*license)
if not license.containerck == '':
section.append(license)
......@@ -93,21 +93,19 @@ def inventory_checkpoint_support(section: List) -> InventoryResult:
register.snmp_section(
name='inv_checkpoint_support',
parse_function=parse_inv_checkpoint_support,
fetch=[
SNMPTree(
base='.1.3.6.1.4.1.2620.1.6.18.2', # CHECKPOINT-MIB::licensingAssetInfo
oids=[
'1', # licensingAssetAccountId
'2', # licensingAssetPackageDescription
'3', # licensingAssetContainerCK
'4', # Signature key
'5', # licensingAssetContainerSKU
'6', # licensingAssetSupportLevel
'7', # licensingAssetSupportExpiration
'8', # licensingAssetActivationStatus
]
),
],
fetch=SNMPTree(
base='.1.3.6.1.4.1.2620.1.6.18.2', # CHECKPOINT-MIB::licensingAssetInfo
oids=[
'1', # licensingAssetAccountId
'2', # licensingAssetPackageDescription
'3', # licensingAssetContainerCK
'4', # Signature key
'5', # licensingAssetContainerSKU
'6', # licensingAssetSupportLevel
'7', # licensingAssetSupportExpiration
'8', # licensingAssetActivationStatus
]
),
detect=any_of(
startswith('.1.3.6.1.2.1.1.2.0', '.1.3.6.1.4.1.2620'), # sysObjectID == CheckPoint
all_of(
......
No preview for this file type
......@@ -8,6 +8,6 @@
'num_files': 2,
'title': 'Check Point appliance support inventory plugin',
'version': '20210208.v.0.1',
'version.min_required': '2.0.0b8',
'version.packaged': '2021.07.14',
'version.min_required': '2.0.0',
'version.packaged': '2021.09.20',
'version.usable_until': None}
\ No newline at end of file
......@@ -29,4 +29,4 @@ declare_invtable_view(
'.software.check_point.support:',
_('Check Point support'),
_('Check Point support'),
)
\ No newline at end of file
)
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