Text Verification Times Out

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
ecolgroveMOT
Posts: 64
Joined: Thu Aug 22, 2019 1:58 pm

Re: Text Verification Times Out

Post by ecolgroveMOT »

I am not sure. Our email system is all 365 so i do not know where to go to look at the logs. That might be only something Microsoft can do.
User avatar
mbellerue
Posts: 1403
Joined: Fri Jul 12, 2019 11:10 am

Re: Text Verification Times Out

Post by mbellerue »

I'm looking over the thread again. Can you confirm that your email is setup to use SMTP, or is it still using Sendmail?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
ecolgroveMOT
Posts: 64
Joined: Thu Aug 22, 2019 1:58 pm

Re: Text Verification Times Out

Post by ecolgroveMOT »

it is just using sendmail still
User avatar
mbellerue
Posts: 1403
Joined: Fri Jul 12, 2019 11:10 am

Re: Text Verification Times Out

Post by mbellerue »

Okay, we'll probably want to figure out SMTP. I can't imagine that Verizon wouldn't block straight sendmail from any random machine, otherwise they would be flooded with spam in a heartbeat. If I recall, we had some issues getting SMTP working on your system. Do you recall where that left off?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
ecolgroveMOT
Posts: 64
Joined: Thu Aug 22, 2019 1:58 pm

Re: Text Verification Times Out

Post by ecolgroveMOT »

I do not. I think after we got the sendmail working the SMTP option was more complex than what time we had left, so it was rather brief.
User avatar
mbellerue
Posts: 1403
Joined: Fri Jul 12, 2019 11:10 am

Re: Text Verification Times Out

Post by mbellerue »

I think we were troubleshooting communication issues to Office365. Let's start with nmap smtp.office365.com -p 587 and if that comes back as anything other than "open", we'll have to start digging into where the block is.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
ecolgroveMOT
Posts: 64
Joined: Thu Aug 22, 2019 1:58 pm

Re: Text Verification Times Out

Post by ecolgroveMOT »

Here is Nagios Response:
[root@nagiosxi ~]# nmap smtp.office365.com -p 587

Starting Nmap 6.47 ( http://nmap.org ) at 2019-10-23 13:06 CDT
Nmap scan report for smtp.office365.com (52.96.70.242)
Host is up (0.0042s latency).
Other addresses for smtp.office365.com (not scanned): 52.96.37.210 40.97.28.98 5 2.96.44.162
PORT STATE SERVICE
587/tcp open submission

Nmap done: 1 IP address (1 host up) scanned in 0.13 seconds
[root@nagiosxi ~]#
User avatar
mbellerue
Posts: 1403
Joined: Fri Jul 12, 2019 11:10 am

Re: Text Verification Times Out

Post by mbellerue »

Oh, well perfect. Let's go ahead, switch the email configuration over to SMTP, and send a test email. See what happens. Heads up, though, this will prevent email notifications from going out until we have SMTP fully functional.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
ecolgroveMOT
Posts: 64
Joined: Thu Aug 22, 2019 1:58 pm

Re: Text Verification Times Out

Post by ecolgroveMOT »

I have included the settings for smtp as a attachment, but here s what nagios presents for a messages for a test email:
Test Email Settings
A test email was sent to [email protected]
----
Mailer said: [10-23-2019 13:57:07] SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/ ... leshooting (method=smtp;host=smtp.office365.com;port=587;smtpauth=true;security=tls), Referer: admin/testemail.php
An error occurred sending a test email!
Use this to send a test email to your current logged in user address to verify you can recieve alerts from Nagios XI.

An email will be sent to: [email protected]

Change your email address
You do not have the required permissions to view the files attached to this post.
User avatar
mbellerue
Posts: 1403
Joined: Fri Jul 12, 2019 11:10 am

Re: Text Verification Times Out

Post by mbellerue »

Was anything logged in /usr/local/nagiosxi/tmp/phpmailer.log?

Another couple of logs we can monitor while trying to send a test message,

Code: Select all

tail -f /usr/local/nagiosxi/var/cmdsubsys.log /usr/local/nagiosxi/var/eventman.log
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked