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

update project

parent cf4fc02e
No related branches found
No related tags found
No related merge requests found
...@@ -68,13 +68,11 @@ ...@@ -68,13 +68,11 @@
# ] # ]
# #
from pprint import pprint
from typing import Mapping, Dict, List, Tuple, NamedTuple from typing import Mapping, Dict, List, Tuple, NamedTuple
from .agent_based_api.v1.type_defs import ( from .agent_based_api.v1.type_defs import (
DiscoveryResult, DiscoveryResult,
CheckResult,
StringTable, StringTable,
) )
...@@ -82,7 +80,6 @@ from .agent_based_api.v1 import ( ...@@ -82,7 +80,6 @@ from .agent_based_api.v1 import (
register, register,
Service, Service,
equals, equals,
check_levels,
Result, Result,
State, State,
SNMPTree, SNMPTree,
...@@ -123,7 +120,6 @@ def check_checkpoint_asg_diag(params, section: CheckPointASGDiag): ...@@ -123,7 +120,6 @@ def check_checkpoint_asg_diag(params, section: CheckPointASGDiag):
comment: str comment: str
summary = 'Last run ' + section.summary summary = 'Last run ' + section.summary
print (summary)
details = '\n\nTo verify this output use the "asg diag verify" command on the Check Point SMO cli,\n' details = '\n\nTo verify this output use the "asg diag verify" command on the Check Point SMO cli,\n'
state = State.OK state = State.OK
...@@ -195,4 +191,4 @@ register.check_plugin( ...@@ -195,4 +191,4 @@ register.check_plugin(
check_function=check_checkpoint_asg_diag, check_function=check_checkpoint_asg_diag,
check_default_parameters={}, check_default_parameters={},
check_ruleset_name='checkpoint_asg_diag', check_ruleset_name='checkpoint_asg_diag',
) )
\ No newline at end of file
No preview for this file type
...@@ -48,4 +48,4 @@ rulespec_registry.register( ...@@ -48,4 +48,4 @@ rulespec_registry.register(
match_type='dict', match_type='dict',
parameter_valuespec=_parameter_valuespec_checkpoint_asg_diag, parameter_valuespec=_parameter_valuespec_checkpoint_asg_diag,
title=lambda: _('Check Point ASG Diag'), title=lambda: _('Check Point ASG Diag'),
)) ))
\ 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