[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Monitoring external SMTP service
From: |
Martin Pala |
Subject: |
Re: Monitoring external SMTP service |
Date: |
Thu, 5 Jan 2012 12:41:21 +0100 |
Hello,
the configuration snip uses obfuscated hostname for the test
("my.external.host.name") … can you verify both lines where the real name is
used have no typo? You can also simplify the configuration by removal of the
"host my.external.host.name" from the port test, as it inherites the host from
the check's first line => it can look like this:
--8<--
check host my-name with address my.external.host.name
if failed port 25 protocol smtp with timeout 15 seconds then alert
--8<--
If no typo will be found, please can you get the network trace of the SMTP
communication? (you can use for example wireshark/tcpdump/snoop)
Regards,
Martin
On Jan 5, 2012, at 10:12 AM, Christian Bianchi wrote:
> Good morning everyone
>
> i want to use monit to check availability of an antispam service
> (managed by others) from outside.
> for this i added this config to monit:
>
> check host my-name
> with address my.external.host.name
> if failed host my.external.host.name port 25 protocol smtp with
> timeout 15 seconds then alert
>
> but it doesn't work.
> i keep receiving alert of service down by monit and in the monit log i
> read this:
>
> [CET Jan 5 09:38:46] error : SMTP: error receiving data --
> Resource temporarily unavailable
> [CET Jan 5 09:38:46] error : 'my-name' failed protocol test [SMTP]
> at INET[my.external.host.name:25] via TCP
>
> note that smtp is up and running (tested from same server using telnet
> my.external.host.name 25
>
> any hints?
>
> --
> Christian Bianchi
> eNBilab srl.
> via Castellana 45/a int. 4, 33100 Udine
> www.enbilab.com
> tel +39 0432 906545
>
> --
> To unsubscribe:
> https://lists.nongnu.org/mailman/listinfo/monit-general