Test Email Settings with Error

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
p.alexsantos
Posts: 3
Joined: Wed Sep 27, 2017 3:54 pm

Test Email Settings with Error

Post by p.alexsantos »

Hello,
We have not received any email alerts for nagios since 9/26/2017. I ran the System Test Email Messages, and I took the error below. Can you help me, has anyone seen this happen?

Test Email Settings
A test email was sent to [email protected]
----
Mailer said: [09-27-2017 17:36:51] SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/ ... leshooting (method=smtp;host=smtp.generali;port=25;smtpauth=true;security=none), Referer: admin/testemail.php
An error occurred sending a test email!
User avatar
tacolover101
Posts: 432
Joined: Mon Apr 10, 2017 11:55 am

Re: Test Email Settings with Error

Post by tacolover101 »

it would appear you're having issues connecting to the SMTP server. is 'smtp.generali' the correct FQDN?

can you probe the mail server's port from the Nagios machine?
p.alexsantos
Posts: 3
Joined: Wed Sep 27, 2017 3:54 pm

Re: Test Email Settings with Error

Post by p.alexsantos »

Hello,

Is this the test you requested? If yes, it seems that smtp.generali 25 is functional. I need to solve this problem soon! Do you have any other ideas?

[root@GMZ4AP21 tmp]# telnet smtp.generali 25
Trying 10.128.0.15...
Connected to smtp.generali.
Escape character is '^]'.
220 smtp.generali Microsoft ESMTP MAIL Service ready at Thu, 28 Sep 2017 11:27:03 -0300
^C^]
telnet> quit
Connection closed.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Test Email Settings with Error

Post by scottwilkerson »

On the Admin -> Manage Email Settings page can you check the box for "Debug Log"
Then perform the test again.

This time you will have information in the CLI in the following file, please attach with your response
/usr/local/nagiosxi/tmp/phpmailer.log
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked