Notification not received on my mailing address

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
ankurtyagi333
Posts: 2
Joined: Mon Jun 15, 2020 5:30 am

Notification not received on my mailing address

Post by ankurtyagi333 »

Hi Community Members,
I Deploy/Install a Nagios Core in my virtual machine and configure the nagios with Host, Services and for contact. In Nagios console, in notification part i see lots of notifications with my mailing address but notification/alert are not coming on my mailing address that i mention in contact.cfg.

There is something additional part to configure notification for receiving notification on mailing address or it should word after configuration mailing address in contact.cfg ?

Please help on this to understand default scenario for notification.

Thanks in advance...

Ankur Tyagi
ankurtyagi333
Posts: 2
Joined: Mon Jun 15, 2020 5:30 am

Re: Notification not received on my mailing address

Post by ankurtyagi333 »

I read that postfix is required to send out the notification from server to mailing address. So for that i installed and configure the postfix but still issue is same. My mail notification are not going to my mailing address that i mention in contact.cfg file.

i check maillog file using command - # tail -f /var/log/maillog and got output like below -

Jun 15 08:13:21 UPTESTPROD postfix/qmgr[70663]: 105236190C: from=<nagios@UPTESTPROD.localdomain>, size=761, nrcpt=1 (queue active)
Jun 15 08:13:21 UPTESTPROD postfix/error[70699]: 06B5D64E49: to=<ankurankur999@gmail.com>, relay=none, delay=0.11, delays=0.08/0.03/0/0, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to smtp.gmail.com[142.250.4.109]:587: Connection timed out)
Jun 15 08:13:21 UPTESTPROD postfix/error[70699]: 0F30164E47: to=<ankurtyagi.infinite@gmail.com>, relay=none, delay=0.13, delays=0.09/0.03/0/0.02, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to smtp.gmail.com[142.250.4.109]:587: Connection timed out)
Jun 15 08:13:21 UPTESTPROD postfix/error[70699]: 105236190C: to=<youremail@domain.com>, relay=none, delay=0.13, delays=0.09/0.04/0/0, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to smtp.gmail.com[142.250.4.109]:587: Connection timed out)


Please help on this.
What's the issue exactly ?
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Notification not received on my mailing address

Post by scottwilkerson »

This isn't a problem with Nagios, but a problem with your server configuration and/or postfix configuration

It appears that smtp.gmail.com is blocking/refusing the connection from your server or doesn't have proper routing and is timing out..

In one of the line I see this

Code: Select all

from=<nagios@UPTESTPROD.localdomain>
Beside other possible issues, you should really have a valid FROM address setup or it could cause rejections as well.
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
Locked