[hobbit] Disable of http Test
James Wade
jkwade at futurefrontiers.com
Sat Oct 6 00:27:06 CEST 2007
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
-----Original Message-----
From: Galen Johnson [mailto:Galen.Johnson at sas.com]
Sent: Friday, October 05, 2007 3:59 PM
To: hobbit at hswn.dk
Subject: RE: [hobbit] Disable of http Test
I think you just need to remove the outer quotes...
$HOBBIT_HOME/bin/bb 198.168.0.222 \"disable $machine.http -1 Running
Deployment of from $FROM_STREAM to $TO_STREAM\"
=G=
-----Original Message-----
From: James Wade [mailto:jkwade at futurefrontiers.com]
Sent: Friday, October 05, 2007 4:45 PM
To: hobbit at hswn.dk
Subject: RE: [hobbit] Disable of http Test
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
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