Hello.
Apologies if this is documented somewhere--I can't find anything on the
subject.
I have a host with an array variable which I use to generate a series of
checks. For example:
apply Service "ThreadPoolBusy for " for (client in
host.vars.multitenant_clients) {
// Check how many threads are busy in this client's threadpool
}
What I'd like to do is iterate over /two/ variables and have a Service be
applied for every permutation. The second variable might be an array
["ThreadPoolBusy", "ThreadPoolWaitTime"]
I'm not exactly sure what the syntax for this would look like, but it would
save me lots of lines of config (where the second variable array has n
items in
it).
Any ideas?
Thanks
-Lewis
_______________________________________________
icinga-users mailing list
[email protected]
https://lists.icinga.org/mailman/listinfo/icinga-users