Page 1 of 1

Telnet test

Posted: Sun Mar 04, 2012 9:02 am
by sdoan01
Hi,
My Nagios SMTP is not working. When I do a "test email" in Nagios to my SMTP server, I get the error "Mailer said: SMTP Error: Could not connect to SMTP host". Port 25 is open on my network and I tried to test the command "# telnet hchexchange.hch.local 25" on my Nagios Server. I get an error when running that command "-bash: telnet: command not found". I tried to yum install telnet server and it failed. I tried to enable telnet service through vi, but nothing was in the file. Please help!

On my old Nagios server, I would use the mail method "sendmail" to get alerts, but that won't work on my new Nagios server. That is why I am trying to configure SMTP to get alerts.

Re: Telnet test

Posted: Sun Mar 04, 2012 9:51 pm
by scottwilkerson
To install telnet, on your server try

Code: Select all

yum install telnet -y