We want to deploy the Oracle Plugin with the Agent Backery rule “ORACLE Databases (Linux, Solaris, AIX)” without any configuration.
When we don’t select any of the configuration options, the mk_oracle.cfg and sqlnet.ora are still deployed to the etc-directory of the agent and are also overwritten when a new version of the agent is deployed.
A workaround would be to deploy the Oracle plugin with the rule “Deploy custom files with agent”, but we want to use the original rule if this is possible.
Does someone know how we can deploy the Oracle Plugin without the configuration files?
The only option i know would be to copy the bakery file to your local directory and then modify it that no config is created and included with the plugin.
Copy mk_oracle from “~/share/check_mk/agents/bakery” to your “~/local/share/check_mk/agents/bakery”
The modification is a little bit more then other plugins
At the moment i cannot say what should be modified if no config is available to not deploy the config files.
Hi,
the following werk is a solution:
Werk #10848: mk_oracle: Support for configuration directory
This will be part of 1.7 but could easily backported to 1.6 as well.
Place configuration files in /etc/check_mk/mk_oracle.d. The definition will overwrite entries from /etc/check_mk/mk_oracle.cfg from the bakery.