Hi All

Sorry for the incomplete info, I do know better, really.  Pls forgive.

Anyways, below is the result I get when I manually run check_smtp
from my plugins directory.  This is on a redhat es4 machine running 1.2
nagios
(yes, very outdated I know).

[EMAIL PROTECTED] plugins]# ./check_smtp mail.xxx.com
Socket timeout after 10 seconds
[EMAIL PROTECTED] plugins]# ./check_smtp mail.yyy.com
SMTP OK - 0 second response time

* so check_smtp fails on one mail server but not the other
mail.xxx.com is behind the same firewall as the nagios server
but on a different network....
mail.yyy.com is on another network outside of the firewall
is there anything I should know about having nagios check_smtp server within
a firewall??

And of course, mail is working just fine.
> mail -v [EMAIL PROTECTED]
Subject: foo
.
EOT
Null message body; hope that's ok
[EMAIL PROTECTED] Connecting to mail.xxx.com. via esmtp...
220 xxx.com ESMTP
>>> EHLO anywhere.com
250-xxx.com Ok.
250-AUTH PLAIN LOGIN CRAM-MD5
250-AUTH=PLAIN LOGIN CRAM-MD5 X-NETSCAPE-HAS-BUGS
250-STARTTLS
250-XVERP=Courier
250-XEXDATA
250-XSECURITY=NONE,STARTTLS
250-PIPELINING
250-8BITMIME
250-SIZE
250 DSN
>>> STARTTLS
220 Ok
>>> EHLO anywhere.com
250-xxx.com Ok.
250-AUTH PLAIN LOGIN CRAM-MD5
250-AUTH=PLAIN LOGIN CRAM-MD5 X-NETSCAPE-HAS-BUGS
250-XVERP=Courier
250-XEXDATA
250-XSECURITY=NONE,STARTTLS
250-PIPELINING
250-8BITMIME
250-SIZE
250 DSN
>>> MAIL From:<[EMAIL PROTECTED]> SIZE=48
250 Ok.
>>> RCPT To:<[EMAIL PROTECTED]>
250 Ok.
>>> DATA
354 Ok.
>>> .
250 Ok. 47903A17.00003806
[EMAIL PROTECTED] Sent (Ok. 47903A17.00003806)
Closing connection to mail.xxx.com.
>>> QUIT
221 Bye.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Marc Powell
Sent: Thursday, January 17, 2008 7:33 PM
To: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] check_smtp issues



> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:nagios-users-
> [EMAIL PROTECTED] On Behalf Of Julie S. Lin
> Sent: Thursday, January 17, 2008 6:36 PM
> To: nagios-users@lists.sourceforge.net
> Subject: [Nagios-users] check_smtp issues
> 
> Hi
> 
> I just added a new mail server and am having trouble getting
check_smtp
> to check it properly.  This mail server is on a different network than
> my nagios server
> HOWEVER, I can telnet to the standard ports ( 25 and 993 just fine)
> 
> check_smtp to another mail server on yet another network works.


You should tell us what the problem is. Be very specific. We can't help
if we don't know and we aren't going to guess.

--
Marc


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Nagios-users mailing list
Nagios-users@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: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Nagios-users mailing list
Nagios-users@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

Reply via email to