> On 26 Feb 2016, at 13:21, [email protected] wrote: > > Hi @ll, > > Question to the command_endpoint feature. It is not mentionend in the docs so > maybe one does have experience with that feature. > command_endpoint does work if I delegate from: > MASTER > SATELLITES. > > Does not work: > SATELLITES > MASTER > > Some Background: > We do have a distributed icinga2 setup with a master zone and a few child > zones with one satellite per zone. > We populate the satellites with service or host objects with ansible and do > not use the cluster sync feature for that topic. > Icinga Node communications trough SSL does work flawless. > > On our satellites we do have some checks wich belongs to the zone, but cannot > get executed from the zone, instead it need to be executed on the master. But > we don’t want to put the check in the master’s zone. It would be great if the > service could be delegated from the satellite to be executed on the master. > > This does not work. > > Question: > - Is this a default behavior and known by the developers?
command_endpoint is used by the client mode “command execution bridge” and should be implemented as such (check the relevant documentation chapter). This works merely top-down, that is a master executing a check on the client. This does not work vice-versa and was not designed to behave “bottom up”. There are no plans to change that at the moment. > - Does anybody have some similar setup and could confirm that it works. To be honest I’ve never seen such a requirement in the wild. If you want checks for a specific zone being executed by the master themselves, put that configuration on the master in its zone and let it execute “locally”. Kind regards, Michael > > _______________________________________________ > icinga-users mailing list > [email protected] > https://lists.icinga.org/mailman/listinfo/icinga-users -- Michael Friedrich, DI (FH) Senior Developer NETWAYS GmbH | Deutschherrnstr. 15-19 | D-90429 Nuernberg Tel: +49 911 92885-0 | Fax: +49 911 92885-77 CEO: Julian Hein, Bernd Erk | AG Nuernberg HRB18461 http://www.netways.de | [email protected] ** OSDC 2016 - April - netways.de/osdc ** ** OSBConf 2016 - September - osbconf.org ** _______________________________________________ icinga-users mailing list [email protected] https://lists.icinga.org/mailman/listinfo/icinga-users
