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