For the processes test on UNIX client, in the etc/bb-proctab file,you define the processes to look for, whether they should or should not be running, and the status to report if they are in the wrong state. This file should contain definitions for all hosts in a single file; you need to distribute this file across all hosts which run the UNIX client. The format of the file is:
[hostname1]:process list for yellow : process list for red
[hostname1]:process list for yellow : process list for red
[hostname2]:process list for yellow : process list for red
[hostname3]:process list for yellow : process list for red
[hostname3]:process list for yellow : process list for red
As shown, you can have multiple lines for the same host; this can make the file easier to read if you are checking many processes on a single host. You can use localhost as the hostname.
In the process fields, you can use specific formats to tell Big Brother to look for specific process states:
Prefix the process name with ! if it should not be running. The client will then report yellow or red if the process is running.
To check on a process that should spawn multiple words, include the process and the number in quotes. For example: "sleep 30".
To define the minimum or maximum number of processes that should be running, follow the process name with a semi-colon, the operator (>, <, <+ or >=), and the number. For example: httpd;>15 checks that more than 15 instances of httpd must be running, or httpd;<=10 checks that 10 or fewer instances of httpd must be running. If you do not specify a number of instances, Big Brother checks for at least one running instance.
You can combine checking for multiple words and multiple processes. Enclose the entire entry in quotes. For example: "sleep 30;>6".
Here are some sample lines:
localhost:smtp:httpd
www.maclawran.ca:!oracle "sleep 30":smtp
If etc/bb-proctab does not exist or does not have an entry for a particular host (and no localhost entry), that host uses the PROCS and PAGEPROC values from bbdef-client.sh.
Use the etc/bb-proctab.DIST file as a starting point; copy it to etc/bb-proctab and modify as desired.