Just an update. I was able to avoid creating unnecessary service objects by using an "apply" and "assign" instead of the "object" definition.
> for (i in all_clusters) { > object Service "check cluster location throttled" use(i) { <snip> > > It works, but obviously a bunch of unnecessary service checks are > getting created. This kludgey workaround is necessary because I cannot > call "get_host()" *outside* of a Service object, only inside. If I > could call it outside, then only those Service objects that I want > would get created. _______________________________________________ icinga-users mailing list icinga-users@lists.icinga.org https://lists.icinga.org/mailman/listinfo/icinga-users