Problems with check_smtp

Nicole Haehnel Nicole.Haehnel at epost.de
Wed Sep 11 23:02:24 CEST 2002


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20020911/7b30a7cf/attachment.html>


More information about the Users mailing list