Mail notification not working using director

Hi Team,

As part of my testing environment i have created mail notification using director
I have created hosts using director using cmdb

icinga2 --version
icinga2 - The Icinga 2 network monitoring daemon (version: 2.11.2-1)

System information:
Platform: CentOS Linux
Platform version: 7 (Core)
Kernel: Linux
Kernel version: 3.10.0-1062.9.1.el7.x86_64
Architecture: x86_64

Following steps i have done

Created Command

Created user/Groups

Creted Time period templates

created notification templates and notification still mails are not coming

logs also not coming in /var/log/icinga2/

Which steps i missed or wrong
Thanks in Advance


For starters you are using the mail-service-notification script for the Host alerts, there is a host notification script for hosts alerts.

Second thing, Did you define an email for the admin user ? by default it goes to root@localhost so you will not get any emails outside of the node itself.


yes i changed it now

yes i have defined email id for the admin user still emails are not coming

Do you see anything in the mail logs on the server?

Did you test sending an email from the server to yourself to make sure that the underline functionality works ?

It works now thanks
sending email from server was not working