Problems with check_smtp

Damien Manuel DManuel at continuumit.com.au
Thu Sep 12 00:16:03 CEST 2002


Greetings Nicole,

I get the same thing. It only started to occur when I upgraded to Red Hat 7.3 with plug-in version nagiosplug-1.3-beta1.

However after some more investigation I have determined that the issue is not with Nagios, but possibly the way the plug-in (the version I am using) deals with Microsoft Exchange 2000 SP3 servers.

It works ok tested against the following:

Postfix (latest versions), Sendmail (latest versions), Exchange 5.5 SP3 and SP4 and Exchange 2000 (with no SP) 

But fails with the error you described when checking Exchange 2000 SP3.

Regards,

Damien Manuel

-----Original Message-----
From: Nicole Haehnel [mailto:Nicole.Haehnel at epost.de] 
Sent: Thursday, 12 September 2002 7:02 AM
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] Problems with check_smtp

Hi!
 
I'm having problems with the check_smtp command.
I only get 'CRITICAL' status when checking smtp on a server, but status information is 'SMTP OK - 0 second response time '.
 
My checkcommands.cfg:
 
# 'check_smtp' command definition
define command{
        command_name    check_smtp
        command_line    $USER1$/check_smtp -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$
        }
 
and service.cfg:
 
 
# Service definition
define service{
        use                             generic-service         ; Name of service template to use
 
        host_name                       notes-web
        service_description            SMTP
        is_volatile                         0
        check_period                    24x7
        max_check_attempts        3
        normal_check_interval       3
        retry_check_interval          1
        contact_groups                notes-admins
        notification_interval           120
        notification_period             24x7
        notification_options           w,u,c,r
        check_command              check_smtp!60!100
        }
 
 
Is there something wrong?
 
I have checked smtp without nagios. 
 
./check_smtp -H 217.110.232.10 -w 60 -c 100 -v
SMTP OK - 0 sec. response time, 220 ESMTP Service (Lotus Domino Release 5.0.11) ready at Wed, 11 Sep 2002 23:02:47 +0200
Socket timeout after 10 seconds
 
Why timeout?
 
 
Thanks for help!
 
Nicole


-------------------------------------------------------
In remembrance
www.osdn.com/911/




More information about the Users mailing list