Xymon Mailing List Archive search

analysis.cfg includes

3 messages in this thread

list Galen Johnson · Tue, 5 Jan 2016 00:23:51 +0000 ·
Hey,


Does analysis.cfg let you use the "directory" include like many of the other config files?  My analysis.cfg is getting a bit unwieldy.


thanks


=G=
list Jeremy Laidman · Tue, 05 Jan 2016 01:34:52 +0000 ·
Yes it does. At least as far back as 4.3.0, and possibly further,
analysis.cfg is loaded using the same code "stackfgets()" as for other
config files that support "include" and "directory".
quoted from Galen Johnson


On Tue, Jan 5, 2016 at 11:24 AM Galen Johnson <user-87f955643e3d@xymon.invalid> wrote:
Hey,


Does analysis.cfg let you use the "directory" include like many of the
other config files?  My analysis.cfg is getting a bit unwieldy.


thanks


=G=

list Japheth Cleaver · Tue, 5 Jan 2016 12:44:38 -0800 ·
Yep. At this point, all configuration files should now support "[optional]
include/directory" lines. (If any don't, let me know!)

The only recent exception was the cgioptions.cfg file prior to 4.3.18,
which was read in by the shell wrappers instead. This is now handled by
cgiwrap, which uses the same routines as below.


Regards,
-jc
quoted from Jeremy Laidman


On Mon, January 4, 2016 5:34 pm, Jeremy Laidman wrote:
Yes it does. At least as far back as 4.3.0, and possibly further,
analysis.cfg is loaded using the same code "stackfgets()" as for other
config files that support "include" and "directory".


On Tue, Jan 5, 2016 at 11:24 AM Galen Johnson <user-87f955643e3d@xymon.invalid>
wrote:
Hey,


Does analysis.cfg let you use the "directory" include like many of the
other config files?  My analysis.cfg is getting a bit unwieldy.


thanks


=G=