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 | ||||||
Level | Kleine Änderung | ||||||
Klasse | Bugfix | ||||||
Kompatibilität | Kompatibel - benötigt kein manuelles Eingreifen | ||||||
Checkmk versions & editions |
|
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.