diff --git a/agent_based/checkpoint_asg_diag.py b/agent_based/checkpoint_asg_diag.py index e4528a06056f3c7f67bb6bf30a2e015c04bd0426..0f64892cf675d79e9fad003b028b10f5b90b901a 100644 --- a/agent_based/checkpoint_asg_diag.py +++ b/agent_based/checkpoint_asg_diag.py @@ -68,13 +68,11 @@ # ] # -from pprint import pprint from typing import Mapping, Dict, List, Tuple, NamedTuple from .agent_based_api.v1.type_defs import ( DiscoveryResult, - CheckResult, StringTable, ) @@ -82,7 +80,6 @@ from .agent_based_api.v1 import ( register, Service, equals, - check_levels, Result, State, SNMPTree, @@ -123,7 +120,6 @@ def check_checkpoint_asg_diag(params, section: CheckPointASGDiag): comment: str 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' state = State.OK @@ -195,4 +191,4 @@ register.check_plugin( check_function=check_checkpoint_asg_diag, check_default_parameters={}, check_ruleset_name='checkpoint_asg_diag', -) +) \ No newline at end of file diff --git a/checkpoint_asg_diag.mkp b/checkpoint_asg_diag.mkp index 53e116f3346f6001c4b6748fd4110d040e77dcb4..2d910cc08f018ff4fbb37abed82d3b8a4b3b0902 100644 Binary files a/checkpoint_asg_diag.mkp and b/checkpoint_asg_diag.mkp differ diff --git a/web/plugins/wato/checkpoint_asg_diag.py b/web/plugins/wato/checkpoint_asg_diag.py index b65f88b8e526a61fa4e60b6854481ed59bf05438..f2257df7002746d09fd29ebfe3cc5048f8d48818 100644 --- a/web/plugins/wato/checkpoint_asg_diag.py +++ b/web/plugins/wato/checkpoint_asg_diag.py @@ -48,4 +48,4 @@ rulespec_registry.register( match_type='dict', parameter_valuespec=_parameter_valuespec_checkpoint_asg_diag, title=lambda: _('Check Point ASG Diag'), - )) + )) \ No newline at end of file