Deploy Oracle Plugin with Agent Backery but without any configuration files

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?

checkmk-enterprise, version 1.6p17

Any help is appreciated.
Thanks.

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 :slight_smile:
At the moment i cannot say what should be modified if no config is available to not deploy the config files.

1 Like

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.

Regards
Thorsten

3 Likes

Hi Thorsten,

thanks a lot for this information, this is exactly what we need.

Best Regards
Thomas

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.