SMTP Shows Critical but checks OK

Marc Powell mpowell at ena.com
Mon Nov 4 18:05:03 CET 2002


Known issue, fixed in CVS.
 
Change 
#define SMTP_QUIT       "QUIT\n"
 
To       
 #define SMTP_QUIT       "QUIT\r\n"
 
in check_smtp.c and recompile.
 
Some MTA's require the \r and some don't. Sending it all the time
doesn't break anything.
 
--
Marc
 
 
 
-----Original Message-----
From: Shawn Rose [mailto:shawn at pocketinet.com] 
Sent: Monday, November 04, 2002 10:56 AM
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] SMTP Shows Critical but checks OK
 
Check_SMTP plugin.. Testing returns OK  <SMTP OK - 0 second response
time>
But it still flags it as CRITICAL
 
 
I saw this question posted in the archives but I didn't see a
resolution.
 
Any suggestions?
 
# Service definition
define service{
        use                             generic-service         ; Name
of service template to use
 
        host_name                       White,Blue
        service_description             SMTP
        is_volatile                     0
        check_period                    24x7
        max_check_attempts              3
        normal_check_interval           3
        retry_check_interval            1
        contact_groups                  nt-admins
        notification_interval           120
        notification_period             24x7
        notification_options            w,u,c,r
        check_command                   check_smtp
        }
 
 
Shawn
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20021104/8201eb0a/attachment.html>


More information about the Users mailing list