Please help.
Having issues in trying to test send notification.
Used "send test notification" and everything seemed to work in the gui.
Checked /var/log/syslog and below is what i see:
Sep 2 16:51:01 localhost postfix/smtp[17162]: connect to aspmx.l.google.com[64.233.178.27]:25: Connection timed out
Sep 2 16:51:01 localhost postfix/smtp[17162]: connect to aspmx.l.google.com[2607:f8b0:4003:c15::1a]:25: Network is unreachable
Sep 2 16:51:31 localhost postfix/smtp[17166]: connect to spmail-sms-gw.cloudmark.com[66.151.128.162]:25: Connection timed out
Sep 2 16:51:31 localhost postfix/smtp[17166]: DE13ADC0CFF: to=<[email protected]>, relay=none, delay=60, delays=0/0/60/0, dsn=4.4.1, status=deferred (connect to spmail-sms-gw.cloudmark.com[66.151.128.162]:25: Connection timed out)
Sep 2 16:51:31 localhost postfix/smtp[17162]: connect to alt2.aspmx.l.google.com[173.194.66.26]:25: Connection timed out
Sep 2 16:51:31 localhost postfix/smtp[17162]: connect to alt2.aspmx.l.google.com[2607:f8b0:400d:c01::1b]:25: Network is unreachable
Sep 2 16:52:01 localhost CRON[17585]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/cleaner.php > /usr/local/nagiosxi/var/cleaner.log 2>&1)
Sep 2 16:52:01 localhost CRON[17586]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/sysstat.php > /usr/local/nagiosxi/var/sysstat.log 2>&1)
Sep 2 16:52:01 localhost CRON[17589]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/reportengine.php > /usr/local/nagiosxi/var/reportengine.log 2>&1)
Sep 2 16:52:01 localhost CRON[17592]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/eventman.php > /usr/local/nagiosxi/var/eventman.log 2>&1)
Sep 2 16:52:01 localhost CRON[17591]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/feedproc.php > /usr/local/nagiosxi/var/feedproc.log 2>&1)
Sep 2 16:52:01 localhost CRON[17596]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/nom.php > /usr/local/nagiosxi/var/nom.log 2>&1)
Sep 2 16:52:01 localhost CRON[17598]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/perfdataproc.php > /usr/local/nagiosxi/var/perfdataproc.log 2>&1)
Sep 2 16:52:01 localhost postfix/smtp[17162]: connect to alt1.aspmx.l.google.com[173.194.219.27]:25: Connection timed out
Sep 2 16:52:01 localhost postfix/smtp[17162]: DC21BDC0CD3: to=<[email protected]>, relay=none, delay=91, delays=0/0/91/0, dsn=4.4.1, status=deferred (connect to alt1.aspmx.l.google.com[173.194.219.27]:25: Connection timed out)
sending notification
Re: sending notification
You have a network problem.
Appears multiple times in your logs. Solve the port 25 -> external IP address problem, and your email will work. Internal testing was likely done via PHP sendmail, not SMTP.
Code: Select all
Connection timed out
Eric Loyd • http://everwatch.global • 844.240.EVER • @EricLoyd
I'm a Nagios Fanatic! • Join our public Nagios Discord Server!
Re: sending notification
It looks like your postfix is configured to use SMTP as well, which isn't something XI would do. When using 'Manage Email Settings', we either let you specify a SMTP server there, or use sendmail directly. I would review your settings as @eloyd mentioned.
Former Nagios Employee
Re: sending notification
thanks everybody; it has been fixed.
Re: sending notification
Awesome! Going to close this out and mark it as resolved.
Former Nagios Employee