Text Verification Times Out

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Text Verification Times Out

Post by tgriep »

Login to the server as root and restart Apache

Code: Select all

systemctl restart httpd
Logout of the browser, clear the browser;s cache and login back in to the GUI.

Run this as root

Code: Select all

tail -f /var/log/httpd/*_log
Try sending a test emails and if the screen acts the same, post the output of the tail command and it should show the errors.
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 »

Nagios Replies:
[root@nagiosxi ~]# systemctl restart httpd
[root@nagiosxi ~]# tail -f /var/log/httpd/*_log
==> /var/log/httpd/access_log <==
10.50.106.190 - - [25/Oct/2019:10:01:08 -0500] "GET /nagiosxi/ajaxhelper.php?cmd =getxicoreajax&opts=%7B%22func%22%3A%22get_tray_alert_html%22%2C%22args%22%3A%22 %22%7D&nsp=0d14cfa7a9e5788b856249a0b387650e8e93ab7aef96df9d4530adfe21fc1940 HTTP /1.1" 200 487 "http://10.50.106.235/nagiosxi/index.php?" "Mozilla/5.0 (Windows N T 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 S afari/537.36"
10.50.106.190 - - [25/Oct/2019:10:01:08 -0500] "GET /nagiosxi/ajaxhelper.php?cmd =getxicoreajax&opts=%7B%22func%22%3A%22get_pagetop_alert_content_html%22%2C%22ar gs%22%3A%22%22%7D&nsp=0d14cfa7a9e5788b856249a0b387650e8e93ab7aef96df9d4530adfe21 fc1940 HTTP/1.1" 200 1352 "http://10.50.106.235/nagiosxi/index.php?" "Mozilla/5. 0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77. 0.3865.120 Safari/537.36"
10.50.106.190 - - [25/Oct/2019:10:01:39 -0500] "GET /nagiosxi/ajaxhelper.php?cmd =getxicoreajax&opts=%7B%22func%22%3A%22get_tray_alert_html%22%2C%22args%22%3A%22 %22%7D&nsp=0d14cfa7a9e5788b856249a0b387650e8e93ab7aef96df9d4530adfe21fc1940 HTTP /1.1" 200 487 "http://10.50.106.235/nagiosxi/index.php?" "Mozilla/5.0 (Windows N T 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 S afari/537.36"
10.50.106.190 - - [25/Oct/2019:10:01:39 -0500] "GET /nagiosxi/ajaxhelper.php?cmd =keepalive&nsp=0d14cfa7a9e5788b856249a0b387650e8e93ab7aef96df9d4530adfe21fc1940 HTTP/1.1" 200 - "http://10.50.106.235/nagiosxi/index.php?" "Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36"
10.50.106.190 - - [25/Oct/2019:10:01:39 -0500] "GET /nagiosxi/ajaxhelper.php?cmd =getxicoreajax&opts=%7B%22func%22%3A%22get_pagetop_alert_content_html%22%2C%22ar gs%22%3A%22%22%7D&nsp=0d14cfa7a9e5788b856249a0b387650e8e93ab7aef96df9d4530adfe21 fc1940 HTTP/1.1" 200 1352 "http://10.50.106.235/nagiosxi/index.php?" "Mozilla/5. 0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77. 0.3865.120 Safari/537.36"
10.50.106.190 - - [25/Oct/2019:10:01:39 -0500] "GET /nagiosxi/ajaxhelper.php?cmd =getxicoreajax&opts=%7B%22func%22%3A%22get_admin_tasks_html%22%2C%22args%22%3A%2 2%22%7D&nsp=0d14cfa7a9e5788b856249a0b387650e8e93ab7aef96df9d4530adfe21fc1940 HTT P/1.1" 200 1481 "http://10.50.106.235/nagiosxi/includes/ ... splash.php" "Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko ) Chrome/77.0.3865.120 Safari/537.36"
10.50.106.190 - - [25/Oct/2019:10:01:39 -0500] "GET /nagiosxi/ajaxhelper.php?cmd =getxicoreajax&opts=%7B%22func%22%3A%22get_getting_started_html%22%2C%22args%22% 3A%22%22%7D&nsp=0d14cfa7a9e5788b856249a0b387650e8e93ab7aef96df9d4530adfe21fc1940 HTTP/1.1" 200 1222 "http://10.50.106.235/nagiosxi/includes/ ... ult-splash. php" "Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like G ecko) Chrome/77.0.3865.120 Safari/537.36"
10.50.106.190 - - [25/Oct/2019:10:01:39 -0500] "GET /nagiosxi/ajaxhelper.php?cmd =getxicoreajax&opts=%7B%22func%22%3A%22get_host_status_summary_html%22%2C%22args %22%3A%7B%7D%7D&nsp=0d14cfa7a9e5788b856249a0b387650e8e93ab7aef96df9d4530adfe21fc 1940 HTTP/1.1" 200 1756 "http://10.50.106.235/nagiosxi/includes/page-default-spl ash.php" "Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, li ke Gecko) Chrome/77.0.3865.120 Safari/537.36"
10.50.106.190 - - [25/Oct/2019:10:01:39 -0500] "GET /nagiosxi/ajaxhelper.php?cmd =getxicoreajax&opts=%7B%22func%22%3A%22get_service_status_summary_html%22%2C%22a rgs%22%3A%7B%7D%7D&nsp=0d14cfa7a9e5788b856249a0b387650e8e93ab7aef96df9d4530adfe2 1fc1940 HTTP/1.1" 200 2038 "http://10.50.106.235/nagiosxi/includes/page-default- splash.php" "Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36"
127.0.0.1 - - [25/Oct/2019:10:01:47 -0500] "OPTIONS * HTTP/1.0" 200 - "-" "Apach e/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/5.4.16 (internal dummy connection)"

==> /var/log/httpd/error_log <==
[Thu Oct 24 12:10:44.208776 2019] [:error] [pid 52075] [client 10.50.106.190:554 43] Failed connect to api.nagios.com:443; Connection refused, referer: http://10 .50.106.235/nagiosxi/admin/updates.php
[Thu Oct 24 17:07:14.843574 2019] [:error] [pid 50261] [client 10.50.106.190:582 09] PHP Parse error: syntax error, unexpected 'MOTPublic19' (T_STRING), expecti ng function (T_FUNCTION) in /usr/local/nagiosxi/html/includes/phpmailer/class.ph pmailer.php on line 329, referer: http://10.50.106.235/nagiosxi/admin/testemail. php
[Fri Oct 25 07:59:49.738150 2019] [:error] [pid 49532] [client 10.50.106.190:528 31] PHP Parse error: syntax error, unexpected 'MOTPublic19' (T_STRING), expecti ng function (T_FUNCTION) in /usr/local/nagiosxi/html/includes/phpmailer/class.ph pmailer.php on line 329, referer: http://10.50.106.235/nagiosxi/admin/testemail. php
[Fri Oct 25 08:53:37.288853 2019] [:error] [pid 48814] [client 10.50.106.190:542 71] PHP Parse error: syntax error, unexpected 'MOTPublic19' (T_STRING), expecti ng function (T_FUNCTION) in /usr/local/nagiosxi/html/includes/phpmailer/class.ph pmailer.php on line 329, referer: http://10.50.106.235/nagiosxi/admin/testemail. php
[Fri Oct 25 09:57:33.866256 2019] [mpm_prefork:notice] [pid 1198] AH00170: caugh t SIGWINCH, shutting down gracefully
[Fri Oct 25 09:57:35.015292 2019] [suexec:notice] [pid 33935] AH01232: suEXEC me chanism enabled (wrapper: /usr/sbin/suexec)
AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using nagiosxi.sbsasp.local. Set the 'ServerName' directive globally to s uppress this message
[Fri Oct 25 09:57:35.046714 2019] [lbmethod_heartbeat:notice] [pid 33935] AH0228 2: No slotmem from mod_heartmonitor
[Fri Oct 25 09:57:35.101392 2019] [mpm_prefork:notice] [pid 33935] AH00163: Apac he/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/5.4.16 configured -- resuming normal o perations
[Fri Oct 25 09:57:35.101426 2019] [core:notice] [pid 33935] AH00094: Command lin e: '/usr/sbin/httpd -D FOREGROUND'

==> /var/log/httpd/ssl_access_log <==

==> /var/log/httpd/ssl_error_log <==
[Wed Oct 23 03:50:02.366548 2019] [ssl:warn] [pid 1216] AH01906: RSA server cert ificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Wed Oct 23 03:50:02.366577 2019] [ssl:warn] [pid 1216] AH01909: RSA certificate configured for nagiosxi.sbsasp.local:443 does NOT include an ID which matches t he server name
[Wed Oct 23 14:13:30.231650 2019] [ssl:warn] [pid 1198] AH01906: RSA server cert ificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Wed Oct 23 14:13:30.235509 2019] [ssl:warn] [pid 1198] AH01909: RSA certificate configured for nagiosxi.sbsasp.local:443 does NOT include an ID which matches t he server name
[Wed Oct 23 14:13:34.371627 2019] [ssl:warn] [pid 1198] AH01906: RSA server cert ificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Wed Oct 23 14:13:34.371655 2019] [ssl:warn] [pid 1198] AH01909: RSA certificate configured for nagiosxi.sbsasp.local:443 does NOT include an ID which matches t he server name
[Fri Oct 25 09:57:35.016056 2019] [ssl:warn] [pid 33935] AH01906: RSA server cer tificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Fri Oct 25 09:57:35.016084 2019] [ssl:warn] [pid 33935] AH01909: RSA certificat e configured for nagiosxi.sbsasp.local:443 does NOT include an ID which matches the server name
[Fri Oct 25 09:57:35.047456 2019] [ssl:warn] [pid 33935] AH01906: RSA server cer tificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Fri Oct 25 09:57:35.047481 2019] [ssl:warn] [pid 33935] AH01909: RSA certificat e configured for nagiosxi.sbsasp.local:443 does NOT include an ID which matches the server name

==> /var/log/httpd/ssl_request_log <==

==> /var/log/httpd/access_log <==
10.50.106.190 - - [25/Oct/2019:10:02:00 -0500] "GET /nagiosxi/admin/ HTTP/1.1" 2 00 35568 "http://10.50.106.235/nagiosxi/index.php?" "Mozilla/5.0 (Windows NT 6.3 ; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari /537.36"
10.50.106.190 - - [25/Oct/2019:10:02:01 -0500] "GET /nagiosxi/admin/main.php?&= HTTP/1.1" 200 23529 "http://10.50.106.235/nagiosxi/admin/" "Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36"
10.50.106.190 - - [25/Oct/2019:10:02:01 -0500] "GET /nagiosxi/ajaxhelper.php?cmd =getxicoreajax&opts=%7B%22func%22%3A%22get_tray_alert_html%22%2C%22args%22%3A%22 %22%7D&nsp=0d14cfa7a9e5788b856249a0b387650e8e93ab7aef96df9d4530adfe21fc1940 HTTP /1.1" 200 487 "http://10.50.106.235/nagiosxi/admin/" "Mozilla/5.0 (Windows NT 6. 3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safar i/537.36"
10.50.106.190 - - [25/Oct/2019:10:02:01 -0500] "GET /nagiosxi/ajaxhelper.php?cmd =getxicoreajax&opts=%7B%22func%22%3A%22get_pagetop_alert_content_html%22%2C%22ar gs%22%3A%22%22%7D&nsp=0d14cfa7a9e5788b856249a0b387650e8e93ab7aef96df9d4530adfe21 fc1940 HTTP/1.1" 200 1352 "http://10.50.106.235/nagiosxi/admin/" "Mozilla/5.0 (W indows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.38 65.120 Safari/537.36"
10.50.106.190 - - [25/Oct/2019:10:02:01 -0500] "GET /nagiosxi/ajaxhelper.php?cmd =getxicoreajax&opts=%7B%22func%22%3A%22get_component_states_html%22%2C%22args%22 %3A%22%22%7D&nsp=0d14cfa7a9e5788b856249a0b387650e8e93ab7aef96df9d4530adfe21fc194 0 HTTP/1.1" 200 5614 "http://10.50.106.235/nagiosxi/admin/main.php?&=" "Mozilla/ 5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/7 7.0.3865.120 Safari/537.36"
10.50.106.190 - - [25/Oct/2019:10:02:02 -0500] "GET /nagiosxi/images/cog.png HTT P/1.1" 200 512 "http://10.50.106.235/nagiosxi/admin/main.php?&=" "Mozilla/5.0 (W indows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.38 65.120 Safari/537.36"
10.50.106.190 - - [25/Oct/2019:10:02:02 -0500] "GET /nagiosxi/images/control_sto p.png HTTP/1.1" 200 403 "http://10.50.106.235/nagiosxi/includes/css/base.css?156 9513610" "Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, li ke Gecko) Chrome/77.0.3865.120 Safari/537.36"
10.50.106.190 - - [25/Oct/2019:10:02:02 -0500] "GET /nagiosxi/images/control_res tart.png HTTP/1.1" 200 422 "http://10.50.106.235/nagiosxi/includes/css/base.css? 1569513610" "Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36"
10.50.106.190 - - [25/Oct/2019:10:02:01 -0500] "GET /nagiosxi/ajaxhelper.php?cmd =getxicoreajax&opts=%7B%22func%22%3A%22get_admin_tasks_html%22%2C%22args%22%3A%2 2%22%7D&nsp=0d14cfa7a9e5788b856249a0b387650e8e93ab7aef96df9d4530adfe21fc1940 HTT P/1.1" 200 1481 "http://10.50.106.235/nagiosxi/admin/main.php?&=" "Mozilla/5.0 ( Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3 865.120 Safari/537.36"
10.50.106.190 - - [25/Oct/2019:10:02:06 -0500] "GET /nagiosxi/admin/mailsettings .php HTTP/1.1" 200 30719 "http://10.50.106.235/nagiosxi/admin/" "Mozilla/5.0 (Wi ndows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.386 5.120 Safari/537.36"
10.50.106.190 - - [25/Oct/2019:10:02:07 -0500] "GET /nagiosxi/includes/js/jquery /css/smoothness/images/ui-bg_highlight-hard_0_ffffff_1x100.png HTTP/1.1" 200 203 "http://10.50.106.235/nagiosxi/includes/ ... ry-ui.cust om.min.css?1569513610" "Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537 .36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36"
10.50.106.190 - - [25/Oct/2019:10:02:23 -0500] "GET /nagiosxi/admin/testemail.ph p HTTP/1.1" 200 16400 "http://10.50.106.235/nagiosxi/admin/mailsettings.php" "Mo zilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Ch rome/77.0.3865.120 Safari/537.36"

==> /var/log/httpd/error_log <==
[Fri Oct 25 10:02:26.672940 2019] [:error] [pid 33941] [client 10.50.106.190:564 83] PHP Parse error: syntax error, unexpected 'MOTPublic19' (T_STRING), expecti ng function (T_FUNCTION) in /usr/local/nagiosxi/html/includes/phpmailer/class.ph pmailer.php on line 329, referer: http://10.50.106.235/nagiosxi/admin/testemail. php

==> /var/log/httpd/access_log <==
10.50.106.190 - - [25/Oct/2019:10:02:26 -0500] "POST /nagiosxi/admin/testemail.p hp HTTP/1.1" 500 - "http://10.50.106.235/nagiosxi/admin/testemail.php" "Mozilla/ 5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/7 7.0.3865.120 Safari/537.36"
10.50.106.190 - - [25/Oct/2019:10:02:31 -0500] "GET /nagiosxi/ajaxhelper.php?cmd =getxicoreajax&opts=%7B%22func%22%3A%22get_tray_alert_html%22%2C%22args%22%3A%22 %22%7D&nsp=0d14cfa7a9e5788b856249a0b387650e8e93ab7aef96df9d4530adfe21fc1940 HTTP /1.1" 200 487 "http://10.50.106.235/nagiosxi/admin/" "Mozilla/5.0 (Windows NT 6. 3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safar i/537.36"
10.50.106.190 - - [25/Oct/2019:10:02:31 -0500] "GET /nagiosxi/ajaxhelper.php?cmd =getxicoreajax&opts=%7B%22func%22%3A%22get_pagetop_alert_content_html%22%2C%22ar gs%22%3A%22%22%7D&nsp=0d14cfa7a9e5788b856249a0b387650e8e93ab7aef96df9d4530adfe21 fc1940 HTTP/1.1" 200 1352 "http://10.50.106.235/nagiosxi/admin/" "Mozilla/5.0 (W indows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.38 65.120 Safari/537.36"
10.50.106.190 - - [25/Oct/2019:10:03:01 -0500] "GET /nagiosxi/ajaxhelper.php?cmd=keepalive&nsp=0d14cfa7a9e5788b856249a0b387650e8e93ab7aef96df9d4530adfe21fc1940 HTTP/1.1" 200 - "http://10.50.106.235/nagiosxi/admin/" "Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36"
10.50.106.190 - - [25/Oct/2019:10:03:01 -0500] "GET /nagiosxi/ajaxhelper.php?cmd=getxicoreajax&opts=%7B%22func%22%3A%22get_pagetop_alert_content_html%22%2C%22args%22%3A%22%22%7D&nsp=0d14cfa7a9e5788b856249a0b387650e8e93ab7aef96df9d4530adfe21fc1940 HTTP/1.1" 200 1352 "http://10.50.106.235/nagiosxi/admin/" "Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36"
10.50.106.190 - - [25/Oct/2019:10:03:01 -0500] "GET /nagiosxi/ajaxhelper.php?cmd=getxicoreajax&opts=%7B%22func%22%3A%22get_tray_alert_html%22%2C%22args%22%3A%22%22%7D&nsp=0d14cfa7a9e5788b856249a0b387650e8e93ab7aef96df9d4530adfe21fc1940 HTTP/1.1" 200 487 "http://10.50.106.235/nagiosxi/admin/" "Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36"
10.50.106.190 - - [25/Oct/2019:10:03:31 -0500] "GET /nagiosxi/ajaxhelper.php?cmd=getxicoreajax&opts=%7B%22func%22%3A%22get_tray_alert_html%22%2C%22args%22%3A%22%22%7D&nsp=0d14cfa7a9e5788b856249a0b387650e8e93ab7aef96df9d4530adfe21fc1940 HTTP/1.1" 200 487 "http://10.50.106.235/nagiosxi/admin/" "Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36"
10.50.106.190 - - [25/Oct/2019:10:03:31 -0500] "GET /nagiosxi/ajaxhelper.php?cmd=getxicoreajax&opts=%7B%22func%22%3A%22get_pagetop_alert_content_html%22%2C%22args%22%3A%22%22%7D&nsp=0d14cfa7a9e5788b856249a0b387650e8e93ab7aef96df9d4530adfe21fc1940 HTTP/1.1" 200 1352 "http://10.50.106.235/nagiosxi/admin/" "Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36"
10.50.106.190 - - [25/Oct/2019:10:04:01 -0500] "GET /nagiosxi/ajaxhelper.php?cmd=keepalive&nsp=0d14cfa7a9e5788b856249a0b387650e8e93ab7aef96df9d4530adfe21fc1940 HTTP/1.1" 200 - "http://10.50.106.235/nagiosxi/admin/" "Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36"
10.50.106.190 - - [25/Oct/2019:10:04:01 -0500] "GET /nagiosxi/ajaxhelper.php?cmd=getxicoreajax&opts=%7B%22func%22%3A%22get_tray_alert_html%22%2C%22args%22%3A%22%22%7D&nsp=0d14cfa7a9e5788b856249a0b387650e8e93ab7aef96df9d4530adfe21fc1940 HTTP/1.1" 200 487 "http://10.50.106.235/nagiosxi/admin/" "Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36"
10.50.106.190 - - [25/Oct/2019:10:04:01 -0500] "GET /nagiosxi/ajaxhelper.php?cmd=getxicoreajax&opts=%7B%22func%22%3A%22get_pagetop_alert_content_html%22%2C%22args%22%3A%22%22%7D&nsp=0d14cfa7a9e5788b856249a0b387650e8e93ab7aef96df9d4530adfe21fc1940 HTTP/1.1" 200 1352 "http://10.50.106.235/nagiosxi/admin/" "Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36"
10.50.106.190 - - [25/Oct/2019:10:04:31 -0500] "GET /nagiosxi/ajaxhelper.php?cmd=getxicoreajax&opts=%7B%22func%22%3A%22get_pagetop_alert_content_html%22%2C%22args%22%3A%22%22%7D&nsp=0d14cfa7a9e5788b856249a0b387650e8e93ab7aef96df9d4530adfe21fc1940 HTTP/1.1" 200 1352 "http://10.50.106.235/nagiosxi/admin/" "Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36"
10.50.106.190 - - [25/Oct/2019:10:04:31 -0500] "GET /nagiosxi/ajaxhelper.php?cmd=getxicoreajax&opts=%7B%22func%22%3A%22get_tray_alert_html%22%2C%22args%22%3A%22%22%7D&nsp=0d14cfa7a9e5788b856249a0b387650e8e93ab7aef96df9d4530adfe21fc1940 HTTP/1.1" 200 487 "http://10.50.106.235/nagiosxi/admin/" "Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36"
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Text Verification Times Out

Post by tgriep »

Edit the following file

Code: Select all

/usr/local/nagiosxi/html/includes/phpmailer/class.phpmailer.php
Make sure line 329 is the following

Code: Select all

public $SMTPDebug = 0;
If not, edit it, save the file and see if the GUI works again.
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 »

After doing this and making that change the sendmail now works but the smtp still will not.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Text Verification Times Out

Post by tgriep »

Did you edit the /etc/postfix/main.cf file to get the server to use Sendmail / Postfix to send emails?

Can you get the /var/log/maillog file and post it here so we can view which server accepted the emails so you can use that in the XI GUI for the SMTP settings?

One more thing you can try, go in to the XI GUI and re-type in the username and password for the SMTP settings. Update the change and edit the menu.
Go back in to the menu and send a test message to see if it works.
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 the log file
Oct 28 21:21:47 nagiosxi sendmail[10253]: x9T2LlkB010253: Authentication-Warning: nagiosxi.sbsasp.local: nagios set sender to [email protected] using -f
Oct 28 21:21:47 nagiosxi sendmail[10253]: x9T2LlkB010253: from=[email protected], size=1817, class=0, nrcpts=1, msgid=<[email protected]>, relay=nagios@localhost
Oct 28 21:21:47 nagiosxi sendmail[10254]: x9T2Ll7L010254: from=<[email protected]>, size=2055, class=0, nrcpts=1, msgid=<[email protected]>, proto=ESMTP, daemon=MTA, relay=localhost [127.0.0.1]
Oct 28 21:21:47 nagiosxi sendmail[10253]: x9T2LlkB010253: to=[email protected], ctladdr=[email protected] (1000/1000), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=31817, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (x9T2Ll7L010254 Message accepted for delivery)
Oct 28 21:21:47 nagiosxi sendmail[10257]: x9T2Llvi010257: Authentication-Warning: nagiosxi.sbsasp.local: nagios set sender to [email protected] using -f
Oct 28 21:21:47 nagiosxi sendmail[10257]: x9T2Llvi010257: from=[email protected], size=1960, class=0, nrcpts=1, msgid=<[email protected]>, relay=nagios@localhost
Oct 28 21:21:47 nagiosxi sendmail[10258]: x9T2LlXu010258: from=<[email protected]>, size=2198, class=0, nrcpts=1, msgid=<[email protected]>, proto=ESMTP, daemon=MTA, relay=localhost [127.0.0.1]
Oct 28 21:21:48 nagiosxi sendmail[10257]: x9T2Llvi010257: to=[email protected], ctladdr=[email protected] (1000/1000), delay=00:00:01, xdelay=00:00:01, mailer=relay, pri=31960, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (x9T2LlXu010258 Message accepted for delivery)
Oct 28 21:21:48 nagiosxi sendmail[10256]: STARTTLS=client, relay=ezaccessmot-com.mail.protection.outlook.com., version=TLSv1/SSLv3, verify=FAIL, cipher=ECDHE-RSA-AES256-GCM-SHA384, bits=256/256
Oct 28 21:21:48 nagiosxi sendmail[10260]: STARTTLS=client, relay=ezaccessmot-com.mail.protection.outlook.com., version=TLSv1/SSLv3, verify=FAIL, cipher=ECDHE-RSA-AES256-SHA384, bits=256/256
Oct 28 21:21:50 nagiosxi sendmail[10256]: x9T2Ll7L010254: to=<[email protected]>, delay=00:00:03, xdelay=00:00:03, mailer=esmtp, pri=122055, relay=ezaccessmot-com.ma...ction.outlook.com. [104.47.66.10], dsn=2.0.0, stat=Sent (<[email protected]> [InternalId=17459042058862, Hostname=DM5PR22MB0379.namprd22.prod.outlook.com] 10334 bytes in 0.215, 46.870 KB/sec Queued mail for delivery)
Oct 28 21:21:50 nagiosxi sendmail[10260]: x9T2LlXu010258: to=<[email protected]>, delay=00:00:03, xdelay=00:00:02, mailer=esmtp, pri=122198, relay=ezaccessmot-com.ma...ction.outlook.com. [104.47.66.10], dsn=2.0.0, stat=Sent (<[email protected]> [InternalId=20779051778630, Hostname=...R2201MB1150.namprd22.prod.outlook.com] 10481 bytes in 0.238, 42.847 KB/sec Queued mail for delivery)
Oct 28 21:51:43 nagiosxi sendmail[20971]: x9T2ph1G020971: Authentication-Warning: nagiosxi.sbsasp.local: nagios set sender to [email protected] using -f
Oct 28 21:51:43 nagiosxi sendmail[20971]: x9T2ph1G020971: from=[email protected], size=1791, class=0, nrcpts=1, msgid=<[email protected]>, relay=nagios@localhost
Oct 28 21:51:43 nagiosxi sendmail[20972]: x9T2ph7V020972: from=<[email protected]>, size=2029, class=0, nrcpts=1, msgid=<[email protected]>, proto=ESMTP, daemon=MTA, relay=localhost [127.0.0.1]
Oct 28 21:51:43 nagiosxi sendmail[20971]: x9T2ph1G020971: to=[email protected], ctladdr=[email protected] (1000/1000), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=31791, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (x9T2ph7V020972 Message accepted for delivery)
Oct 28 21:51:43 nagiosxi sendmail[20974]: STARTTLS=client, relay=ezaccessmot-com.mail.protection.outlook.com., version=TLSv1/SSLv3, verify=FAIL, cipher=ECDHE-RSA-AES256-SHA384, bits=256/256
Oct 28 21:51:44 nagiosxi sendmail[20974]: x9T2ph7V020972: to=<[email protected]>, delay=00:00:01, xdelay=00:00:01, mailer=esmtp, pri=122029, relay=ezaccessmot-com.ma...ction.outlook.com. [104.47.59.138], dsn=2.0.0, stat=Sent (<[email protected]> [InternalId=9092445767583, Hostname=BY5PR22MB1859.namprd22.prod.outlook.com] 10371 bytes in 0.223, 45.288 KB/sec Queued mail for delivery)
Oct 29 00:05:23 nagiosxi sendmail[3970]: x9T55Nxg003970: Authentication-Warning: nagiosxi.sbsasp.local: nagios set sender to [email protected] using -f
Oct 29 00:05:23 nagiosxi sendmail[3970]: x9T55Nxg003970: from=[email protected], size=1817, class=0, nrcpts=1, msgid=<[email protected]>, relay=nagios@localhost
Oct 29 00:05:23 nagiosxi sendmail[3971]: x9T55NcF003971: from=<[email protected]>, size=2055, class=0, nrcpts=1, msgid=<[email protected]>, proto=ESMTP, daemon=MTA, relay=localhost [127.0.0.1]
Oct 29 00:05:23 nagiosxi sendmail[3970]: x9T55Nxg003970: to=[email protected], ctladdr=[email protected] (1000/1000), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=31817, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (x9T55NcF003971 Message accepted for delivery)
Oct 29 00:05:24 nagiosxi sendmail[3973]: STARTTLS=client, relay=ezaccessmot-com.mail.protection.outlook.com., version=TLSv1/SSLv3, verify=FAIL, cipher=ECDHE-RSA-AES256-SHA384, bits=256/256
Oct 29 00:05:25 nagiosxi sendmail[3973]: x9T55NcF003971: to=<[email protected]>, delay=00:00:02, xdelay=00:00:02, mailer=esmtp, pri=122055, relay=ezaccessmot-com.ma...ction.outlook.com. [104.47.55.138], dsn=2.0.0, stat=Sent (<[email protected]> [InternalId=16136192131228, Hostname=MWHPR22MB0461.namprd22.prod.outlook.com] 10409 bytes in 0.230, 44.086 KB/sec Queued mail for delivery)
Oct 29 00:25:23 nagiosxi sendmail[11159]: x9T5PNE2011159: Authentication-Warning: nagiosxi.sbsasp.local: nagios set sender to [email protected] using -f
Oct 29 00:25:23 nagiosxi sendmail[11159]: x9T5PNE2011159: from=[email protected], size=1791, class=0, nrcpts=1, msgid=<[email protected]>, relay=nagios@localhost
Oct 29 00:25:23 nagiosxi sendmail[11160]: x9T5PNja011160: from=<[email protected]>, size=2029, class=0, nrcpts=1, msgid=<[email protected]>, proto=ESMTP, daemon=MTA, relay=localhost [127.0.0.1]
Oct 29 00:25:23 nagiosxi sendmail[11159]: x9T5PNE2011159: to=[email protected], ctladdr=[email protected] (1000/1000), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=31791, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (x9T5PNja011160 Message accepted for delivery)
Oct 29 00:25:26 nagiosxi sendmail[11162]: STARTTLS=client, relay=ezaccessmot-com.mail.protection.outlook.com., version=TLSv1/SSLv3, verify=FAIL, cipher=ECDHE-RSA-AES256-GCM-SHA384, bits=256/256
Oct 29 00:25:29 nagiosxi sendmail[11162]: x9T5PNja011160: to=<[email protected]>, delay=00:00:06, xdelay=00:00:06, mailer=esmtp, pri=122029, relay=ezaccessmot-com.ma...ction.outlook.com. [104.47.55.138], dsn=2.0.0, stat=Sent (<[email protected]> [InternalId=16183436772029, Hostname=...R2201MB1417.namprd22.prod.outlook.com] 10332 bytes in 0.462, 21.808 KB/sec Queued mail for delivery)
Oct 29 03:43:03 nagiosxi sendmail[17160]: x9T8h3QR017160: from=root, size=205, class=0, nrcpts=1, msgid=<[email protected]>, relay=root@localhost
Oct 29 03:43:03 nagiosxi sendmail[17161]: x9T8h36K017161: from=<[email protected]>, size=493, class=0, nrcpts=1, msgid=<[email protected]>, proto=ESMTP, daemon=MTA, relay=localhost [127.0.0.1]
Oct 29 03:43:03 nagiosxi sendmail[17160]: x9T8h3QR017160: to=root, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30205, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (x9T8h36K017161 Message accepted for delivery)
Oct 29 03:43:03 nagiosxi sendmail[17162]: x9T8h36K017161: to=<[email protected]>, ctladdr=<[email protected]> (0/0), delay=00:00:00, xdelay=00:00:00, mailer=local, pri=30717, dsn=2.0.0, stat=Sent
Oct 29 07:00:03 nagiosxi sendmail[22866]: x9TC03Uh022866: from=root, size=3816, class=-60, nrcpts=1, msgid=<[email protected]>, relay=root@localhost
Oct 29 07:00:03 nagiosxi sendmail[22868]: x9TC03pp022868: from=<[email protected]>, size=4095, class=-60, nrcpts=1, msgid=<[email protected]>, proto=ESMTP, daemon=MTA, relay=localhost [127.0.0.1]
Oct 29 07:00:03 nagiosxi sendmail[22866]: x9TC03Uh022866: to=root, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=141816, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (x9TC03pp022868 Message accepted for delivery)
Oct 29 07:00:04 nagiosxi sendmail[22869]: x9TC03pp022868: to=<[email protected]>, ctladdr=<[email protected]> (0/0), delay=00:00:01, xdelay=00:00:00, mailer=local, pri=142309, dsn=2.0.0, stat=Sent
[root@nagiosxi log]#
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Text Verification Times Out

Post by tgriep »

The postfix daemon is using the following server to relay the emails.

Code: Select all

ezaccessmot-com.mail.protection.outlook.com
Try using that server for the SMTP server in the XI GUI and see if that fixes the issue.
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 the phpmailer log:
[10-29-2019 10:57:51] SMTP connect() failed. https://github.com/PHPMailer/PHPMai ler/wiki/Troubleshooting (method=smtp;host=ezaccessmot-com.mail.protection.outlo ok.com;port=587;smtpauth=true;security=tls), Referer: admin/testemail.php
[10-29-2019 10:59:51] SMTP connect() failed. https://github.com/PHPMailer/PHPMai ler/wiki/Troubleshooting (method=smtp;host=smtp.office365.com;port=587;smtpauth= true;security=tls), Referer: admin/testemail.php
[10-29-2019 11:01:31] SMTP connect() failed. https://github.com/PHPMailer/PHPMai ler/wiki/Troubleshooting (method=smtp;host=smtp.office365.com;port=587;smtpauth= true;security=tls), Referer: admin/testemail.php
[root@nagiosxi tmp]#

I tried it in both the host and send from spot just in hopes either one would maybe solve it but they both generated an error.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Text Verification Times Out

Post by tgriep »

Did you edit the /etc/postfix/main.cf file to get the server to use Postfix to send the emails from the server?
Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Text Verification Times Out

Post by tgriep »

Ignore my last post. Did you or someone edit the Sendmail config files in the /etc/mail/ folder to use the ezaccessmot-com.mail.protection.outlook.com server as a relay?
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked