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
Checkmk Edition Checkmk Raw (CRE)
Checkmk Version 2.1.0p30 2.2.0p4 2.3.0b1
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

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