On 10 April 2017 at 19:06, Antony Stone <antony.st...@icinga.open.source.it> wrote:
> On Monday 10 April 2017 at 15:19:46, Jayapandian Ponraj wrote: > > > Hi > > > > Can someone explain the significance of command_endpoint attribute in the > > host object? > > It's the machine which runs the check command to see whether the host is > up. > Ok got it. > > > The command_endpoint in service object says where to executed the check > but > > I can't find a use case for the same attribute in host object. > > You don't want a machine to check itself to see whether it's up (!), so the > standard arrangement is that the parent machine performs the check. > > > As of now am using it like the following: > > > > apply service abc { > > apply where host.command_endpoint > > command_endpoint = host.command_endpoint > > } > > And what do you have host.command_endpoint defined as? > > > It doesn't look good to me - it means either that: > > - you're performing service checks on the parent of the machine you're > checking > > or > > - you're telling endpoint machines to check themselves to see whether > they're > up or not. > > I have a cluster environment, how do i specify that the check be performed from the master zone. i.e. I want any one of the available endpoints in master zone to do the hostalive check, is there a provision for that? > Antony. > > -- > Why is "dylexia" so difficult to spell, and why can I never remember > "aphasia" > when I want to? > > Please reply to the > list; > please *don't* CC > me. > _______________________________________________ > icinga-users mailing list > icinga-users@lists.icinga.org > https://lists.icinga.org/mailman/listinfo/icinga-users >
_______________________________________________ icinga-users mailing list icinga-users@lists.icinga.org https://lists.icinga.org/mailman/listinfo/icinga-users