Xymon Mailing List Archive search

BBWin bbd column

6 messages in this thread

list Don Munyak · Fri, 26 Jan 2007 16:27:41 -0500 ·
I have successfully installed and configured bbwin 0.9 on a windows
client. My question is about bbd.

From docs.. "The bbd column shows the status of the Hobbit or Big
Brother service on the host. "

Since bbd refers to a host installed agent, which is not part of
bbwin, how do I disable this in hobbit-server for a given windows
host.

Thanks

~Don
list Henrik Størner · Fri, 26 Jan 2007 23:05:32 +0100 ·
quoted from Don Munyak
On Fri, Jan 26, 2007 at 04:27:41PM -0500, Don Munyak wrote:
I have successfully installed and configured bbwin 0.9 on a windows
client. My question is about bbd.
From docs.. "The bbd column shows the status of the Hobbit or Big
Brother service on the host. "

Since bbd refers to a host installed agent, which is not part of
bbwin, how do I disable this in hobbit-server for a given windows
host.
"bbd" is a network test, probing port 1984 on the host - this port is
only available on the Hobbit server itself.

If you have it listed for a Windows client - with a red/yellow/green
icon, not just the "there's-no-such-test" dash - then you should remove
the "bbd" tag from the bb-hosts entry for your Windows host. And run
   bb 127.0.0.1 "drop WINDOWSHOSTNAME bbd"
to eliminate the bogus status.


Henrik
list Don Munyak · Mon, 29 Jan 2007 15:15:08 -0500 ·
quoted from Henrik Størner
On 1/26/07, Henrik Stoerner <user-ce4a2c883f75@xymon.invalid> wrote:
On Fri, Jan 26, 2007 at 04:27:41PM -0500, Don Munyak wrote:
I have successfully installed and configured bbwin 0.9 on a windows
client. My question is about bbd.
From docs.. "The bbd column shows the status of the Hobbit or Big
Brother service on the host. "

Since bbd refers to a host installed agent, which is not part of
bbwin, how do I disable this in hobbit-server for a given windows
host.
"bbd" is a network test, probing port 1984 on the host - this port is
only available on the Hobbit server itself.

If you have it listed for a Windows client - with a red/yellow/green
icon, not just the "there's-no-such-test" dash - then you should remove
the "bbd" tag from the bb-hosts entry for your Windows host. And run
   bb 127.0.0.1 "drop WINDOWSHOSTNAME bbd"
to eliminate the bogus status.


Henrik
I hate to seem thick, but I am having trouble with your suggestion.
Before posting I spent most of the day trying to figure this out.

From the hobbit server, I am logged in as user hobbit I tried the
following several methods.
--admin-senders=127.0.0.1 is in hobbitlaunch.cfg
I have tried with both (.) and (,) in FQDN

*******
$ $bb 127.0.0.1 drop p0054.pmg.local bbd
127.0.0.1: not found

$ $bb 127.0.0.1 "drop p0054.pmg.local bbd"
127.0.0.1: not found

$ bb 127.0.0.1 "drop p0054.pmg.local bbd"
bb: not found

$ $bb --debug 127.0.0.1 "drop p0054.pmg.local bbd"
--debug: not found

$ $bb debug 127.0.0.1 "drop p0054.pmg.local bbd"
debug: not found

$ $bb $bbdisp drop p0054.pmg.local bbd
drop: not found

$ $bb $bbdisp "drop p0054.pmg.local bbd"
drop p0054.pmg.local.bbd: not found

$ $bb --debug $BBDISP "drop p0054,pmg,local bbd"
--debug: not found

$ $bb $BBDISP "drop p0054,pmg,local bbd"
drop p0054,pmg,local bbd: not found

$ $bb -debug $BBDISP "drop p0054,pmg,local bbd"
-debug: not found

$ $bb debug $BBDISP "drop p0054,pmg,local bbd"
debug: not found

From windows client with bbwin

