Re: [Nagios-devel] configuration directory

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Guest

Re: [Nagios-devel] configuration directory

Post by Guest »

On 2013-09-12 13:33, AL13N wrote:
> This should be a patch for
> A) allowing multiple main config files
>
> i haven't compiled/run/tested this yet, but this is the kind of thing i
> thought would be good.
>
> can someone please tell me if i'm working in the right direction or not?
>

Sort of, and then again, no. It would be good if, as a first step, we
read all main-config-parameters from read_main_config_file() (or some
other function which just groks key/value pairs that gets fed by one
or more invocations of read_main_config_file()).

That way the patch wouldn't have to fiddle with object config reading,
which won't work properly unless you also add multi-config support to
read_object_config_files().

--
Andreas Ericsson andreas.ericsson@op5.se
OP5 AB www.op5.se
Tel: +46 8-230225 Fax: +46 8-230231

Considering the successes of the wars on alcohol, poverty, drugs and
terror, I think we should give some serious thought to declaring war
on peace.





This post was automatically imported from historical nagios-devel mailing list archives
Original poster: ae@op5.se
Locked