Xymon Mailing List Archive search

Disable of http Test

list Charles Jones
Fri, 05 Oct 2007 16:13:53 -0700
Message-Id: <user-9a86caf7de66@xymon.invalid>

MSG="disable $MACHINE.http -1 Running Deployment from $FROM_STREAM to $TO_STREAM"
$BB $BBDISP "$MSG"

BB, BBDISP, and MACHINE are already set for you by Hobbit (to test use the "bbcmd" shell).  I used MSG because STATUS seemed a bit confusing as there is a "status" message type.

-Charles

James Wade wrote:
Hi Galen,

I tried that but it didn't work. I finally got it to work.
I looked at some of the other scripts and did the same thing
they were doing:

STATUS="disable $machine.http -1 Running Deployment of from $FROM_STREAM to
$TO_STREAM"

$HOBBIT_HOME/bin/bb 198.168.0.222 "$STATUS"

This worked fine.

James