Werk #15760: mk_oracle: '--no-spool' command-line option added

Component Agent bakery
Title mk_oracle: '--no-spool' command-line option added
Date Jun 15, 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.0p4 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.1.0p30 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

Previously, mk_oracle behaved differently depending on if it was run from CLI or the Checkmk agent. The approach wasn't consistent and led to errors if the script was called from CLI without arguments.

Now, mk_oracle will always behave as if run from the agent unless additional arguments are provided.

Additionally, new command-line argument was introduced, '--no-spool'. If used on host with systemd, the output of mk_oracle will be written to stdout instead of the spool file. The option doesn't influence the behavior of the script if xinetd is used.

To the list of all Werks