Missing NotificationCommand mail-host-notification

Hello @dnsmichi
I think I am stumbling across a similar problem as I have described in my question here:

Problem setting up email notification (mail-host-notification)

I run into the same (?) error:

critical/config: Error: Validation failed for object 'ITSWI02!E-Mails (Hosts)' of type 'Notification'; Attribute 'command': Object 'mail-host-notification' of type 'NotificationCommand' does not exist.

… and after reading this post it seems that I am missing something which has been lost when setting up icingadirector.
Is it sufficient to move my mail-host-notification.sh script from /etc/icinga2/scripts/ to /etc/icinga2/zones.d/master ?

  • Pit