[hobbit] Using variables in clientlaunch.cfg?

Henrik Stoerner henrik at hswn.dk
Sat Jul 29 08:56:28 CEST 2006


On Fri, Jul 28, 2006 at 04:02:45PM -0700, Charles Jones wrote:
> Another option would be, if clientlaunch could handle variables:
> ------------------------------------------------------------------------------
> [tomcat_threads]
>         	ENVFILE /home/hobbit/client/etc/hobbitclient.cfg
>                 CMD /home/hobbit/client/ext/$HOSTNAME_tct.sh
>                 INTERVAL 5m
> ------------------------------------------------------------------------------

It can. Any environment variable, or setting from the hobbitclient.cfg
file, can be used in the settings in clientlaunch.cfg.

> I imagine this method though would generate errors when hobbit tries to 
> execute the script on the hosts where it does not exist?

It would, but after 5 attempts it would automatically disable the task.


Henrik




More information about the Xymon mailing list