The Big Brother Network Monitor
------------------------------------------------------------------------
Frequently Asked Questions
Version 0.93 Beta - 25 April 1997
------------------------------------------------------------------------
1.0 About Big Brother
1.1 What is Big Brother?
1.2 Where can I get Big Brother?
1.3 What is the current version?
1.4 What do I need to run Big Brother?
1.5 How do I install Big Brother?
1.6 How can I upgrade?
2.0 Debugging Big Brother
2.1 I get the message: "bb: CAN'T CONNECT TO bbd"
2.2 I get lots of processes, then bb dies!
2.3 I get garbage / my environment all over my screen
2.4 I get the message: "Can't open stream socket"
2.5 conn (connection) test is always red / not working...
2.6 http test is always red / not working...
* 2.7 bbnet is dumping core
2.8 Background color is always red / yellow / wrong
* 2.9 Pager problems
3.0 Using Big Brother
3.1 How can I monitor routers / things that have no hostname?
3.2 Can I monitor NT's, Novell servers, VAXEN with BB?
3.3 Can I monitor things outside my network?
3.4 Is Big Brother secure? Do you have to be root to run it?
3.5 How can I monitor more services?
3.6 How can I check password protected web pages?
3.7 Can BB restart processes that have failed?
3.8 Can BB show historical data?
4.0 Miscellaneous Big Brother questions
4.1 Where is the name from?
4.2 Do you write BB or bb?
4.3 Whose picture is that, and can I get rid of it?
4.4 Is there a Big Brother Mailing List?
4.5 Where can I get more help?
------------------------------------------------------------------------
This FAQ is Copyright 1997 by Sean MacGuire. This document may be
reproduced, so long as it is kept in its entirety and in its original
format.
------------------------------------------------------------------------
Section 1: About Big Brother
1.1 What is Big Brother?
Big Brother is a Free Web-based Unix Systems monitor written by
Sean MacGuire (sean@iti.qc.ca). It came about as a direct result
of a corrupt salesman who quoted the company I was consulting for
$313,000 for software and hardware to monitor 20 servers.
Big Brother consists of simple shell scripts which periodically
monitor system conditions and network connectivity. Disk space,
CPU, servers, and important processes can be kept track of.
The Big Brother display is a Web page that presents a matrix of
machines and monitored functions, with color codes denoting the
current status.
Big Brother can notify administrators via a pager or e-mail.
1.2 Where can I get Big Brother?
Big Brother is only available via the web at
http://www.iti.qc.ca/iti/users/sean/bb-dnld/
If you don't have Web access, drop a note to sean@iti.qc.ca
and a copy will be mailed to you.
1.3 What's the current version?
The current version of BB is 1.04g / 25 April 1997.
1.4 What do I need to run Big Brother?
Big Brother is written as Bourne Shell scripts (/bin/sh), with a
couple of C programs for client-server communications. You'll
need:
* A C compiler to port BB
* Kermit and a modem (for pager communications)
* A Web server to serve up the results
BB has been ported to and configuration files are available for
the following Unix-based systems: FreeBSD, Solaris, linux,
SCO 3/5, HPUX, HPUX 10, NetBSD, Ultrix, OSF, Irix, and SunOS 4.1,
RedHat linux, UnixWare, and AIX.
1.5 How do I install Big Brother?
Unpack the archive, read the README and follow the instructions.
Basically, change to the doc directory, run bbconfig, run make,
run make install, edit etc/bb-hosts, edit runbb.sh and start it.
If you don't understand the above, read the README.
1.6 How can I upgrade?
Save your old bb-hosts file... then...
Depends how much customization has been made to your version
of Big Brother. Generally, all you should have to do is
recompile, make the above changes, and copy your old version
of etc/bb-hosts in.
------------------------------------------------------------------------
Section 2: Debugging Big Brother
2.1 I get the message: "bb: CAN'T CONNECT TO bbd"
This message indicates that the an instance of bb can't
connect to the Big Brother daemon. The might be because
bbd isn't running, or that bb can't determine where bbd
lives because of some troubles with the bb-hosts file.
So check the following things:
* bbd is actually running on your system...
* BBHOME is correctly set in runbb.sh...
* Your bb-hosts file is formatted correctly
* Your firewall isn't blocking port 1984
2.2 I get lots of processes, then bb dies!
Define -DZOMBIE in the Makefile, recompile and run "make install".
This seems to happen on some Solaris machines, and will definitely
happen on SunOS 4.1.3, although 4.1.4 is OK!
2.3 I get garbage / my environment all over my screen
This is almost always due to a problem with the way your bb-hosts
file is laid out. BB needs this file to be perfect to work, and
any little problem with it will cause BB to fail.
The most common cause of this problem is pop3 being defined as
pop-3 in /etc/services. Make sure the spelling of all services
in bb-hosts matches /etc/services.
2.4 I get the message: "Can't open stream socket"
This message is from bbd being unable to attach itself to port
1984 and begin listening. Make sure there are no "bb" processes
running (bb, bbd). If there are, kill them.
Make sure port 1984 is also not in use. To check this issue
the following command:
netstat -an | grep 1984
If anything comes back, wait a few minutes and try again.
Once this command returns nothing, you should be about to
start up Big Brother.
2.5 conn (connection) test is always red / not working...
The connections column is generated from the machine defined
as BBNET in bb-hosts. This machine tries to ping every IP
address listed in the bb-hosts file. BB looks to see that the
reply from ping contains the string "bytes from".
Check that PING and PINGPARS are set correctly in etc/bbsys.sh.
2.6 http test is always red / not working...
This is usually because the http test isn't for the same
machine as defined on that line in the bb-hosts file, i.e.:
Wrong: 204.101.110.101 fred.bobo.com # http://youre.bobo.com/
Right: 204.101.110.101 fred.bobo.com # http://fred.bobo.com/
2.7 * bbnet is dumping core
Add a trailing slash at the end of the URL. This is a programming
bug by the author. Fixed as of v.1.04g thanks to Doug White