Xymon Mailing List Archive search

Hobbit 4.1.0 client Add ext script

list Henrik Størner
Mon, 25 Jul 2005 15:39:39 +0200
Message-Id: <user-b55862e2804d@xymon.invalid>

On Mon, Jul 25, 2005 at 09:29:38AM -0400, Aiello, Steve (Corporate, consultant) wrote:
How do I add ext scripts to the hobbit client ? I tried adding the line:
CMD /usr/local/hobbit/server/ext/test.pl, to the
/usr/local/hobbit/client/etc/clientlaunch.cfg.  Do I just add to the
exisiting CMD line ?
You add a new section to the clientlaunch.cfg file. Like this:

[mytest]
	ENVFILE /usr/local/hobbit/client/etc/hobbitclient.cfg
	CMD /usr/local/hobbit/client/ext/test.pl
	INTERVAL 5m

The hobbitlaunch.cfg(5) man-page has more information about what you
can put in that file.


Regards,
Henrik