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

Komponente Agent bakery
Titel mk_oracle: '--no-spool' command-line option added
Datum 15.06.2023
Checkmk Edition Checkmk Raw (CRE)
Checkmk-Version 2.1.0p30 2.2.0p4 2.3.0b1
Level Kleine Änderung
Klasse Bugfix
Kompatibilität Kompatibel - benötigt kein manuelles Eingreifen

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.

Zur Liste aller Werks