check_smtp und SMTPS

Marc Powell marc at ena.com
Fri Mar 20 20:08:30 CET 2009


On Mar 20, 2009, at 9:57 AM, Dirk H. Schulz wrote:

> Hi Folks,
>
> I am trying to check a mailserver using SSL:
>
> ./check_smtp -H my.server.tld -S -p 465
> CRITICAL - Socket timeout after 10 seconds
> ./check_tcp -H my.server.tld -p 465
> TCP OK - 0.002 second response time on port 465|time=0.001616s;;;
> 0.000000;10.000000
>
> SMTPS ist in productive use on that server, as you can see check_tcp
> can reach the port, but check_smtp claims not to reach the SMTPS
> service.

It seems to work as advertised. What do you see with verbose mode for  
check_smtp --

$ ./check_smtp -H <myserver> -S -p 587 -v
220 <myserver> ESMTP Postfix
SMTP OK - 0.088 sec. response time, 220 2.0.0 Ready to start TLS
IPELINING
250-SIZE 51200000
250-VRFY
250-ETRN
250-STARTTLS
250-AUTH LOGIN PLAIN
250-AUTH=LOGIN PLAIN
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN
|time=0.087640s;;;0.000000

--
Marc




------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list