SMTP Shows Critical but checks OK

Jamin jragle at unm.edu
Mon Nov 4 19:39:16 CET 2002


Rock on!  Thanks!

On Mon, 4 Nov 2002, Marc Powell wrote:

> 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
>  
> 

----------------------------------------------------------------------
 It is by caffeine alone I set my mind in motion. 
 It is by the beans of Java that thoughts acquire speed.
 The hands acquire shaking.
 The shaking becomes a warning.
 It is by caffeine alone I set my mind in motion. -Influenced by Dune
----------------------------------------------------------------------



-------------------------------------------------------
This SF.net email is sponsored by: ApacheCon, November 18-21 in
Las Vegas (supported by COMDEX), the only Apache event to be
fully supported by the ASF. http://www.apachecon.com




More information about the Users mailing list