Branch: refs/heads/master
Home:
https://github.com/Checkmk/checkmk
Commit: 54454d350cbce993fe37290c93ffa6c2ec69bfe2
https://github.com/Checkmk/checkmk/commit/54454d350cbce993fe37290c93ffa6c2e…
Author: Sofia Colakovic <sofia.colakovic(a)checkmk.com>
Date: 2024-02-07 (Wed, 07 Feb 2024)
Changed paths:
M cmk/base/automations/check_mk.py
M cmk/base/core_nagios.py
M cmk/base/server_side_calls/_active_checks.py
M tests/unit/cmk/base/test_server_side_calls.py
Log Message:
-----------
active checks: fix missing stored password error
analyse-service and service-discovery-preview automations crashed with the error
'The stored password {password name} used by host {host name} does not exist.'
Since these 2 automations only return service descriptions, passing stored passwords
wasn't
necessary in the past.
Now, service descriptions and the command arguments are generated in the same step,
requiring stored passwords also for these 2 automations.
CMK-15942
Change-Id: I4bb34d3f89bf97296cc50ac8b3df0cad65a06fb8