Hi,
I tested on XI 5.8.3 by creating a contact user "ctest1" (below) and it is working for me.
Here's how I created the user:
Code: Select all
Nagios XI GUI > Configure > Core Config Manager > Contacts > "Add New"
I tested by using both internal (Nagios.com) and outside (hotmail.com) email addresses, all worked just fine.
However, for the outside email, the notification email went into the "
Junk" box instead of the "inbox"
Code: Select all
define contact {
contact_name ctest1
alias ctest1
service_notification_period 24x7
host_notification_period 24x7
service_notification_options r,w,u,c,f,s
host_notification_options r,d,u,f,s
service_notification_commands notify-service-by-email
host_notification_commands notify-host-by-email
email [email protected]
minimum_importance 0
host_notifications_enabled 1
service_notifications_enabled 1
can_submit_commands 1
retain_status_information 1
retain_nonstatus_information 1
}
I looked at the "objects.cache" file and only see one contact (below) that I assumed is using "generic-contact" template. However, I am not sure why you have "notify-service-by-email,notify-service-by-email" list two times.
Code: Select all
define contact {
contact_name Michael Rassu
alias Michael Rassu
service_notification_period 24x7
host_notification_period 24x7
service_notification_options w,u,c,f,s
host_notification_options d,u
service_notification_commands notify-service-by-email,notify-service-by-email
host_notification_commands notify-host-by-email
email [email protected]
minimum_importance 0
host_notifications_enabled 1
service_notifications_enabled 1
can_submit_commands 1
retain_status_information 1
retain_nonstatus_information 1
}
Could you please change the email address of "nagiosadmin" from "nagiosadmin@localhost" to a real email address that has a domain (Example:
[email protected]). I know some mail server will block the email when it see the sender has not "domain" defined.
Now, please test sending email notification on the service that have contact "Michael Rassu" defined.
Th1.png
Best Regards,
Vinh
You do not have the required permissions to view the files attached to this post.