watch-multiple-mimdefangs.tcl - Keep an eye on a cluster of MIMEDefang machines
Contents
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.
Description
watch-multiple-mimdefangs.tcl is a Tk script that graphically displays the status of mimedefang-multiplexor(8) on a cluster of machines. Note that Tcl/Tk 8.4 or higher is required to run watch-multiple-mimdefangs.tcl. If you supply the -archive command-line option, then watch-multiple-mimdefangs.tcl logs the output of md-mx-ctrlrawload for each machine. The output for machine_name is logged in: $HOME/.watch-multiple-mimedefangs/machine_name/data. If you supply any of -n, -r, -s or -t options, then watch-multiple-mimdefangs.tcl uses the rawload1 command rather than rawload command to read performance data. DonotusetheseoptionsunlessallmonitoredmachinesarerunningMIMEDefang2.74ornewer!. The -n, -r, -s, and -t options enable monitoring of scan times, filter_relay times, filter_sender times and filter_recipient times, respectively.
Display
For each machine specified on the command line, watch-multiple-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.
Name
watch-multiple-mimdefangs.tcl - Keep an eye on a cluster of MIMEDefang machines
Prerequisites
To use watch-multiple-mimdefangs.tcl to monitor a cluster of machines, you need the following
prerequisites:
o A UNIX-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 asroot 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 md-mx-ctrl on root's path on all the machines you want to monitor.
See Also
mimedefang.pl(8), mimedefang-filter(5), mimedefang(8), mimedefang-protocol(7), md-mx-ctrl(8), watch-mimedefang(8) 4th Berkeley Distribution 12 January 2007 WATCH-MULTIPLE-MIMDEFANGS(8)
Synopsis
watch-multiple-mimdefangs.tcl[-n][-r][-s][-t][-archive]machine-1machine-2...machine-N
