diff --git a/cmk/base/modes/check_mk.py b/cmk/base/modes/check_mk.py index 97202b2fbb0..0404333163e 100644 --- a/cmk/base/modes/check_mk.py +++ b/cmk/base/modes/check_mk.py @@ -2307,6 +2307,7 @@ def __call__( dry_run: bool, perfdata_format: Literal["pnp", "standard"], show_perfdata: bool, + keepalive: bool, ) -> Submitter: ... @@ -2431,6 +2432,7 @@ def mode_check( host_name=hostname, perfdata_format=("pnp" if config.perfdata_format == "pnp" else "standard"), show_perfdata=options.get("perfdata", False), + keepalive=keepalive, ), exit_spec=config_cache.exit_code_spec(hostname), ) diff --git a/cmk/checkengine/submitters.py b/cmk/checkengine/submitters.py index 96b0b38b8a8..f8fdb4dcf38 100644 --- a/cmk/checkengine/submitters.py +++ b/cmk/checkengine/submitters.py @@ -89,6 +89,7 @@ def get_submitter( dry_run: bool, perfdata_format: Literal["pnp", "standard"], show_perfdata: bool, + keepalive: bool, ) -> Submitter: """Enterprise should use `cmk.base.cee.keepalive.submitters`.""" if dry_run: