BB Unix Network Monitor - Message

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: {bb} BB-ssh.txt HELPcat bb_mailing!



On Tue, 2006-10-10 at 17:59, Todd Seidenberg wrote:
> Hi Folks, 
> 
> 
> I've been trying to get BB reporting to work across a firewall. I'm
> following the instructions listed on BB-ssh.txt, from deadcat.net.
> 
> Currently, 
> 
> I am correctly forwarding port 1984 to the DMZ machine, like this: 
> 
> (this is a ps output on my BBDISPLAY machine:)
> 
> ssh -fnNR 1984:bb-server:1984 dmzmachine
> 
> I have verified that I can ssh, as my bb user, from my BBDISPLAY machine
> to my dmzmachine, without entering a password. 
> 
> So I know this is working...
> 
> 
> on the DMZ machine, I am running the BB client. In the $BBHOME/etc/bb-hosts
> file on the dmzmachine, i have the following entry: 
> 
> 127.0.0.1  dmzmachines.domain.com # BBDISPLAY
> 
> 
> The bbclient is running on the dmzmachine. 
> 
> 
> Yet, I don't get anything on my actual BBDISPLAY. I just get purple messages.
> 
> I've tried running the following command: 
> 
> 
> 
> $BBHOME/bb 127.0.0.1 'status dmzclient.domain.com.disk green `date` - <FONT
> COLOR="green">I GOT IT!</FONT>'
> 
> which just gives me a prompt back, but the BBDISPLAY still doesn't get the
> message.  

If I do the following:

  cd /usr/local/bb/bbc1.9i-btf
  export BBHOME=/usr/local/bb/bbc1.9i-btf
  . etc/bbdef.sh
  $BB 127.0.0.1 'status dmzclient,domain,com.disk green `date` - I GOT
 IT!'

It responds with:

  Tue Oct 10 20:10:25 2006 bb CAN'T CONNECT TO bbd SERVER @ 127.0.0.1

The fact that you're not seeing that suggests that the message is being
forwarded correctly, but is not being handled correctly by the display
machine. Note the use of commas in the domain name. The only dot is
between the name and the test and your example used dots everywhere.
Note also that I removed the HTML tag. BB may mess with those unless
you configure it not to. For the client binary to work properly, it is
also necessary to source the BB environment (as shown).


> I assumed, that with a.) the dmzmachine thinking its the DISPLAY host, it
> will know to forward the BB message to port 1984.  And since that port is
> forwarded to the ACTUAL BBDISPLAY, it will show up. But for some reason it
> doesn't. 
> 
> Any thoughts on things I can check? Do I need the the bbd daemon running
> on dmzclient if it thinks its a BBDISPLAY box? If so, doesn't this mean I
> need the server piece installed as well? 

Installing another BB server in the DMZ would be an alternative method
to achieve a similar result, but port forwarding removes the need to
do that. 

Probably the first thing to check is the contents of $BBVAR/logs on
your display server. I noticed that you refer to the remote client
(fake server) as dmzmachine; dmzmachines.domain.com and as
dmzclient.domain.com. I fully expect that the real name of the machine
is none of these, but you need to be consistent (including case).
If you check the "logs" directory, you may be able to see status
files that correspond to the DMZ client but are using a name that
is different from the one used in bb-hosts on the (real) display
server.

Cheers, Phil.



-- 
>From the desk of The Chief Administrator in Charge of
Administration at The Office of Redundancy Office.

--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=
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