Hi
I have been searching for a way to dynamic set proxy node in a template.
We have our hosts standard like this: xxx-000-unit (Ex: zxy-001-gw, zxy-001-srv01, zxy-001-pc1 etc and zxy-mainserv)
What i want is automatic add different proxy to nodes with a global template.
So zxy-001-gw is being checked with zxy-mainserv as proxy. And yxz-002-gw with yxz-mainserv as proxy.
And zxy-001-unit1 is being checked with zxy-001-srv01 as proxy. etc..
For now i have created template groups:
BySite->Site xzy-> Mainserv xzy: DCI having static proxy: xzy-mainserv
BySite->Site xzy-> Server xzy: DCI having static proxy: xzy-001-srv01
BySite->Site yxz-> Mainserv yxz: DCI having static proxy: yxz-mainserv ... etc
BySite=Template Group
Site xxx=Template Group
Mainserv xxx=Template 
Server xxx=Template
Im able to set parameter on DCI with "%{node_name}", but not "Proxy Node" with a ScriptLibrary (%{node_name2site_name}) command that transform xzy-001-gw to xzy-mainserv
Hopefully i have descriped it good enough, if not please ask for more info
			
			
			
				Hi!
I understand you idea. Currently it's not possible, proxy node is specified by ID and just copied when template is applied. I've registered it as feature request: https://www.radensolutions.com/chiliproject/issues/444 (https://www.radensolutions.com/chiliproject/issues/444). I have some ideas how it could be implemented, will see what I can do.
Best regards,
Victor
			
			
			
				Thanks Victor!
Looking forward to this  :)
			
			
			
				Is it possible to get a update on what target version this will come?
Merry X-mas!  8)