A little disclaimer first: this is the first time I’m messing around with satellites, so I wouldn’t rule out the possibility that I have configured something wrong.
I’m having an issue where my satellite can’t create its config as soon as there are notifications set up on the master instance. My current setup is one master and one satellite node. The node is located in a separate network from the master. Monitoring hosts within that separated network over the satellite works. However, when there are notifications setup on the master node, the satellite runs into an error when the new configuration is pushed to the satellite.
Output from the icinga2 log form the satellite atfer there is config with an notification (named it TEST) deployed on the master node (tail -f /var/log/icinga2/icinga2.log):
/var/lib/icinga2/api/zones-stage-startup-last-failed.log (repeats for every host that would be under the notification)
(Log that goes beyond the screen, repeats also for every host)
critical/config: Error: Validation failed for object “HOST!TEST” of type ‘Notification’; Attribute ‘command’: Obejct ‘mail-host-notifcation’ of type ‘NotificationCommand’ does not exit
The master node is set up using the director; the satellite, on the other hand is only running icinga2 without anything else.
I have checked on the satellite that the scripts for host and service notification are present under /etc/icinga2/scripts.