Xymon Mailing List Archive search

include directives in hobbitlaunch.cfg, hobbitgraph.cfg

list Henrik Størner
Tue, 30 May 2006 11:38:07 +0200
Message-Id: <user-8dff745f0a37@xymon.invalid>

On Mon, Jan 23, 2006 at 06:10:23PM +0200, Buchan Milne wrote:
Since we're looking to package some of our (server and client) extension scripts for hobbits in RPMs (to work nicely with the rest of our server deployment setup for Linux boxen), it would be really convenient if we could dump the entry for hobbitlaunch.cfg/clientlaunch.cfg and hobbitgraph.cfg in separate files, and use include directives (with support for globs) in the relevant config files. ie, supporting something like:

include /etc/hobbit/hobbitlaunch.d/*.cfg
This is in 4.2. In your main hobbitlaunch.cfg, put a line with

directory /etc/hobbit/hobbitlaunch.d/

and it will include all files in this directory as if they were part of
the main file.


Regards,
Henrik