Xymon Mailing List Archive search

bb - delete column

9 messages in this thread

list Sabeer MZ · Tue, 6 Feb 2007 17:53:00 +0530 ·
dear all,

By mistake I added 'smpt' column for one of my clients using bb-hosts.
Now I m trying to delete that column using bb on hobbit server but no luck.

[hobbit at monitor bin]$ ./bb 24.18.160.214 drop 24.18.160.210 smtp
Hobbit version 4.2.0
Usage: ./bb [--debug] [--proxy=http://ip.of.the.proxy:port/] RECIPIENT DATA
  RECIPIENT: IP-address, hostname or URL
  DATA: Message to send, or "-" to read from stdin

thanks
Sabeer MZ
list Stephane Caminade · Tue, 06 Feb 2007 13:30:22 +0100 ·
quoted from Sabeer MZ
Sabeer MZ a écrit :
dear all,

By mistake I added 'smpt' column for one of my clients using bb-hosts.
Now I m trying to delete that column using bb on hobbit server but no 
luck.

[hobbit at monitor bin]$ ./bb 24.18.160.214 drop 24.18.160.210 smtp
Hobbit version 4.2.0
Usage: ./bb [--debug] [--proxy=http://ip.of.the.proxy:port/] RECIPIENT 
DATA
 RECIPIENT: IP-address, hostname or URL
 DATA: Message to send, or "-" to read from stdin

thanks
Sabeer MZ

Add quotes to the command you wish to execute :
./bb 24.18.160.214 "drop 24.18.160.210 smtp"


-- 
Stephane Caminade
Administrateur Systemes et Reseaux
                                   \  <user-b664a384004a@xymon.invalid>
Institut d'Astrophysique Spatiale  /  tel : (XX) (X) XX XX XX XX
Batiment 121, Universite Paris XI  \  fax : (XX) (X) XX XX XX XX
F-91405 ORSAY Cedex                /  www : http://www.ias.u-psud.fr/

list Sabeer MZ · Tue, 6 Feb 2007 18:27:10 +0530 ·
Hello Stephane,

Many thanks, the command executed without any errors and my hobbit
monitoring page is still showing purple. I do see 'smtp' column in it.

1. removed <smtp-entry> from bb-hosts file.
2. bb <hobbit-server> "drop client smtp"

Am i missing any steps here for deleting 'smtp' column from monitoring ?


thanks
Sabeer MZ
quoted from Stephane Caminade


On 2/6/07, Stephane Caminade <user-b664a384004a@xymon.invalid> wrote:
Sabeer MZ a écrit :
dear all,

By mistake I added 'smpt' column for one of my clients using bb-hosts.
Now I m trying to delete that column using bb on hobbit server but no
luck.

[hobbit at monitor bin]$ ./bb 24.18.160.214 drop 24.18.160.210 smtp
Hobbit version 4.2.0
Usage: ./bb [--debug] [--proxy=http://ip.of.the.proxy:port/] RECIPIENT
DATA
 RECIPIENT: IP-address, hostname or URL
 DATA: Message to send, or "-" to read from stdin

thanks
Sabeer MZ

Add quotes to the command you wish to execute :
./bb 24.18.160.214 "drop 24.18.160.210 smtp"


--
Stephane Caminade
Administrateur Systemes et Reseaux
                                   \  <user-b664a384004a@xymon.invalid>
Institut d'Astrophysique Spatiale  /  tel : (XX) (X) XX XX XX XX
Batiment 121, Universite Paris XI  \  fax : (XX) (X) XX XX XX XX
F-91405 ORSAY Cedex                /  www : http://www.ias.u-psud.fr/

list Rich Smrcina · Tue, 06 Feb 2007 07:06:47 -0600 ·
Whatever name you used in bb-hosts you need to use in the drop command. 
  From $BBHOME/server:

bin/bb 127.0.0.1 "drop <hostname> <service>"

The hints and tricks says to use the localhost IP address (although it 
should not matter).  hostname is the identifier in bb-hosts and service 
in your case is smpt
quoted from Sabeer MZ

Sabeer MZ wrote:
Hello Stephane,

Many thanks, the command executed without any errors and my hobbit
monitoring page is still showing purple. I do see 'smtp' column in it.

1. removed <smtp-entry> from bb-hosts file.
2. bb <hobbit-server> "drop client smtp"

Am i missing any steps here for deleting 'smtp' column from monitoring ?


thanks
Sabeer MZ


On 2/6/07, Stephane Caminade <user-b664a384004a@xymon.invalid> wrote:
Sabeer MZ a écrit :
dear all,

By mistake I added 'smpt' column for one of my clients using bb-hosts.
Now I m trying to delete that column using bb on hobbit server but no
luck.

[hobbit at monitor bin]$ ./bb 24.18.160.214 drop 24.18.160.210 smtp
Hobbit version 4.2.0
Usage: ./bb [--debug] [--proxy=http://ip.of.the.proxy:port/] RECIPIENT
DATA
 RECIPIENT: IP-address, hostname or URL
 DATA: Message to send, or "-" to read from stdin

thanks
Sabeer MZ

Add quotes to the command you wish to execute :
./bb 24.18.160.214 "drop 24.18.160.210 smtp"


-- 

Stephane Caminade
Administrateur Systemes et Reseaux
                                   \  <user-b664a384004a@xymon.invalid>
Institut d'Astrophysique Spatiale  /  tel : (XX) (X) XX XX XX XX
Batiment 121, Universite Paris XI  \  fax : (XX) (X) XX XX XX XX
F-91405 ORSAY Cedex                /  www : http://www.ias.u-psud.fr/

-- 

Rich Smrcina
VM Assist, Inc.
Phone: XXX-XXX-XXXX
Ans Service:  XXX-XXX-XXXX
user-61add9955ef9@xymon.invalid

Catch the WAVV!  http://www.wavv.org
WAVV 2007 - Green Bay, WI - May 18-22, 2007
list Sabeer MZ · Tue, 6 Feb 2007 18:45:30 +0530 ·
cooooool. that worked. :(

Many thanks to all
Sabeer MZ
quoted from Rich Smrcina

On 2/6/07, Rich Smrcina <user-cf452ff334e0@xymon.invalid> wrote:
Whatever name you used in bb-hosts you need to use in the drop command.
  From $BBHOME/server:

bin/bb 127.0.0.1 "drop <hostname> <service>"

The hints and tricks says to use the localhost IP address (although it
should not matter).  hostname is the identifier in bb-hosts and service
in your case is smpt

Sabeer MZ wrote:
Hello Stephane,

Many thanks, the command executed without any errors and my hobbit
monitoring page is still showing purple. I do see 'smtp' column in it.

1. removed <smtp-entry> from bb-hosts file.
2. bb <hobbit-server> "drop client smtp"

Am i missing any steps here for deleting 'smtp' column from monitoring ?


thanks
Sabeer MZ


On 2/6/07, Stephane Caminade <user-b664a384004a@xymon.invalid> wrote:
Sabeer MZ a écrit :
dear all,

By mistake I added 'smpt' column for one of my clients using bb-hosts.
Now I m trying to delete that column using bb on hobbit server but no
luck.

[hobbit at monitor bin]$ ./bb 24.18.160.214 drop 24.18.160.210 smtp
Hobbit version 4.2.0
Usage: ./bb [--debug] [--proxy=http://ip.of.the.proxy:port/] RECIPIENT
DATA
 RECIPIENT: IP-address, hostname or URL
 DATA: Message to send, or "-" to read from stdin

thanks
Sabeer MZ

Add quotes to the command you wish to execute :
./bb 24.18.160.214 "drop 24.18.160.210 smtp"


--

Stephane Caminade
Administrateur Systemes et Reseaux
                                   \  <user-b664a384004a@xymon.invalid>
Institut d'Astrophysique Spatiale  /  tel : (XX) (X) XX XX XX XX
Batiment 121, Universite Paris XI  \  fax : (XX) (X) XX XX XX XX
F-91405 ORSAY Cedex                /  www : http://www.ias.u-psud.fr/

--
Rich Smrcina
VM Assist, Inc.
Phone: XXX-XXX-XXXX
Ans Service:  XXX-XXX-XXXX
user-61add9955ef9@xymon.invalid

Catch the WAVV!  http://www.wavv.org
WAVV 2007 - Green Bay, WI - May 18-22, 2007

list Hans-Gunther Borrmann · Mon, 19 Feb 2007 11:37:09 +0100 ·
quoted from Sabeer MZ
Add quotes to the command you wish to execute :
./bb 24.18.160.214 "drop 24.18.160.210 smtp"
Hello,

I have the same problem and adding quotes  does not help.
-- 
Hans-Gunther Borrmann <user-95d074e18054@xymon.invalid>
Rechenzentrum der Universitaet Freiburg
Hermann-Herder-Str. 10, D79104 FREIBURG
Tel.: +XX XXX/XXX-XXXX
Fax:  +XX XXX/XXX-XXXX
list Jason Altrincham Jones · Mon, 19 Feb 2007 10:40:49 -0000 ·
On hobbit server:

$BBHOME/server/bin/bb 127.0.0.1 "drop 24.18.160.210 smtp"

Where 24.18.160.210 is the hostname hobbit has in it's bbhosts and NOT
it's IP?
Jason.

-----Original Message-----
From: Hans-Gunther Borrmann
[mailto:user-95d074e18054@xymon.invalid] 
Sent: 19 February 2007 10:37
To: user-ae9b8668bcde@xymon.invalid
Cc: Sabeer MZ
Subject: Re: [hobbit] bb - delete column
quoted from Hans-Gunther Borrmann
Add quotes to the command you wish to execute :
./bb 24.18.160.214 "drop 24.18.160.210 smtp"
Hello,

I have the same problem and adding quotes  does not help.
-- 
Hans-Gunther Borrmann <user-95d074e18054@xymon.invalid>
Rechenzentrum der Universitaet Freiburg
Hermann-Herder-Str. 10, D79104 FREIBURG
Tel.: +XX XXX/XXX-XXXX
Fax:  +XX XXX/XXX-XXXX
list Hans-Gunther Borrmann · Mon, 19 Feb 2007 12:14:40 +0100 ·
quoted from Jason Altrincham Jones
On Monday 19 February 2007 11:40, Jones, Jason (Altrincham) wrote:
On hobbit server:

$BBHOME/server/bin/bb 127.0.0.1 "drop 24.18.160.210 smtp"

Where 24.18.160.210 is the hostname hobbit has in it's bbhosts and NOT
it's IP?
Jason.
That's the command I used:

su - hobbit
bb 127.0.0.1 "drop server,its,domain ssh"

I replaced the dots in FQDN hostname by "," according to the bb manual.

Gunther
quoted from Jason Altrincham Jones
-- 
Hans-Gunther Borrmann <user-95d074e18054@xymon.invalid>
Rechenzentrum der Universitaet Freiburg
Hermann-Herder-Str. 10, D79104 FREIBURG
Tel.: +XX XXX/XXX-XXXX
Fax:  +XX XXX/XXX-XXXX
list Henrik Størner · Mon, 19 Feb 2007 13:33:47 +0100 ·
quoted from Hans-Gunther Borrmann
On Mon, Feb 19, 2007 at 12:14:40PM +0100, Hans-Gunther Borrmann wrote:
bb 127.0.0.1 "drop server,its,domain ssh"

I replaced the dots in FQDN hostname by "," according to the bb manual.
Why are you using the bb manual when you're running Hobbit ?

Forget this crap about the commas, just use the hostname.


Regards,
Henrik