Werk #15848: mk_oracle: Fix asynchronous execution on systemd systems and direct call from the command line

Component Checks & agents
Title mk_oracle: Fix asynchronous execution on systemd systems and direct call from the command line
Date May 17, 2023
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.3.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.2.0 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.1.0p29 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
2.0.0p37 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

On systemd systems, the Oracle agent plugin did not properly execute any asynchronous SQL queries (see also werk #13732). Furthermore, when being called directly from the command line without any options, the plugin incorrectly reported Unhandled location and terminated, even if it was located under ..check_mk_agent/plugins/.

To the list of all Werks