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 »

>>-----Original Message-----
>>From: Andreas Ericsson [mailto:ae@op5.se]
>>Sent: Wednesday, September 04, 2013 6:33 AM
>>To: AL13N
>>Cc: Nagios Developers List
>>Subject: Re: [Nagios-devel] configuration directory
>>
>>On 2013-09-04 12:51, AL13N wrote:
>>> would this mean that if you have
>>>
>>> setting1=3Dvalue
>>>
>>> setting2=3Dvalue
>>>
>>> include=3D/path/to/foo
>>>
>>> setting3=3Dvalue
>>>
>>> that being parsed would:
>>> 1) setting1
>>> 2) setting2
>>> 3) all from /path/to/foo if it's a file or directory
>>> 4) setting3
>>>
>>>
>>> is this the priority that you aim for?
>>>
>>
>>No. All variables from one file should be parsed before any
>>variables
>>from a different file, but the include-files from one file get
>>parsed
>>before we move along to the next file in that directory.
>
> I know I'm late to this discussion, but please don't do this. If you
> insist, please don't use the word "include", as the behavior you descri=
be
> is not the behavior one expects from the word "include". Perhaps "appen=
d"?

iinm there's already include_cfg for host configs... which is similar in
functionality...






This post was automatically imported from historical nagios-devel mailing list archives
Original poster: alien@rmail.be
Locked