sending notification

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
iroy
Posts: 53
Joined: Tue Jul 26, 2016 4:46 pm

sending notification

Post by iroy »

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)
User avatar
eloyd
Cool Title Here
Posts: 2190
Joined: Thu Sep 27, 2012 9:14 am
Location: Rochester, NY
Contact:

Re: sending notification

Post by eloyd »

You have a network problem.

Code: Select all

Connection timed out
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.
Image
Eric Loyd • http://everwatch.global • 844.240.EVER • @EricLoyd
I'm a Nagios Fanatic! • Join our public Nagios Discord Server!
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: sending notification

Post by rkennedy »

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
iroy
Posts: 53
Joined: Tue Jul 26, 2016 4:46 pm

Re: sending notification

Post by iroy »

thanks everybody; it has been fixed.
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: sending notification

Post by rkennedy »

Awesome! Going to close this out and mark it as resolved.
Former Nagios Employee
Locked