SMTP/POP3 Critical

Subhendu Ghosh sghosh at sghosh.org
Thu May 29 21:47:25 CEST 2003


This looks fine.  you are getting a warning  because 6 sec is longer than 
3 sec...

-sg

On Thu, 29 May 2003, Obantec Support wrote:

> Hi
> 
> input
> 
> [root at proteus3 libexec]# ./check_smtp -H mail.mydomainhere.com -w 3 -c 10 -f
> support at mydomainhere.com; echo $?
> SMTP WARNING - 6 second response time 1
> 
> log
> 
> May 29 09:17:37 proteus2 sendmail[31039]: NOQUEUE: connect from [IP of
> Nagios Box]
> May 29 09:17:37 proteus2 sendmail[31039]: AUTH: available mech=PLAIN LOGIN
> DIGEST-MD5 CRAM-MD5 ANONYMOUS, allowed mech=PLAIN LOGIN
> May 29 09:17:37 proteus2 sendmail[31039]: h4T8Hb3J031039: --- 220
> relay.obantec.net ESMTP Sendmail 8.12.9/8.12.9; Thu, 29 May 2003 09:17:37
> +0100
> May 29 09:17:37 proteus2 sendmail[31039]: h4T8Hb3J031039: <-- HELO proteus3
> May 29 09:17:37 proteus2 sendmail[31039]: h4T8Hb3J031039: --- 250
> relay.obantec.net Hello [IP of Nagios Box], pleased to meet you
> May 29 09:17:37 proteus2 sendmail[31039]: h4T8Hb3J031039: <-- MAIL FROM:
> support at mydomainhere.com
> May 29 09:17:37 proteus2 sendmail[31039]: h4T8Hb3J031039: --- 250 2.1.0
> support at mydomainhere.com... Sender ok
> May 29 09:17:37 proteus2 sendmail[31039]: h4T8Hb3J031039: <-- QUIT
> May 29 09:17:37 proteus2 sendmail[31039]: h4T8Hb3J031039: --- 221 2.0.0
> relay.mydomainhere.net closing connection
> May 29 09:17:37 proteus2 sendmail[31039]: h4T8Hb3J031039:
> from=support at mydomainhere.com, size=0, class=0, nrcpts=0, proto=SMTP,
> daemon=MTA, relay=[IP of Nagios Box]
> 
> As to the versions well i just downloaded the code and using check_smtp -V
> reveals
> 
> check_smtp (nagios-plugins 200211131100-snapshot) 1.8
> 
> mark
> 
> 
> ----- Original Message -----
> From: "Subhendu Ghosh" <sghosh at sghosh.org>
> To: <Nagios-users at lists.sourceforge.net>
> Sent: Wednesday, May 28, 2003 3:10 AM
> Subject: Re: [Nagios-users] SMTP/POP3 Critical
> 
> 
> > The error seems to be on the FROM line being sent by the plugin.
> >
> > You did not mention which version of plugin...
> >
> > Can you try the -f option for a complete FROM line.
> >
> > -sg
> >
> > On Tue, 27 May 2003, Obantec Support wrote:
> >
> > > Hi
> > >
> > > Its RH7.2 on box that has issues
> > > (IP's and real names changed to protect systems).
> > >
> > > Ok if  manually run
> > >
> > > ./check_smtp -H mail.mydomainhere.com -w 3 -c 5; echo $?    SMTP
> WARNING - 5
> > > second response time 1
> > >
> > > then from RH7.2 box maillog (at level 15)
> > >
> > > May 27 08:23:50 proteus2 sendmail[6262]: NOQUEUE: connect from [IP of
> Nagios
> > > Box]
> > > May 27 08:23:50 proteus2 sendmail[6262]: AUTH: available mech=PLAIN
> LOGIN
> > > DIGEST-MD5 CRAM-MD5 ANONYMOUS, allowed mech=PLAIN LOGIN
> > > May 27 08:23:50 proteus2 sendmail[6262]: h4R7No6P006262: --- 220
> > > mail.mydomainhere.com ESMTP Sendmail 8.12.9/8.12.9; Tue, 27 May 2003
> > > 08:23:50 +0100
> > > May 27 08:23:50 proteus2 sendmail[6262]: h4R7No6P006262: <-- HELO
> proteus3
> > > May 27 08:23:50 proteus2 sendmail[6262]: h4R7No6P006262: --- 250
> > > mail.mydomainhere.com Hello [IP of Nagios Box], pleased to meet you
> > > May 27 08:23:50 proteus2 sendmail[6262]: h4R7No6P006262: <-- MAIL FROM:
> > > May 27 08:23:50 proteus2 sendmail[6262]: h4R7No6P006262: --- 501 5.5.2
> > > Syntax error in parameters scanning "FROM"
> > > May 27 08:23:50 proteus2 sendmail[6262]: h4R7No6P006262: <-- QUIT
> > > May 27 08:23:50 proteus2 sendmail[6262]: h4R7No6P006262: --- 221 2.0.0
> > > mail.mydomainhere.com closing connection
> > >
> > >
> > > On working RH6.2 with older sendmail (8.10.2)
> > >
> > > ./check_smtp -H mail1.mydomainhere.com -w 3 -c 5; echo $? Socket timeout
> > > after 10 seconds 2
> > >
> > > May 27 08:33:04 proteus sendmail[21469]: h4R7WxJ21469: connect from [IP
> of
> > > Nagios Box]
> > > May 27 08:33:04 proteus sendmail[21469]: SASL: available mech=PLAIN
> LOGIN,
> > > allowed mech=PLAIN LOGIN
> > > May 27 08:33:04 proteus sendmail[21469]: h4R7WxJ21469: --> 220
> > > mail1.mydomainhere.com ESMTP Sendmail 8.10.2/8.10.2; Tue, 27 May 2003
> > > 08:33:04 +0100
> > > May 27 08:33:04 proteus sendmail[21469]: h4R7WxJ21469: --> 421 4.4.1
> > > mail1.mydomainhere.com Lost input channel from [IP of Nagios Box]
> > > May 27 08:33:04 proteus sendmail[21469]: NOQUEUE: [IP of Nagios Box] did
> not
> > > issue MAIL/EXPN/VRFY/ETRN during connection to MTA
> > >
> > > Mark
> > >
> > > ----- Original Message -----
> > > From: "Pascal Miquet" <p.miquet at hafiba.fr>
> > > To: "Obantec Support" <support at obantec.net>
> > > Cc: "Nagios users" <nagios-users at lists.sourceforge.net>
> > > Sent: Tuesday, May 27, 2003 6:26 AM
> > > Subject: Re: [Nagios-users] SMTP/POP3 Critical
> > >
> > >
> > > > Hello,
> > > >
> > > > Did you try to run manually the nagios command. Seems that this is
> your
> > > > RH7.3 hosts which refuse the connection. I Suggest you to look the log
> > > > files of your RH 7.3
> > > >
> > > > HTH
> > > > Regards
> > > > Pascal Miquet
> > > >
> > > >
> > > > Le lun  26/05/2003 à 20:20, Obantec Support a écrit :
> > > > > Hi
> > > > >
> > > > > First time posting to this list.
> > > > >
> > > > > Nagios setup ok and monitoring (http,ftp,pop3,smtp,ping) 2 linux
> servers
> > > > > RH6.2 All ok , RH7.2 with sendmail 812.9 has a problem
> > > > >
> > > > > ***** Nagios 1.0 *****
> > > > >
> > > > > Notification Type: PROBLEM
> > > > >
> > > > > Service: SMTP
> > > > > Host: MCC
> > > > > Address: (xxx.xxx.xxx.xxx)
> > > > > State: CRITICAL
> > > > >
> > > > > Date/Time: Mon May 26 19:12:12 BST 2003
> > > > >
> > > > > Additional Info:
> > > > >
> > > > > Connection refused by host
> > > > >
> > > > > Same for POP3
> > > > >
> > > > > I have checked archive and see others with this problem but not
> found a
> > > > > solution.
> > > > >
> > > > > Sendmail on MCC requires Auth using plain/login
> > > > >
> > > > > Sending box is RH8.0 and not on same IP range of ether of the 2
> servers
> > > > > being monitored.
> > > > >
> > > > > Any info?
> > > > >
> > > > > Mark
> > > > >
> >
> > --
> >
> >
> >
> >
> >
> > -------------------------------------------------------
> > This SF.net email is sponsored by: ObjectStore.
> > If flattening out C++ or Java code to make your application fit in a
> > relational database is painful, don't do it! Check out ObjectStore.
> > Now part of Progress Software. http://www.objectstore.net/sourceforge
> > _______________________________________________
> > 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
> >
> 
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: eBay
> Get office equipment for less on eBay!
> http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
> _______________________________________________
> 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
> 

-- 






-------------------------------------------------------
This SF.net email is sponsored by: eBay
Get office equipment for less on eBay!
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
_______________________________________________
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