Text Verification Times Out
-
ecolgroveMOT
- Posts: 64
- Joined: Thu Aug 22, 2019 1:58 pm
Re: Text Verification Times Out
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.
Re: Text Verification Times Out
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!
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
it is just using sendmail still
Re: Text Verification Times Out
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!
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
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.
Re: Text Verification Times Out
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!
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
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 ~]#
[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 ~]#
Re: Text Verification Times Out
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!
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
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
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.
Re: Text Verification Times Out
Was anything logged in /usr/local/nagiosxi/tmp/phpmailer.log?
Another couple of logs we can monitor while trying to send a test message,
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.logAs 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!
Be sure to check out our Knowledgebase for helpful articles and solutions!