Setting CPU and Disk Test Thresholds

Note. You can only perform CPU and disk tests on machines with the Big Brother client installed.

Hosts which have the Big Brother Windows or UNIX client installed automatically include CPU and disk usage information in their status messages to the BBDISPLAY server.  You can set the thresholds at which these tests report yellow or red status.

Windows Clients

In the Windows client, you can change the CPU and disk thresholds, as well as defining which disk volumes are checked, using the GUI configuration program. See the help file for that program for details.

UNIX Clients

Disk Test Thresholds

For the disk test on UNIX clients, you can define warning and panic levels for specific filesystems in the etc/bb-dftab file. This file contains definitions for all hosts in a single file. You need to redistribute this file across all hosts which run the UNIX client. The format of the file is:

[hostname]:/filesystem:warning level:panic level

For example:

/:85:95
www.maclawran.ca:/oradata:98:99

The / filesystem uses 85% for warning level and 95% for panic; since no hostname was defined in the definition, this is true for all hosts. On the host www.maclawran.ca, /oradata is also tested and uses 98% for warning and 99% for panic.

All other filesystems use the default values defined in the etc/bbdef-client.sh file.

Use the etc/bb-dftab.DIST file as a starting point; copy it to etc/bb-dftab and modify as desired.

CPU Test Thresholds

You can define warning and panic levels for the CPU test on UNIX clients in the etc/bb-cputab file on the client. This is a text file; its format is:

hostname: misc settings : threshold value for yellow : threshold value for red
localhost: misc settings : threshold value for yellow : threshold value for red
: misc settings :threshold value for yellow : threshold value for red

The client uses these entries in this order:

The misc settings field can be used for the DAYSUP parameter, which causes a warning message (yellow status) if the computer has not been booted in the entered number of days. See the third example below. The threshold values are based on the load average, multiplied by 100 to remove the decimal point.

Here are some examples:

localhost: : 150 : 300
www.maclawran.ca: : 250 : 350
www.bb4.com: daysup=999 : 75 : 150

If a file containing just these entries is distributed to all clients, the www.maclawran.ca and www.bb4.com hosts will use those settings; all other client hosts will use the localhost settings.

Use the etc/bb-cputab.DIST file as a starting point; copy it to etc/bb-cputab and modify as desired.