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
Not receiving email alerts notification from my Nagios 4.3.4
-
- Posts: 21
- Joined: Sat Feb 27, 2016 3:12 am
Re: Not receiving email alerts notification from my Nagios 4
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.
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.
--
Griffin Wakem
Griffin Wakem
Re: Not receiving email alerts notification from my Nagios 4
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!
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
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
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
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Not receiving email alerts notification from my Nagios 4
ye,ther error,will send later.Thanks!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
Re: Not receiving email alerts notification from my Nagios 4
OK, when you get the time, go ahead and post them.
Be sure to check out our Knowledgebase for helpful articles and solutions!