OT: how to check everything is working

Glenn Steen glenn.steen at gmail.com
Thu Feb 12 19:06:24 GMT 2009


2009/2/12 Eduardo Casarero <ecasarero at gmail.com>:
> Hi, i've just had an strange scenario, on one of my servers cent os the I/O
> controller just stoped working, and all FS went to Read Only. I actually
> check this:
>
> sendmail online
> mailscanner online
> load
> disk usage
> clamav pattern
> ram/swap used
> incomming messages waiting
>
> this is reported to a mysql and showed in a webpage.
>
> the problem is that this was working, but the server started rejecting all
> emails with a 421 error "Can't write to the disk" so all trafic went to the
> second MTA. so nobody realised that the server was down...
>
> I started a google search and i found this "mailping"
> http://mailping.sourceforge.net/ but it seems to be a dead project.
>
> so is anyone using something like this? or has any idea?
>
> Regards
>
> Eduardo
>
Not really,no, but .... it should be very trivialto whip up an expect
script to test your MTA is responsive, or just a simple telnet test
where you parse the results "in hindsight". Should be fairly simple to
integrate into you status page:)

Cheers
-- 
-- Glenn
email: glenn < dot > steen < at > gmail < dot > com
work: glenn < dot > steen < at > ap1 < dot > se


More information about the MailScanner mailing list