I have several hosts in a hostgroup, caled CLUSTER1. For another (probably calculated) item I need one host from that group and apply another checks. Something like last(last_foreach(/*/agent.hostname?[group="CLUSTER1"])) or so. My imagine is that simillar formula gives me string(hostname) that i use in another place. Is there some way how to achive this please?
Ad Widget
Collapse
Get one host from group
Collapse
X
-
Thank you, but this is not exactly what i need. I try to explain it in a better way.
I have host group called CLUSTER1. On each hosts of this group I monitor (for ex.) icmpping (or "agent.ping"). My idea is to get (randomly) one host from this group which is available by icmmping (or agent.ping) and then for this one host make another different check, for example perform some "http agent" check.Comment
Comment