How to monitor the health of the MailScanner architecture
Glenn Steen
glenn.steen at gmail.com
Tue Jul 10 16:49:36 IST 2007
On 10/07/07, Jonas A. Larsen <jonas at vrt.dk> wrote:
> Hi Glenn
> > >
> > Um, just script up a snippet that send a mail through to a service
> > account (use telnet with expect, or perl or whatever... Make that
> > sending snippet a function/sub/procedure and let it take an argument
> > servername, then loop through the list of servers.... You know what to
> > do:-), then use an automated MUA in the same script (whatever you
> > need) to check that it is received within a reasonable time... Nail
> > within an expect script would be nice for that last bit ... How hard
> > can it be:-):-).
> > You'd have to keep an eye on reasonable timing, and think through how
> > to report errors...
> > Could probably be incorporated as a testscript into any monitoring
> > app... Or run from cron with some reasonable regularity.
> > Should be fairly easy to write up ... But I'm on vacation, so you do
> > it yourself;-).
> > This is precisely what is needed :) regarding the "fairly easy to write
> up" I guess that depends on how elite coding scriptiong skills you have and
> how much time you got :)
True:-)
> We currently got it running using a freeware windows monitoring tool, that
> had this precise check.
(Yuk! Well, whatever works, I guess...:-)
> I was just looking for something that already existed and general comments.
> (because I'm a lazy boy)
That's generally the big motivator to do something like that... The
effort to make it is less than doing it by hand (if even
possible:-):-).
> People seem to have misunderstood it a bit since they are recommending
> generic monitoring solutions. Neither nagios, bigbrother or others have the
> above solution. I actually think munin had something but it would have to be
> re-scripted to be useable (assuming I don't want to run munin)
True. This would probably slot into something more generic, to handle
the alerting etc... Laziness again, why reinvent that part of it:-).
> I do find it odd though, that more or less nobody appears to be monitoring
> their mail systems in this way. I still say it's the only way to be 100% if
> your system is functioning or not. Checking the mta daemon, mailscanner
> daemon, queue sizes etc. are all not a perfect way to check if the
> mailscanning process is functioning.
I suspect that people fall into a lot of different categories here...
Some have small installations that don't really need that kind of
alerting.... The users and perhaps something like
MailWatch/Vispan/MailScanner-MRTG/whatever is enough of an alerting
system:-). For larger systems something homegrown in [favourite
monitoring app] is likely enough.
Another "problem" is that anything like this will become somewhat
specific to how your "mailflow topology" looks... So the bigger
players probably do have something like this in place already, but
deem it way to specific to their setup to be meaningful to share.
If I find the time and energy when I'm back from vacation (not that
likely, but ... if:), I might make something simple to work from...
Yes, that is half a promise of half a solution:-).
>
> Cheers
Likewise!
>
> Med venlig hilsen / Best regards
>
> Jonas Akrouh Larsen
>
> TechBiz ApS
> Laplandsgade 4, 2. sal
> 2300 København S
>
> Office: 7020 0979
> Direct: 33369974
> Fax: 7020 0978
> Mobile: 51201096
> Web: www.techbiz.dk.
>
>
--
-- Glenn (off in the west-swedish wilderness around Arvika... No, I'm
going to give the festival a miss this year too:-)
email: glenn < dot > steen < at > gmail < dot > com
work: glenn < dot > steen < at > ap1 < dot > se
More information about the MailScanner
mailing list