WATCH-M...ILMUNGES(8)
π NAME π
okay so watch-multiple-mailmunges.tcl β it's the girl who keeps an eye on a whole cluster of Mailmunge machines for you. like a group chat moderator but for servers, no cap π
(this whole page lives in section 8 of the manual, bestie β¨)
πΈ SYNOPSIS πΈ
watch-multiple-mailmunges.tcl [-n] [-r] [-s] [-t] [-archive] machine-1 machine-2 ... machine-N
that's it. list your machines, pick your flags, go off π
β¨ DESCRIPTION β¨
so watch-multiple-mailmunges.tcl is a Tk script, and what it does is graphically display the status of mailmunge-multiplexor across a whole cluster of machines. it's giving dashboard energy, fr fr π¦
heads up though: you need Tcl/Tk 8.4 or higher to run watch-multiple-mailmunges.tcl. no 8.3 shenanigans allowed, sorry π
if you pass the -archive command-line option, then watch-multiple-mailmunges.tcl logs the output of mm-mx-ctrl rawload for each machine. and the output for machine_name gets logged in:
$HOME/.watch-multiple-mailmunges/machine_name/data
cutest little log directory you ever did see π
if you pass any of -n, -r, -s or -t, then watch-multiple-mailmunges.tcl uses the rawload1 command instead of the rawload command to read performance data. different command, same nosy energy π
and here's what each one turns on, in order:
-nβ monitors scan times β±οΈ-rβ monitors filter_relay times π¨-sβ monitors filter_sender times π€-tβ monitors filter_recipient times π₯
π§ PREREQUISITES π§
to use watch-multiple-mailmunges.tcl to monitor a cluster of machines, you must have the following prerequisites, and yes you actually need all of them:
- A UNIX-like machine with Tcl/Tk 8.4, the X window system and an SSH client. you also need
xtermto use some of the features β don't skip it, some of the cute stuff literally won't work without it π«Ά - 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. like, technically optional, but you'll be typing passwords forever and that's not the vibe π
- The program
mm-mx-ctrlon root's path on all the machines you want to monitor. on root's path. specifically. yes really π
π DISPLAY π
for each machine specified on the command line, watch-multiple-mailmunges.tcl creates a chart with five columns. five! iconic. here's the lineup:
- A button with the name of the machine. clicking the button pops up a menu that lets you take various actions, as described later. and if all workers on the machine are busy, the button turns yellow π (yellow = busy bestie, respect the color coding)
underneath the button is a label that reads something like:
v=VER m=MTA
where VER is the version of Mailmunge running on the remote machine and MTA is the MTA that was detected (either Sendmail or Postfix). little name tag for your server, love that for them π·οΈ
- A label showing the number of busy workers in the form
busy/total, where total is the total number of workers. - A label showing the average number of messages per second over the last 10 seconds.
- A label showing the average number of milliseconds per scan over the last 10 seconds.
- 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. three lines, one chart, ten seconds of history β she's multifaceted π
π MACHINE MENU π
if you click on a machine name, a menu with three options pops up. observer mode activated π
- SSH β open an
xtermsession and ssh as root to the machine. boom, you're in πͺ - Busy Workers β monitor the busy workers on the machine. if you click on the process-ID of a worker, an
xtermwill open up and the commandstrace -s 100 -t -p pidwill be executed on the remote machine. this is Linux-specific, ngl, but you can editwatch-multiple-mailmunges.tclto replace the command with your particular system's command for tracing system calls. DIY queen behavior π οΈ - Delete β remove the machine from the list of machines being monitored. ghosted. blocked. removed from the group chat π
π¦ 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. that's the whole procedure. no ceremony, no config file, just type and yeet it in there β¨
π₯ SEE ALSO π₯
mailmunge, mailmunge-protocol, mm-mx-ctrl
(the whole friend group, honestly π«Ά)
π AUTHOR π
watch-multiple-mailmunges.tcl was written by Dianne Skoll. we stan a legend π
β LICENSE β
this code is licensed under the terms of the GNU General Public License, version 2. read it, respect it, ship it πΈ
anyway that's the whole page bestie β brought to you by perl v5.42.2, dated 2025-10-05, and honestly? ate. periodt. πβ¨
π¦ where this page comes from
- alpine 3.24: mailmunge-doc 3.20-r0 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms