Werk #10848: mk_oracle: Support for configuration directory

Component Checks & agents
Title mk_oracle: Support for configuration directory
Date May 27, 2020
Level Trivial Change
Class New Feature
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.0.0i1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

A configuration directory for mk_oracle has been added. mk_oracle usually reads mk_oracle.cfg. Now, it also reads all files with *.cfg from $MK_CONFDIR/mk_oracle.d. This feauture is needed for setups with bakery and local changes on the database server. It is possible to configure through the bakery and add custom SQLs in configuration directory mk_oracle.d.

All variables defined in files from the mk_oracle.d directory will overwrite entries with the same name from mk_oracle.cfg. Further, all variables defined in *.cfg files within the mk_oracle.d, must be unique, otherwise the last read file wins.

To the list of all Werks