Problem with check_smtp

Mário Sérgio Candian mscandian at freebsdbrasil.com.br
Fri Oct 28 18:22:46 CEST 2005


Hi guys,

I have had some problems with check_smtp plugin. When I try to check 
manually, I get this:

(root at firewall)~# /usr/local/libexec/nagios/check_smtp -H 201.x.y.3
Socket timeout after 10 seconds
Exit 2

In my checkcommands.cfg:

# 'check_smtp' command definition
define command{
        command_name    check_smtp
        command_line    $USER1$/check_smtp -H $HOSTADDRESS$
        }

My status.log file:

[1130519848] 
SERVICE;201.x.y.3_axs1;SMTP;CRITICAL;3/3;HARD;1130519719;1130520019;ACTIVE;1;1;1;1130507318;0;CRITICAL;119;0;0;8855;1130507318;1;1;0;10;1;0;0.00;0;1;1;1;Socket 
timeout after 10 seconds

My services.cfg file:

define service{
        use                             generic-service         ; Name 
of service
 
        host_name                       201.x.y.3_axs1
        service_description             SMTP
        is_volatile                     0
        check_period                    24x7
        max_check_attempts              3
        normal_check_interval           5
        retry_check_interval            1
        contact_groups                  axt-admins
        notification_interval           240
        notification_period             24x7
        notification_options            c,r
        check_command                   check_smtp
        }

I'm using Nagios v1.2 with a FreeBSD 5.4-STABLE.

Someone know how I can do to fix this problem?

Regards.

-- 
Mario Sergio Candian
-
"Dreams as if you'll live forever. Live as if you'll die today" -- James Dean



-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
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