[hobbit] Disable of http Test

James Wade jkwade at futurefrontiers.com
Fri Oct 5 22:45:01 CEST 2007


Hey,

I'm having problems scripting the disable.

I'm using ksh. Here's what I'm doing:

$HOBBIT_HOME/bin/bb 198.168.0.222 "\"disable $machine.http -1 Running
Deployment of from $FROM_STREAM to $TO_STREAM\""

Here's the debug output:
+ machine=server1
+ HOBBIT_HOME=/home/hobbit/client
+ FROM_STREAM=TEST1
+ TO_STREAM=TEST2
+ /home/hobbit/client/bin/bb 198.168.0.222 "disable tiers_trnprd6.http -1
Running Deployment from TEST1 to TEST2"

It doesn't work. Now if I grab the bottom line using cut and paste, and
execute it on the line manually, it works just fine.

I know it's the way you have to put the disable in double quotes, but I
can't seem to get it to work.

Any help would be appreciated.

Thanks..James

-----Original Message-----
From: James Wade [mailto:jkwade at futurefrontiers.com] 
Sent: Thursday, October 04, 2007 1:05 PM
To: hobbit at hswn.dk
Subject: RE: [hobbit] Disable of http Test

What about disable until O.K.?

I looked at the manpage and didn't see it.


Thanks....James

-----Original Message-----
From: Tom Georgoulias [mailto:tomg at mcclatchyinteractive.com] 
Sent: Thursday, October 04, 2007 11:54 AM
To: hobbit at hswn.dk
Subject: Re: [hobbit] Disable of http Test

Josh Luthman wrote:
> Just to clarify this, is this command
> 
> /home/shire/server/bin/bbcmd bin/bb 127.0.0.1 "disable foo.conn 60" then?
> 
> Is the 60 in seconds or minutes?

Minutes.

To run that command from a remote server and not on the hobbit server, 
you would need to use $BBDISP instead of 127.0.0.1.

Tom

To unsubscribe from the hobbit list, send an e-mail to
hobbit-unsubscribe at hswn.dk





To unsubscribe from the hobbit list, send an e-mail to
hobbit-unsubscribe at hswn.dk







More information about the Xymon mailing list