It looks like “cluster-zone” check is the best way to monitor Icinga agent availability and generate a problem if agent is down (Monitor Icinga agent's availability - #2 by stevie-sy). I have a question regarding “cluster-zone” check and would appreciate some details about it. From the documentation: cluster-zone - this built-in check provides the possibility to check for connectivity between zones.
What does “check for connectivity between zones” mean? Does Icinga check port availability? Does it wait for a specific response from the agent? In other words: does “cluster-zone” check equal to a simple “5665 agent’s port” check? Or it is more “smart”?
I also trying to understand this right now. Is one supposed to place a Service with check_command = "cluster-zone" in the parent zone and set its attribute vars.cluster_zone to the name of the child zone? I cannot get reliable results right now let alone understand the exact semantics of this check.