*******
From the windows client
c:\program files\bbwin\bin> bbwincmd.exe 192.168.222.62:1984 drop
p0054.pmg.local bbd

No error message on client
Error message on server in /var/log/hobbit/hobbitd.log

2007-01-29 13:05:36 Refused message from 192.168.222.61: drop
p0054,pmg,local bbd

*******

What as I doing wrong?
Thanks

~Don
list Henrik Størner · Mon, 29 Jan 2007 23:09:26 +0100 ·
On Mon, Jan 29, 2007 at 03:15:08PM -0500, Don Munyak wrote:
$ $bb 127.0.0.1 drop p0054.pmg.local bbd
127.0.0.1: not found
"$BB" in what I wrote is the ~hobbit/server/bin/bb command. 
I'm afraid it is my over-exposure to Hobbit and Big Brother scripts 
which makes this seem obvious. I guess it really isn't.
$ $bb 127.0.0.1 "drop p0054.pmg.local bbd"
This should work, if you run it as
  ~hobbit/server/bin/bb 127.0.0.1 "drop p0054.pmg.local bbd"


Regards,
Henrik
list Don Munyak · Tue, 30 Jan 2007 08:37:44 -0500 ·
quoted from Henrik Størner
On 1/29/07, Henrik Stoerner <user-ce4a2c883f75@xymon.invalid> wrote:
On Mon, Jan 29, 2007 at 03:15:08PM -0500, Don Munyak wrote:
$ $bb 127.0.0.1 drop p0054.pmg.local bbd
127.0.0.1: not found
"$BB" in what I wrote is the ~hobbit/server/bin/bb command.
I'm afraid it is my over-exposure to Hobbit and Big Brother scripts
which makes this seem obvious. I guess it really isn't.
$ $bb 127.0.0.1 "drop p0054.pmg.local bbd"
This should work, if you run it as
  ~hobbit/server/bin/bb 127.0.0.1 "drop p0054.pmg.local bbd"

Henrik,
BIG Thanks ! this did work on the second attempt (LOL).

~hobbit/server I assume implies /home/hobbit/server .... That is, if I
had installed to the /home directory. I had actually installed to
/usr/local/etc/hobbit/

Anyway, don't mean to be noisy. Hope this helps some other n00b.

Regards,
Don
list Buchan Milne · Wed, 31 Jan 2007 10:12:51 +0200 ·
quoted from Don Munyak
On Tuesday 30 January 2007 15:37, Don Munyak wrote:
On 1/29/07, Henrik Stoerner <user-ce4a2c883f75@xymon.invalid> wrote:
On Mon, Jan 29, 2007 at 03:15:08PM -0500, Don Munyak wrote:
$ $bb 127.0.0.1 drop p0054.pmg.local bbd
127.0.0.1: not found
"$BB" in what I wrote is the ~hobbit/server/bin/bb command.
I'm afraid it is my over-exposure to Hobbit and Big Brother scripts
which makes this seem obvious. I guess it really isn't.
$ $bb 127.0.0.1 "drop p0054.pmg.local bbd"
This should work, if you run it as
  ~hobbit/server/bin/bb 127.0.0.1 "drop p0054.pmg.local bbd"
Henrik,
BIG Thanks ! this did work on the second attempt (LOL).

~hobbit/server I assume implies /home/hobbit/server
No, it means the subdirectory server below the user hobbit's home directory 
(since most shells expand ~<user> to be the home directory of <user>).
quoted from Don Munyak
.... That is, if I 
had installed to the /home directory. I had actually installed to
/usr/local/etc/hobbit/
So, let's hope your hobbit user has a home directory of /usr/local/etc/hobbit 
(though, that is quite a weird place to install hobbit to, /usr/local/hobbit 
would make a lot more sense ...).

Regards,
Buchan
-- 
Buchan Milne
ISP Systems Specialist - Monitoring/Authentication Team Leader
B.Eng,RHCE(803004789010797),LPIC-2(LPI000074592)