Hi Team,
I have configured a service and attached a contact(contact only- not a user contact) which has host/service notification command as notify-service-by-email. This service has gone to a critical state multiple times but the contact has suggested that they have not received any email. I have checked in the notification windows and it shows an entry saying that an email has been sent to that contact, I have set the host/service notification options to receive critical, warning, recovery and unknown alerts, so the settings are correct. Please suggest how we can test if it is indeed working and emails are going out to this contact.
notify-service-by-email doesnt send any email to the contact
-
jdalrymple
- Skynet Drone
- Posts: 2620
- Joined: Wed Feb 11, 2015 1:56 pm
Re: notify-service-by-email doesnt send any email to the con
The way to test is to submit a notification while tailing the Nagios system's maillog:
You should see some information related to the mail going out, and also whether it's accepted or rejected by the remote mail server. Is the remote mail server internal to your network, or is it somewhere across the Internet? Often times this type of a notification is blocked by yours or your ISP's firewall and you have to use SMTP.
Code: Select all
tail -f /var/log/maillogRe: notify-service-by-email doesnt send any email to the con
Hi Team,
We see the below error message in the logs when an alert is created for this contact remail is
Aug 3 11:23:13 eu1papu002 postfix/error[17161]: BDE576000AC: to=<contact@mailID>, relay=none, delay=477, delays=477/0.22/0/0, dsn=4.0.0, status=deferred (delivery temporarily suspended: host cluster8.eu.messagelabs.com[xxx.xxx.xxx.xxx] refused to talk to me: 450 Requested action aborted [7.2] 21704, please visit http://www.messagelabs.com/support for more details about this error message.)
We are using the default sendmail setup to send email from Nagios XI without any changes, should we be changing any settings on sendmail service or on nagios?
We see the below error message in the logs when an alert is created for this contact remail is
Aug 3 11:23:13 eu1papu002 postfix/error[17161]: BDE576000AC: to=<contact@mailID>, relay=none, delay=477, delays=477/0.22/0/0, dsn=4.0.0, status=deferred (delivery temporarily suspended: host cluster8.eu.messagelabs.com[xxx.xxx.xxx.xxx] refused to talk to me: 450 Requested action aborted [7.2] 21704, please visit http://www.messagelabs.com/support for more details about this error message.)
We are using the default sendmail setup to send email from Nagios XI without any changes, should we be changing any settings on sendmail service or on nagios?
Re: notify-service-by-email doesnt send any email to the con
The server "cluster8.eu.messagelabs.com" is blocking the emails that are coming from the Nagios XI server and you will have to contact the admin of that server to allow the Nagios XI server to relay it's email through that server.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: notify-service-by-email doesnt send any email to the con
Hi Team,
Can you please provide some documentation to configure relay server for our sendmail service, I think it is currently relaying from internet. Please provide some documentation.
Can you please provide some documentation to configure relay server for our sendmail service, I think it is currently relaying from internet. Please provide some documentation.
Re: notify-service-by-email doesnt send any email to the con
Unfortunately, we don't have any documentation on the topic as this is out of the scope of Nagios support. Here's a link to the postfix basic configuration guide:Can you please provide some documentation to configure relay server for our sendmail service, I think it is currently relaying from internet. Please provide some documentation.
http://www.postfix.org/BASIC_CONFIGURATION_README.html
I hope this will point you to the right direction.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: notify-service-by-email doesnt send any email to the con
Hi Team,
We have tested the postfix relay mechanism on our test server, now we want the same to be implemented in our production instance, we just wanted to know what will be the effect on the Nagios system if we restart the postfix service.
We have tested the postfix relay mechanism on our test server, now we want the same to be implemented in our production instance, we just wanted to know what will be the effect on the Nagios system if we restart the postfix service.
Re: notify-service-by-email doesnt send any email to the con
Restarting postfix will not effect the Nagios process except that the system will be able to send emails.
Be sure to check out our Knowledgebase for helpful articles and solutions!