Email Alert Not Going on My Domain

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
sarfarosh
Posts: 211
Joined: Fri Oct 05, 2012 3:56 am

Email Alert Not Going on My Domain

Post by sarfarosh »

Hi Team,
Alerts are been received to gmail id's but fails for my domain. Please find the attached screenshot for your reference.
You do not have the required permissions to view the files attached to this post.
dwasswa

Re: Email Alert Not Going on My Domain

Post by dwasswa »

Hi @sarfarosh,

Are you sending through sendmail/postfix or SMTP. This what nagios uses.

Please look at this doc..https://assets.nagios.com/downloads/nag ... ios-XI.pdf


Also double check your configurations.

Code: Select all

 cat /usr/local/nagios/etc/contacts.cfg
show me this file

The following command can be used to watch the logs related to events and notifications in XI:

Code: Select all

tail -f /usr/local/nagiosxi/var/eventman.log
Can you please also run Email test to you domain by:

Configure->My Account Settings->Send Test Notifications.

Then, check to see if the test email arrives. If it doesn't arrive, the problem could be one of the following:

- Nagios server cannot send mail outside of your network (if you are using Sendmail)

- Also Nagios may not be able to relay mail through your company server (if you are using SMTP)

Outbound SMTP connections may be blocked by your border firewall. Lastly, unauthenticated SMTP relaying may be denied somewhere downstream - try switching email methods from Sendmail to SMTP in the admin section.


Also,

The contact must be either directly associated with the host or service or be part of a contactgroup that is connected to the host or service.

Make sure users and contacts that were added within Nagios XI are set up with the proper notification handlers:

If you are using Users, which are also Contacts (you've added a Contact to them):
xi_host_notification_handler and xi_service_notification_handler



If you are using Contacts only:
notify-host-by-email and notify-service-by-email


For more information about users and contacts ...https://assets.nagios.com/downloads/nag ... 1493223405
Locked