Xymon Mailing List Archive search

centralized management of clientlaunch.cfg

list Henrik Størner
Wed, 17 Dec 2008 21:17:53 +0000 (UTC)
Message-Id: <gibqa1$1vv$user-7fe75da36485@xymon.invalid>

In <user-835fbea2f756@xymon.invalid> "Don Lachlan" <user-32e83f32b5ed@xymon.invalid> writes:
I have a number of custom scripts spread across multiple machines; I
understand how to configure them in clientlaunch.cfg  but I would like
to keep them in a single config file (it's impractical to maintain
this many individual configs). Has anyone written a tool to manage
push/pull of the configs and generating individual hobbit-clients.cfg,
or otherwise duplicate what bb-bbexttab did?
You could grab the "hobbitlaunch" program from the current development
branch; it has a new "ONHOST <pattern>" setting for each task - the
task will only run if the local hostname matches the <pattern>. E.g.

   [myscript]
       CMD $BBHOME/ext/myscript.sh
       ONHOST (www|mail).foo.com


Regards,
Henrik