Re: [Exim] SMTP Protocol Violation and "Big Brother"

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Adam D. Barratt
Data:  
Para: exim-users
Tópicos Novos: [Exim] [OT]: Monitoring software
Assunto: Re: [Exim] SMTP Protocol Violation and "Big Brother"
On Thu, 2003-10-09 at 19:36, Tamas TEVESZ wrote:
> On Thu, 9 Oct 2003, Mills Mr C P wrote:
>
> > agree that it is a useful feature, but it is making our SLA stats look
>
> well, you could probably get bb4 to fix their smtp probe engine. that
> would make them look better when next time you need to decide on that
> monitoring software to buy.


Indeed. We got bitten by the fixing of the initial synchronisation check
when we upgraded to 4.24 last week (from 4.22). Admittedly, I should
have written the script more robustly in the first place, but... ;-)

Who wants to pay for monitoring software when a combination of ping,
netcat, cron and a few text files can do the job for free? :)
Personally, I'd much rather just have to change

nc -z ${IP} ${port} >/dev/null 2>&1

to

  if [ $port -eq 25 ]; then
    echo -e 'quit\n' | nc -i 2 ${IP} ${port} >/dev/null 2>&1;
  else
    nc -z ${IP} ${port} >/dev/null 2>&1
  fi


than persuade someone else to fix their broken code. A few minutes of my
time to write and test the change, and `hey presto!', no more moaning in
the logs.

Sorry, drifted OT a tad... :)

Adam