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.
Telnet test
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Telnet test
To install telnet, on your server try
Code: Select all
yum install telnet -y