Xymon Mailing List Archive search

Hobbit client external script debugging

list David Gore
Tue, 08 Nov 2005 16:07:01 +0000
Message-Id: <user-158cd066c160@xymon.invalid>

 From the hobbit client install:

~client/bin/bbcmd <path_to_script>

Perhaps something like:

client> bin/bbcmd sh -x ext/myscript.sh or

client> bin/bbcmd perl -ds ext/myscript.pl

David

*e-mail via SUSE Linux 9.3 and other open source tools.


Pat Vaughan wrote:
How do people who run the hobbit client debugging their external scripts? 
With BB I usually export BBHOME and run $BBHOME/etc/bbdef.sh from my
current shell and I can run my external scripts in the forground and see
what they're doing.

I suppose that I could change my external scripts to run every minute or
two and monitor the log files, but I'd rather run them as needed while
working on them.  Or I could keep around a BB client for each platform
that I need to tweak scripts on.

Is there another option that I've overlooked?