Page 1 of 1

Not receiving email alerts notification from my Nagios 4.3.4

Posted: Mon Oct 23, 2017 2:43 am
by mark.quilates
Hi Guys,

Is their anyone who can help me with my issue? I tried to setup an email alerts notification on my Nagios-4.3.4. But when I tried to test it, I didn't receive any email alerts on my Gmail from my nagios. I just followed the procedure on how to configure it using this link. https://access.redhat.com/documentation ... ifications

Thanks in advance

Re: Not receiving email alerts notification from my Nagios 4

Posted: Mon Oct 23, 2017 7:53 am
by gwakem
Is there a reason this is in the ideas forum instead of the General Support forum?

Anyway, a good first step is to check your maillog. On RHEL/CentOS, it would be in /var/log/maillog. Look for the time frame you sent the alerts (or better yet, send more while doing a tail -F on the file) and see if the connection got rejected by gmail's servers. It should give you the error/response code, which usually has something to do with not having a reverse lookup, or your system not having a FQDN. Gmail won't accept mail from "server", it needs "server.domain.com". This can be set with hostnamectl set-hostname $SERVER.DOMAIN.COM.

Re: Not receiving email alerts notification from my Nagios 4

Posted: Mon Oct 23, 2017 12:18 pm
by dwasswa
Thanks @ gwakem,

@ mark.quilates ,try that and let us know if it helps.

Re: Not receiving email alerts notification from my Nagios 4

Posted: Mon Jan 15, 2018 7:33 am
by bestazy
I have the same problem with nagios 4.3.4.Well that there is an already existing topic for discussion.
I tried the tips that are provided above.
It did not work out.Still no email alert.. :? I hope this is not a very old topic, give me advice please.Thanks!

Re: Not receiving email alerts notification from my Nagios 4

Posted: Mon Jan 15, 2018 12:27 pm
by tgriep
Do you know if your Nagios system it using Sendmail or Postfix as the mailer daemon for sending emails?
Do you see any errors in the /var/log/maillog file when the system tries to send an email notification?
If you do see an error, can you post it here so we can view it?

Thanks

Re: Not receiving email alerts notification from my Nagios 4

Posted: Tue Jan 16, 2018 8:43 am
by bestazy
tgriep wrote:Do you know if your Nagios system it using Sendmail or Postfix as the mailer daemon for sending emails?
Do you see any errors in the /var/log/maillog file when the system tries to send an email notification?
If you do see an error, can you post it here so we can view it?

Thanks
ye,ther error,will send later.Thanks!

Re: Not receiving email alerts notification from my Nagios 4

Posted: Tue Jan 16, 2018 3:34 pm
by tgriep
OK, when you get the time, go ahead and post them.