Icinga / icingaweb2-module-director

The Director aims to be your new favourite Icinga config deployment tool. Director is designed for those who want to automate their configuration deployment and those who want to grant their “point & click” users easy access to the configuration.
https://icinga.com/docs/director/latest
GNU General Public License v2.0
413 stars 201 forks source link

Overridden vars differ from view and generated file / Host Override in Template does not work when using service sets #2424

Open moreamazingnick opened 2 years ago

moreamazingnick commented 2 years ago

Steps to Reproduce (for bugs)

ServiceSet is defined with Services serviceset serviceset services

Services have vars set eg user=Lisi service set vars

Template A has serviceset with a service var eg. user = Chris Template A TemplateAServiceset TemplateAServicesetvar

Template B imports A TemplateB

TEmplateBvar

host imports A hostA

Icinga director shows inherited chris but renders lisi as icinga config file rendered

Your Environment

Best Regards Nicolas

moreamazingnick commented 2 years ago

still present in 1.9

moreamazingnick commented 2 years ago

Update: the config files seems correct but the way icinga2 applies the vars does not match the way the director shows the "inherited" text.