Xymon Mailing List Archive search

Hobbit 4.1.0 client Add ext script

2 messages in this thread

list Steve Aiello · Mon, 25 Jul 2005 09:29:38 -0400 ·
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 ?
list Henrik Størner · Mon, 25 Jul 2005 15:39:39 +0200 ·
quoted from Steve Aiello
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