Hi ,
I did try to observe the logs and pfb the output.
Does it work if you go to Admin > Manage Email Settings > Send a Test Email? - NO IT DOES NOT WORK..This output is for the same..
Once I am clicking the send test mail button, Nagios UI is getting stuck and I have to restart the httpd service on the server.
Logs:
[root@oc-monitoring-test nagios-xi-prod]# tail -F /var/log/maillog /usr/local/nagiosxi/tmp/phpmailer.log /usr/local/nagiosxi/var/eventman.log
==> /var/log/maillog <==
Jan 14 07:00:02 oc-monitoring-test postfix/pickup[118657]: AF956218374D: uid=0 from=<root>
Jan 14 07:00:02 oc-monitoring-test postfix/cleanup[11113]: AF956218374D: message-id=<
20190114060002.AF956218374D@oc-monitoring-test.int.opuscapita.com>
Jan 14 07:00:02 oc-monitoring-test postfix/qmgr[94974]: AF956218374D: from=<
[email protected]>, size=4185, nrcpt=1 (queue active)
Jan 14 07:00:02 oc-monitoring-test postfix/smtp[11118]: AF956218374D: to=<
[email protected]>, orig_to=<root>, relay=none, delay=0.11, delays=0.09/0.01/0.01/0, dsn=5.4.4, status=bounced (Host or domain name not found. Name service error for name=int.opuscapita.com type=AAAA: Host found but no data record of requested type)
Jan 14 07:00:02 oc-monitoring-test postfix/cleanup[11113]: C6C512183753: message-id=<
20190114060002.C6C512183753@oc-monitoring-test.int.opuscapita.com>
Jan 14 07:00:02 oc-monitoring-test postfix/bounce[11119]: AF956218374D: sender non-delivery notification: C6C512183753
Jan 14 07:00:02 oc-monitoring-test postfix/qmgr[94974]: C6C512183753: from=<>, size=6441, nrcpt=1 (queue active)
Jan 14 07:00:02 oc-monitoring-test postfix/qmgr[94974]: AF956218374D: removed
Jan 14 07:00:02 oc-monitoring-test postfix/smtp[11118]: C6C512183753: to=<
[email protected]>, relay=none, delay=0.05, delays=0.03/0/0.01/0, dsn=5.4.4, status=bounced (Host or domain name not found. Name service error for name=int.opuscapita.com type=AAAA: Host found but no data record of requested type)
Jan 14 07:00:02 oc-monitoring-test postfix/qmgr[94974]: C6C512183753: removed
==> /usr/local/nagiosxi/tmp/phpmailer.log <==
[01-14-2019 16:06:47] SMTP connect() failed.
https://github.com/PHPMailer/PHPMailer/ ... leshooting (method=smtp;host=smtp.office365.com;port=587;smtpauth=true;security=tls), Referer: includes/components/xicore/xicore.inc.php > Event Handler Notification Email
[01-14-2019 16:07:49] SMTP connect() failed.
https://github.com/PHPMailer/PHPMailer/ ... leshooting (method=smtp;host=smtp.office365.com;port=587;smtpauth=true;security=tls), Referer: includes/components/xicore/xicore.inc.php > Event Handler Notification Email
[01-14-2019 16:08:50] SMTP connect() failed.
https://github.com/PHPMailer/PHPMailer/ ... leshooting (method=smtp;host=smtp.office365.com;port=587;smtpauth=true;security=tls), Referer: includes/components/xicore/xicore.inc.php > Event Handler Notification Email
[01-14-2019 16:09:50] SMTP connect() failed.
https://github.com/PHPMailer/PHPMailer/ ... leshooting (method=smtp;host=smtp.office365.com;port=587;smtpauth=true;security=tls), Referer: includes/components/xicore/xicore.inc.php > Event Handler Notification Email
[01-14-2019 16:10:50] SMTP connect() failed.
https://github.com/PHPMailer/PHPMailer/ ... leshooting (method=smtp;host=smtp.office365.com;port=587;smtpauth=true;security=tls), Referer: includes/components/xicore/xicore.inc.php > Event Handler Notification Email
[01-14-2019 16:11:50] SMTP connect() failed.
https://github.com/PHPMailer/PHPMailer/ ... leshooting (method=smtp;host=smtp.office365.com;port=587;smtpauth=true;security=tls), Referer: includes/components/xicore/xicore.inc.php > Event Handler Notification Email
[01-14-2019 16:12:52] SMTP connect() failed.
https://github.com/PHPMailer/PHPMailer/ ... leshooting (method=smtp;host=smtp.office365.com;port=587;smtpauth=true;security=tls), Referer: includes/components/xicore/xicore.inc.php > Event Handler Notification Email
[01-14-2019 16:13:52] SMTP connect() failed.
https://github.com/PHPMailer/PHPMailer/ ... leshooting (method=smtp;host=smtp.office365.com;port=587;smtpauth=true;security=tls), Referer: includes/components/xicore/xicore.inc.php > Event Handler Notification Email
[01-14-2019 16:14:53] SMTP connect() failed.
https://github.com/PHPMailer/PHPMailer/ ... leshooting (method=smtp;host=smtp.office365.com;port=587;smtpauth=true;security=tls), Referer: includes/components/xicore/xicore.inc.php > Event Handler Notification Email
[01-14-2019 16:15:53] SMTP connect() failed.
https://github.com/PHPMailer/PHPMailer/ ... leshooting (method=smtp;host=smtp.office365.com;port=587;smtpauth=true;security=tls), Referer: includes/components/xicore/xicore.inc.php > Event Handler Notification Email
==> /usr/local/nagiosxi/var/eventman.log <==
PROCESSED 0 EVENTS
....................
PROCESSED 0 EVENTS
....................
PROCESSED 0 EVENTS
....................
PROCESSED 0 EVENTS
....................
PROCESSED 0 EVENTS
..................
PROCESSED 0 EVENTS
....................
PROCESSED 0 EVENTS
....................
PROCESSED 0 EVENTS
....................
PROCESSED 0 EVENTS
....................
PROCESSED 0 EVENTS