On Fri, Aug 12, 2016 at 11:16 PM, Gunnar Beutner
<[email protected]> wrote:
> How about something like this?:
>
Thanks so much for your code! It helped a lot.
In putting it together, I've come into a couple of questions:
1) why do we need to say "macro" in for (instance in
macro("$ec2_instances$")) ...? Why can't we just say: for (instance in
ec2_instances) ..?
2) why is a variable that is created with "var" only visible inside
the conf file that it appears in? I created a "var elb {}" inside one
conf file (not inside any functions or objects), then I tried to
reference it inside another conf file but was rejected. It works if I
append that second conf file at the end of the first.
_______________________________________________
icinga-users mailing list
[email protected]
https://lists.icinga.org/mailman/listinfo/icinga-users