centreon / centreon-nsclient-build

Source use to build the centreon NSClient agent
19 stars 3 forks source link

Embedded plugin configuration files ? #15

Closed UrBnW closed 4 years ago

UrBnW commented 4 years ago

Hi,

Some plugins need a configuration file, I think about qwinsta.xml and dcdiag.xml. For now these configuration files sit next to centreon_plugins.exe.

Is there any way to put these default .xml configuration files into the centreon_plugins.exe binary archive, so that the plugins which need them would point their --config option to these embedded files by default ? Would rather be convenient.

Thank you 👍

garnier-quentin commented 4 years ago

Maybe i could put it directly in centreon_plugins (in the code)

UrBnW commented 4 years ago

Would be the best solution I think yes 👍