I'm looking to automate a bit more in the vmware discovery process, but I'm kinda stuck on finding the right approach.
What I want to achieve is have a vmware discovery for VM's and depending on tags add different templates.
Some templates have items that need additional setup so I want to use User macro's for that.
The current situation:
The discovery has host prototype. I can add User macro's here, but then would have to add also ones for templates not used on the specific hosts.
Host overrides, managed to get this working based on tags in LLD macros adding the required templates.
The issue(s):
1. Host override condition is based on name so not useful to do it based on different prototypes
2. Host override does not have the option to add User macro's only tags which I cannot seem to use in user macro in the template
Anyone able to offer workaround or suggest a better solution?
Thanks,
John
What I want to achieve is have a vmware discovery for VM's and depending on tags add different templates.
Some templates have items that need additional setup so I want to use User macro's for that.
The current situation:
The discovery has host prototype. I can add User macro's here, but then would have to add also ones for templates not used on the specific hosts.
Host overrides, managed to get this working based on tags in LLD macros adding the required templates.
The issue(s):
1. Host override condition is based on name so not useful to do it based on different prototypes
2. Host override does not have the option to add User macro's only tags which I cannot seem to use in user macro in the template
Anyone able to offer workaround or suggest a better solution?
Thanks,
John
I have not tried this myself
Comment