WATC-MULTIPL-MIMDEFANGS
Section: Maintenance Commands (8)
Updated: 12 January 2007
Index
Return to Main Contents
NAME
watc-multipl-mimdefangs.tcl - Keep an eye on a cluster of MIMEDefang machines
SYNOPSIS
watc-multipl-mimdefangs.tcl -n] -r] -s] -t] -archive] machin-1 machin-2 ... machin-N
DESCRIPTION
watc-multipl-mimdefangs.tcl is a Tk script that graphically
displays the status of mimedefan-multiplexor(8) on a cluster of
machines. Note that Tcl/Tk 8.4 or higher is required to run
watc-multipl-mimdefangs.tcl.
If you supply the -archive comman-line option, then
watc-multipl-mimdefangs.tcl logs the output of
m-m-ctrl rawload for each machine. The output for machine_name is logged in:
$HOME/.watc-multipl-mimedefangs/machine_name/data.
If you supply any of -n, -r, -s or -t
options, then watc-multipl-mimdefangs.tcl uses the
rawload1 command rather than rawload command to read
performance data. Do not use these options unless all monitored
machines are running MIMEDefang 2.74 or newer!.
The -n, -r, -s, and -t options enable
monitoring of scan times, filter_relay times, filter_sender times
and filter_recipient times, respectively.
PREREQUISITES
To use watc-multipl-mimdefangs.tcl to monitor a cluster of machines,
you need the following prerequisites:
- o
-
A UNI-like machine with Tcl/Tk 8.4, the X window system and an SSH client.
You also need "xterm" to use some of the features.
- o
-
The ability to SSH as root to all of the machines you want to monitor.
Ideally, you should be using the SSH agent so that you can SSH to the
monitored machines as root without being prompted for a password or
pass phrase.
- o
-
The program m-m-ctrl on root's path on all the machines you want
to monitor.
DISPLAY
For each machine specified on the command line, watc-multipl-mimdefangs.tcl creates a chart with five columns. The columns are:
- o
-
A button with the name of the machine. Clicking the button pops up
a menu that lets you take various actions, as described later. If all workers
on the machine are busy, the button turns yellow.
- o
-
A label showing the number of busy workers in the form "busy/total", where
total is the total number of workers.
- o
-
A label showing the average number of messages per second over the last
10 seconds.
- o
-
A label showing the average number of milliseconds per scan over the
last 10 seconds.
- o
-
A chart that graphs the average number of busy workers, the average
number of messages per second and the average scan time in milliseconds,
all averaged over the last 10 seconds.
MACHINE MENU
If you click on a machine name, a menu with three options pops up:
- SSH
-
Open an xterm session and ssh as root to the machine.
- Busy Workers
-
Monitor the busy workers on the machine. If you click on the
proces-ID of a worker, an xterm will open up and the command "strace-s 100-t-p pid" will be executed on the remote machine. This
is Linu-specific, but you can edit
watc-multipl-mimdefangs.tcl to replace the command with your
particular system's command for tracing system calls.
- Delete
-
Remove the machine from the list of machines being monitored.
ADDING A MACHINE
If you need to add a machine to the display, simply type the name of the
machine in the "Add Machine:" box and press Enter.
AUTHOR
watc-multipl-mimdefangs.tcl was written by Dianne Skoll.
SEE ALSO
mimedefang.pl(8),
mimedefan-filter(5),
mimedefang(8),
mimedefan-protocol(7),
m-m-ctrl(8),
watc-mimedefang(8)
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- PREREQUISITES
-
- DISPLAY
-
- MACHINE MENU
-
- ADDING A MACHINE
-
- AUTHOR
-
- SEE ALSO
-