Expand array while building object from template?

array
template
(Michael Lorenzen) #1

Hi,

I’ve got quite a few checks of the same type where warning and critical thresholds are configured by arrays. The arrays carry about 10 thresholds for different metrics.

I can build objects/services from my templates, but if I want to change one threshold on the object I have to add all thresholds again. Is there a way to edit just one part of the array in my service, or to expand the array while building a service from the template?

(Aflatto) #2

Hello

Sadly this is not possible in Director before 1.7 IIRC, I have not checked the new functionality of Director 1.7 , So it may present that option.

What you want is possible in config files.