[hobbit] hobbitlaunch.cfg question

Buchan Milne bgmilne at staff.telkomsa.net
Thu Jul 27 12:37:19 CEST 2006


On Tuesday 25 July 2006 13:05, Kolbjørn Barmen wrote:

>
> My idea is that I can leave the "original" hobbitlaunch.cfg untouched
> except for a "directory hobbitlaunch.d" at the end, and then override keys
> with files in that directory.

If some kind of include-like functionality were to be implemented (and I would 
vote for it to be in at least hobbitlaunch.cfg and hobbitgraph.cfg), it would 
be better to use an include statement with globs 
(eg "include /etc/hobbit/hobbitlaunch.d/*.cfg) rather than a directory 
statement. The reason for this is to ensure that you don't unexpectedly hit a 
backup/swap/temporary file (or, say .rpmsave/.rpmnew).

I would like to have an easier upgrade on my hobbit server with custom graph 
definitions, and the tasks to run that generate the data for these. 
Implementing something like this would make it easier for people to 
distribute extensions that need this (and package them etc.).

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/a68c929c/attachment.sig>


More information about the Xymon mailing list