[hobbit] include directives in hobbitlaunch.cfg, hobbitgraph.cfg

Buchan Milne bgmilne at staff.telkomsa.net
Thu Jul 27 12:40:51 CEST 2006


On Tuesday 30 May 2006 11:38, Henrik Stoerner wrote:
> 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.

Argh, I missed this mail. 


Using globbing would prevent tricky problems with backup files, temporary 
files. For example, one of our developers did an include for the contents of 
a directory in a web application. While trying to troubleshoot, another 
member of our team had the file open in vim, and had very weird results do to 
the application trying to interpret the swap file ...

For people packaging extensions (specifically RPMs, maybe other packaging 
systems), .rpmsave/.rpmnew files may also produce weird effects.

But, even if it stays as is it will help, thanks!

Regards,
Buchan

-- 
Buchan Milne
ISP Systems Specialist
B.Eng,RHCE(803004789010797),LPIC-2(LPI000074592)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: not available
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20060727/99eafb6e/attachment.sig>


More information about the Xymon mailing list