On Wednesday 17 January 2007 13:54, Henrik Stoerner wrote:
On Wed, Jan 17, 2007 at 01:02:21PM +0100, Stef Coene wrote:
The second problem is the fact that I want to distribute the same client and scripts to all my servers. So the clienlaunch config file needs a parameter where I can specify on which server I want to run the tests (in the old BigBrother days, there was a config file for this). I don't think this is hard to do, but my C knowledge is really that bad that I don't even try to do this :(
Try this modification for hobbitlaunch; it adds an "ONHOST" setting to hobbitlaunch.cfg, so a task will be disabled unless the local hostname matches this expression. E.g. if you have a task that should only run on hosts whose hostname begins with "web", then
[webchecks] ENVFILE /usr/lib/hobbit/server/etc/hobbitserver.cfg CMD $BBHOME/ext/webchecks.sh INTERVAL 5m ONHOST ^web Pff. Help. It's not working. But that's not why I'm saying help. I'm saying help because I know that all the changes I need are easy to implement, but my C knowledge is 0, nada, zero :(( (implementing this in perl will take me 2 minutes)
Stef