BB Unix Network Monitor - Message
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: {bb} Complex BB configuration using BBRELAY
- To: <bb@bb4.com>
- Subject: RE: {bb} Complex BB configuration using BBRELAY
- From: "Alon Ofek" <AlonO@BEZEQINT.CO.IL>
- Date: Thu, 3 Nov 2005 09:20:57 +0200
- Content-class: urn:content-classes:message
- Content-transfer-encoding: 8bit
- Content-type: text/plain; charset="us-ascii"
- Reply-to: bb@bb4.com
- Sender: owner-bb@bb4.com
- Thread-index: AcXfxN0VzHkXIcSiSvCTI9VRcq/nkwAf4ahA
- Thread-topic: {bb} Complex BB configuration using BBRELAY
Thanks for your help.
I am using the non-commercial 1.9h version.
You are correct. I don't see the messages being transfer to the Master's
log directory. I do see them on the Slave one.
If I look into 'tcpdump' I do see traffic passing on port 1984 between
the servers but the traffic is very small and rare.
Long time since I wrote something in C. I'll appreciate if someone will
help with the debugging issue.
I'll try to downgrade the BB version. I see that the only reports about
a working BBRELAY are with older version. I'll do this only on the
"slave" as you suggested.
Is it possible to synchronized the bbvar (if I'll find a way to do this)
directory to get the same result? Does the master BB will display the
results in this way?
Alon
------------------------------------
Bezeq International
Alon Ofek
Hosting Integration Engineer
alono@bezeqint.co.il
tel: 03-9285076
http://hosting.bezeqint.net
------------------------------------
-----Original Message-----
From: owner-bb@bb4.com [mailto:owner-bb@bb4.com] On Behalf Of Richard
Warkentin
Sent: Wednesday, November 02, 2005 5:20 PM
To: bb@bb4.com
Subject: RE: {bb} Complex BB configuration using BBRELAY
At 04:23 AM 11/2/2005, you wrote:
I'm not currently using bbrelay but according to the documentation, your
syntax is correct and I've used it on the BTF 18d4 version of BB.
What version of BB are you using? (if the PE, you probably want to
place a
service call).
if you are using the BTF Unix version, let me confirm a few things to
insure we haven't miscommunicated;
a) you confirmed that "bb-server-a" is getting test results from it's
clients, both by checking files in bbvar/logs and by viewing the status
from a bbdisplay.
b) The log files for bb-server-a's clients are not being relayed to the
"master" bb display server, though bb-server-a's own client tests (such
as
bb-server-a.disk and bb-server-a.cpu) are being reported by "master".
you
confirmed that the log files for bb-server-a's clients are not being
transferred to "master"s bbvar/logs. (this question is critical, you
must
place an eyeball on bbvar/logs on both display servers)
c) no indication of failures in either "master"s or "bb-server-a"'s
BBOUT.
If a), b) and c) are correct, the only ideas I have are
Resubmit your question to the group to elicit suggestions from someone
currently using bbrelay. It would be worth a lot to know that someone
using exactly your version of BB is successfully using bbrelay.
test with an old version of bb, though I don't know how you'd go about
acquiring an old version.
treat the problem as a defect and turn on some of bb's debug code. It
is
"C" code and you do have the source so this is doable. (I assume the
problem is that bb-server-a is not transferring the files rather than
that
"master" is improperly dropping the entries passed to it).
>Well, Following are my tests results:
>
>1. In BBOUT, on all machines, I see nothing more then startup and
>shutdown messages
>2. I did all network connectivity tests. All clients are able to
connect
>to their local BBDISPLAY server (TCP port 1984) and all "slaves"
>BBDISPLAY can connect to the MASTER BBDISPLAY
>3. On the BB SLAVE DISPLAY I can see all local clients' logs and can
>(added HTTPD) see all monitored clients via browser on the BBDISPLAY
>SLAVE server
>4. On the MASTER I see no logs from any of the monitored device.
>5. If I add "BBRELAY" on the SLAVE client bb-hosts then I can see the
>BBDISPLAY itself only on the MASTER as a monitor device.
>6. All local machines on each segment and their BBDISPLAY share the
same
>bb-hosts. The master BBDISPLAY has all BBDISPLAY slaves bb-hosts file
on
>one big bb-hosts file divided into pages' and 'sub pages'
>7. The master BBDISPLAY also has one hosts segment that report directly
>to it. Theses hosts do not have "slave" BBDISPAY. These hosts show fine
>on the master BBDISPLAY
>
>
>I triple checked all my configurations but still have no idea why the
>BBRELAY command doesn't seems to work.
>The best I could get is that the BBDISPLAY slave server reported to the
>MASTER about it own status but not relayed any client's messages.
>
>Please help,
>Alon
>
>
>
>
>
>-----Original Message-----
>From: owner-bb@bb4.com [mailto:owner-bb@bb4.com] On Behalf Of Richard
>Warkentin
>Sent: Wednesday, November 02, 2005 2:26 AM
>To: bb@bb4.com
>Subject: Re: {bb} Complex BB configuration using BBRELAY
>
>snipped
>
>bbrelay not working as expected
>snipped
>
>Your configuration looks ok, we need to do some debug to narrow down
the
>
>search.
>
>Which version and os are you using? Current versions of BB require
>both the server and client to be installed on the display server but
>eariler BB's were bundled into the same source package.
>
>1) What is displayed on the "master" bb server?
>
>2) Can you view the entries on "bb-server-a"? (i.e. apache installed,
>bb
>server correctly setup and a network path?) If yes, view it and see
>what
>things look like.
>
>
>You can stop doing these tests when you have enough information to fix
>the
>problem.
>
>3) Did you open the firewall on (probably) port 1984?
>
>
>4) Review the BBOUT logs on all the clients and the servers. for the
>servers, review both the logs for client and server.
>
>5) On the both the servers, check the log files in ../bbvar/logs. you
>should have files with names something like hostname.test. If the
files
>
>with serveral tests for each client, you're nearly there. (this is
>another
>way of doing step 1) and 2) but doesn't require a functioning web
>server)
>
>
>6) confirm network activity from the "clients" to their respective
>bbdisplay server.
> From 10.10.1.1
> telent 10.10.1.254 1984
>
>Because of a belief that security is improved, BB intentionally does
not
>
>respond to messages sent to the server. The normal (working) response
>to
>the telnet command is an apparent "hang" with no response for a period
>of
>time with know response. Failures may appear as an immediate failure
to
>
>connect, complete wit an error message or a timeout. If this
>description
>doesn't make sense, than do some tests on the display servers before
>testing on the client. Like this.
>
>on 10.10.1.254, do a test that will fail.
>
>telnet 127.0.0.1 1985 (you almost certainly are not using port 1985)
>You
>should get a failure to connect something like
>#telnet 127.0.0.1 1985
>Connecting To 127.0.0.1...Could not open connection to the host, on
port
>
>1985: Connect failed
>
>Now try to 1984 to confirm the server is running and accepting
messages.
>
>if you still need help after doing these steps, post the results and
>we'll
>see where to go from there.
>
>At 10:03 AM 11/1/2005, you wrote:
> >Hello everyone,
> >I am trying to run a "complex" BB configuration with no success:
> >
> >I have Main BB machine that collect all BB events and runs the HTTPD
> >and BBDISPLAY.
> >This host is behind FW and has legal IP address.
> >This host is used to monitor all BBNET hosts that have external
>Internet
> >access (like web servers or e-mail servers).
> >
> >Now, I have 3 completely separate sites, each one is on different
>segment
> >(for now but another site on the same segment may be added) with
>internal,
> >not legal IP addresses. On each site I have local BB server that has
no
>
> >web server on it.
> >The local server is configured to get all data from monitor elements
> >(hosts) in his local site.
> >Each local BB server should send all data to the MASTER BB server.
The
> >connection to the MASTER is done using NAT so the MASER sees only the
>NAT
> >IP address and not the "real" IP address.
> >
> >The problem is that it doesn't work. I don't see any messages sending
>from
> >the BB local servers to the MASTER (using 'tcpdump port 1984').
> >I have tried all kind of configuration found on the mailing list but
>still
> >haven't found the configuration that will work.
> >Please, if you have, send me a sample configuration files for
> >Master/Slave/Client.
> >Here are samples from my bb-hosts config files:
> >
> >MASTER:
> >group-compress <H3><I>BB Display Server</I></H3>
> >62.62.62.62 MASTER # BBPAGER BBNET BBDISPLAY
> >
> >page SITE ONE A (this should comes from the BB server A)
> >group-compress Local Site A
> >10.10.1.254 BB-SERVER-A # noconn
> >10.10.1.1 db # noconn
> >10.10.1.2 app # noconn
> >
> >page SITE TWO B (this should comes from the BB server B)
> >group-compress Local Site B
> >10.20.1.254 BB-SERVER-B # noconn
> >10.20.2.1 db # noconn
> >10.20.2.2 app # noconn
> >
> >ON BB Server A
> >
> >10.10.2.254 BB-SERVER-A # BBNET BBDISPLAY BBRELAY:62.62.62.62
> >10.20.1.1 db #
> >10.10.1.2 #
> >
> >10.20.1.254 BB-SERVER-B # noconn
> >ON B Client (say db)
> >
> >10.10.2.254 BB-SERVER-A # BBNET BBDISPLAY
> >10.20.1.1 db #
> >10.10.1.2 #
> >
> >On BB server B I have the same as BB server A (with the necessary
>changes)
> >
> >
> >What I do wrong?
> >
> >Many thanks,
> >Alon
> >
>
>-----------------------------------------------------------------------
>--------
> >The information contained in this message is proprietary of Bezeq
> >International,
> >protected from disclosure, and may be privileged.
> >The information is intended to be conveyed only to the designated
>recipient(s)
> >of the message. If the reader of this message is not the intended
>recipient,
> >you are hereby notified that any dissemination, use, distribution or
> >copying of
> >this communication is strictly prohibited and may be unlawful.
> >If you have received this communication in error, please notify us
>immediately
> >by replying to the message and deleting it from your computer.
> >Thank you.
>
>-----------------------------------------------------------------------
>--------
>
>--
>=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=
>To unsubscribe from this list, or to subscribe to the bb-digest list
>send e-mail to mailto:majordomo@bb4.com with unsubscribe bb -and/or-
>subscribe bb-digest in the BODY of the message.
>-----------------------------------------------------------------------
--------
>The information contained in this message is proprietary of Bezeq
>International,
>protected from disclosure, and may be privileged.
>The information is intended to be conveyed only to the designated
recipient(s)
>of the message. If the reader of this message is not the intended
recipient,
>you are hereby notified that any dissemination, use, distribution or
>copying of
>this communication is strictly prohibited and may be unlawful.
>If you have received this communication in error, please notify us
immediately
>by replying to the message and deleting it from your computer.
>Thank you.
>-----------------------------------------------------------------------
--------
>
>
>--
>=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=
>To unsubscribe from this list, or to subscribe to the bb-digest list
>send e-mail to mailto:majordomo@bb4.com with unsubscribe bb -and/or-
>subscribe bb-digest in the BODY of the message.
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=
To unsubscribe from this list, or to subscribe to the bb-digest list
send e-mail to mailto:majordomo@bb4.com with unsubscribe bb -and/or-
subscribe bb-digest in the BODY of the message.
-------------------------------------------------------------------------------
The information contained in this message is proprietary of Bezeq International,
protected from disclosure, and may be privileged.
The information is intended to be conveyed only to the designated recipient(s)
of the message. If the reader of this message is not the intended recipient,
you are hereby notified that any dissemination, use, distribution or copying of
this communication is strictly prohibited and may be unlawful.
If you have received this communication in error, please notify us immediately
by replying to the message and deleting it from your computer.
Thank you.
-------------------------------------------------------------------------------
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=
To unsubscribe from this list, or to subscribe to the bb-digest list
send e-mail to mailto:majordomo@bb4.com with unsubscribe bb -and/or-
subscribe bb-digest in the BODY of the message.
Home |
Main Index |
Thread Index